kumquat-buildroot/board/orangepi/orangepi-zero-plus2
Sergey Matyukevich 0f72e01e05 board/orangepi/orangepi-zero-plus2: fix build after genimage update
ERROR: hdimage(sdcard.img): part boot: 'partition-type' is only valid for mbr and hybrid partition-table-type

To fix the first genimage error report, change 'partition-type' entries
to the appropriate 'partition-type-uuid'. Then genimage starts to
complain about overlaps:

ERROR: hdimage(sdcard.img): partition [GPT array] (offset 0x100000, size 0x4000) overlaps previous partition u-boot (offset 0x2000, size 0x102000)
ERROR: hdimage(sdcard.img): bootloaders, etc. that overlap with the partition table must declare the overlapping area as a hole.

To fix the second genimage error report, update the size of bootloader
file. Do not reserve additional space for GPT partition table since
new genimage is able to keep track of it.

Fixes:

  https://gitlab.com/buildroot.org/buildroot/-/jobs/2021478371

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-02-06 11:46:07 +01:00
..
rootfs_overlay/lib/firmware/brcm
boot.cmd
genimage.cfg board/orangepi/orangepi-zero-plus2: fix build after genimage update 2022-02-06 11:46:07 +01:00
linux-extras.config
readme.txt

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.