kumquat-buildroot/board/hardkernel/odroidc2/genimage.cfg
Dagg Stompler 223085f671 boards/odroidc2: fix genimage execution
fix the following error:
ERROR: hdimage(sdcard.img): partition [MBR] (offset 0x1b8, size 0x48) overlaps previous partition bl1 (offset 0x0, size 0xc200)
ERROR: hdimage(sdcard.img): bootloaders, etc. that overlap with the partition table must declare the overlapping area as a hole.

which started at the genimage version bump to 15 commit.

Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/1865935217
Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-12-18 21:59:52 +01:00

41 lines
539 B
INI

image boot.vfat {
vfat {
files = {
"Image",
"meson-gxbb-odroidc2.dtb",
"boot.scr"
}
}
size = 64M
}
image sdcard.img {
hdimage {
}
partition bl1 {
in-partition-table = "no"
image = "bl1.bin.hardkernel"
offset = 0
holes = {"(440; 512)"}
}
partition u-boot {
in-partition-table = "no"
image = "uboot-odc2.img"
offset = 49664 # 48KB + 512B
}
partition boot {
partition-type = 0xC
bootable = "true"
image = "boot.vfat"
}
partition rootfs {
partition-type = 0x83
image = "rootfs.ext4"
}
}