[Buildroot] [git commit] boards/odroidc2: fix genimage execution

From: Yann E. MORIN <hidden>
Date: 2021-12-18 21:00:02
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=223085f671366ee200242f390214e9fef4323211
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 <redacted>
Signed-off-by: Yann E. MORIN <redacted>
---
 board/hardkernel/odroidc2/genimage.cfg | 1 +
 1 file changed, 1 insertion(+)
diff --git a/board/hardkernel/odroidc2/genimage.cfg b/board/hardkernel/odroidc2/genimage.cfg
index c283b514d6..f31867a591 100644
--- a/board/hardkernel/odroidc2/genimage.cfg
+++ b/board/hardkernel/odroidc2/genimage.cfg
@@ -18,6 +18,7 @@ image sdcard.img {
 		in-partition-table = "no"
 		image = "bl1.bin.hardkernel"
 		offset = 0
+		holes = {"(440; 512)"}
 	}
 
 	partition u-boot {
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help