Pārlūkot izejas kodu

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>
Dagg Stompler 3 gadi atpakaļ
vecāks
revīzija
223085f671
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      board/hardkernel/odroidc2/genimage.cfg

+ 1 - 0
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 {