]> Git Repo - buildroot-mgba.git/commit
board/orangepi/orangepi-pc-plus: fix build after genimage update
authorSergey Matyukevich <[email protected]>
Mon, 27 Dec 2021 17:34:30 +0000 (20:34 +0300)
committerThomas Petazzoni <[email protected]>
Mon, 27 Dec 2021 20:05:44 +0000 (21:05 +0100)
commit4e38f6a74ab17575c84b2243ac01d6774873493b
tree33ed3ff8050c41a37512b34bb78bd1cb0d7f8ab0
parenta58f2ad0439956219fb7b0d48365901e4a7e77e2
board/orangepi/orangepi-pc-plus: 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/1915006300

Signed-off-by: Sergey Matyukevich <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
board/orangepi/orangepi-pc-plus/genimage.cfg
This page took 0.039389 seconds and 4 git commands to generate.