[Buildroot] [git commit] configs/kontron_smarc_sal28: move gpt between rcw and bootloader

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Dec 27 14:43:18 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=5ba36c687b5980848e3a7209d7c4ad26713a9c9e
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

genimage v15 complains about the GPT overlapping with the RCW. Move it
to offset 16k which is between the rcw (which isn't expected to grow
much more) and the bootloader.

This will fix the following error:
ERROR: hdimage(sdcard-emmc.img): partition [GPT array] (offset 0x400, size 0x4000) overlaps previous partition rcw (offset 0x1000, size 0x580)
ERROR: hdimage(sdcard-emmc.img): bootloaders, etc. that overlap with the partition table must declare the overlapping area as a hole.

Signed-off-by: Michael Walle <michael at walle.cc>
Reviewed-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 board/kontron/smarc-sal28/genimage.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/kontron/smarc-sal28/genimage.cfg b/board/kontron/smarc-sal28/genimage.cfg
index 0ad020b347..c885cd51a6 100644
--- a/board/kontron/smarc-sal28/genimage.cfg
+++ b/board/kontron/smarc-sal28/genimage.cfg
@@ -1,6 +1,7 @@
 image sdcard-emmc.img {
 	hdimage {
 		partition-table-type = "gpt"
+		gpt-location = 16K
 	}
 
 	partition rcw {



More information about the buildroot mailing list