]> Git Repo - buildroot-mgba.git/commit
board/orangepi/orangepi-zero-plus2: fix build after genimage update
authorSergey Matyukevich <[email protected]>
Mon, 31 Jan 2022 21:24:55 +0000 (00:24 +0300)
committerThomas Petazzoni <[email protected]>
Sun, 6 Feb 2022 10:46:07 +0000 (11:46 +0100)
commit0f72e01e055f79e84e876dd01c03f29abdbd531b
tree3dd8d41a459571cb9999a9e6da82c38b92beffa4
parent755116460b8de88cb833ab4bf37649a7fb26728d
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 <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
board/orangepi/orangepi-zero-plus2/genimage.cfg
This page took 0.032502 seconds and 4 git commands to generate.