4e38f6a74a
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 <geomatsi@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
44 lines
777 B
INI
44 lines
777 B
INI
# Minimal SD card image for the OrangePi PC Plus
|
|
#
|
|
image boot.vfat {
|
|
vfat {
|
|
files = {
|
|
"zImage",
|
|
"sun8i-h3-orangepi-pc-plus.dtb",
|
|
"boot.scr"
|
|
}
|
|
}
|
|
|
|
size = 10M
|
|
}
|
|
|
|
image sdcard.img {
|
|
hdimage {
|
|
# for root=PARTLABEL support
|
|
partition-table-type = "gpt"
|
|
# default GPT location conflicts with bootloaders, move it after
|
|
gpt-location = 1M
|
|
}
|
|
|
|
partition u-boot {
|
|
in-partition-table = "no"
|
|
image = "u-boot-sunxi-with-spl.bin"
|
|
offset = 8K
|
|
size = 1016K # 1MB - 8KB
|
|
}
|
|
|
|
partition boot {
|
|
partition-type-uuid = "F"
|
|
bootable = "true"
|
|
image = "boot.vfat"
|
|
}
|
|
|
|
# 'rootfs' will be used as the partition label, used
|
|
# with root=PARTLABEL=rootfs kernel command line
|
|
partition rootfs {
|
|
partition-type-uuid = "L"
|
|
image = "rootfs.ext4"
|
|
size = 512M
|
|
}
|
|
}
|