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

Yann E. MORIN yann.morin.1998 at free.fr
Sat Dec 18 20:59:52 UTC 2021


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 <daggs at gmx.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
---
 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 {



More information about the buildroot mailing list