Skip to contentSkip to conversation

boards/odroidc2: fix genimage execution

PATCH Applied Dagg Stompler 2 participants 2 messages Dec 18, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 board/hardkernel/odroidc2/genimage.cfg | 1 +
 1 file changed, 1 insertion(+)
board/hardkernel/odroidc2/genimage.cfg +1 -0
index c283b514d6..f31867a591 100644
@@ -18,6 +18,7 @@ image sdcard.img {
 		in-partition-table = "no"
 		image = "bl1.bin.hardkernel"
 		offset = 0
+		holes = {"(440; 512)"}
 	}
 
 	partition u-boot {

--
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#1 lore raw

Dag, All,

On 2021-12-18 22:20 +0200, Dagg Stompler spake thusly:

Quoted 8 lines

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.

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 23 lines
---
 board/hardkernel/odroidc2/genimage.cfg | 1 +
 1 file changed, 1 insertion(+)
board/hardkernel/odroidc2/genimage.cfg +1 -1
index c283b514d6..f31867a591 100644
@@ -18,6 +18,7 @@ image sdcard.img {
 		in-partition-table = "no"
 		image = "bl1.bin.hardkernel"
 		offset = 0
+		holes = {"(440; 512)"}
 	}
 
 	partition u-boot {
--

2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot