mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-08 02:09:48 +03:00
Switch to extlinux instead of U-Boot boot script. Drop custom boot script and genimage config. Instead use common orangepi files from board/orangepi/common. To help extlinux to find DTB without U-Boot environment changes, do not strip arm64 board specific directory from DTB name when installing it in /boot directory. For this purpose use BR2_KERNEL_DTB_KEEP_DIRNAME config option. Finally, tidy up configuration file adding section names. Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Tested-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Intro
=====
This default configuration will allow you to start experimenting with the
buildroot environment for the Orangepi Zero Plus2. With the current configuration
it will bring-up the board, and allow access through the serial console.
Orangepi Zero Plus2 link:
http://www.orangepi.org/OrangePiZeroPlus2/
Wiki link:
https://openedev.amarulasolutions.com/display/ODWIKI/Orangepi+Zero+Plus2
This configuration uses U-Boot mainline and kernel mainline.
How to build
============
$ make orangepi_zero_plus2_defconfig
$ make
Note: you will need access to the internet to download the required
sources.
How to write the SD card
========================
Once the build process is finished you will have an image called "sdcard.img"
in the output/images/ directory.
Copy the bootable "sdcard.img" onto an SD card with "dd":
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
$ sudo sync
Insert the micro SDcard in your Orangepi Zero Plus2 and power it up. The console
is on the serial line, 115200 8N1.