50963f8f2f
Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/1865935239 ERROR: hdimage(sdcard.img): part boot: 'partition-type' is only valid for mbr and hybrid partition-table-type So change to partition-type-uuid instead. With that fixed, genimage-15 then also complains about the overlap between the u-boot partition and the GPT: ERROR: hdimage(sdcard.img): partition [GPT array] (offset 0x100000, size 0x4000) overlaps previous partition u-boot (offset 0x2000, size 0x102000) So adjust the u-boot partition to end just before the GPT. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
44 lines
745 B
INI
44 lines
745 B
INI
# Minimal SD card image for the OrangePi R1
|
|
#
|
|
image boot.vfat {
|
|
vfat {
|
|
files = {
|
|
"zImage",
|
|
"sun8i-h2-plus-orangepi-r1.dtb",
|
|
"boot.scr"
|
|
}
|
|
}
|
|
|
|
size = 10M
|
|
}
|
|
|
|
image sdcard.img {
|
|
hdimage {
|
|
# for root=PARTLABEL support
|
|
gpt = true
|
|
# default GPT location conflicts with spl, 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 = "U"
|
|
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
|
|
}
|
|
}
|