Skip to contentSkip to conversation

board/pine64/pine64: use offset to specify boot partition alignment

PATCH Applied Mattia Narducci 2 participants 2 messages Sep 5, 2024 – Oct 28, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 board/pine64/pine64: use offset to specify boot partition alignment

Use the 'offset' property in genimage.cfg to align the boot partition on 1 MiB boundary. It is clearer than fixing the size of the previous u-boot partition.

---
 board/pine64/pine64/genimage.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/pine64/pine64/genimage.cfg +1 -1
index 3555869036..bd026c33c6 100644
@@ -18,13 +18,13 @@ image sdcard.img {
 		in-partition-table = "no"
 		image = "u-boot-sunxi-with-spl.bin"
 		offset = 8K
-		size = 1016K # 1MB - 8KB
 	}
 
 	partition boot {
 		partition-type = 0xC
 		bootable = "true"
 		image = "boot.vfat"
+		offset = 1M
 	}
 
 	partition rootfs {
Signature · 9 lines
2.45.2




_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 9 lines · On Thu, 05 Sep 2024 22:52:18 +0200 Mattia Narducci <[email protected]>…

Use the 'offset' property in genimage.cfg to align the boot partition on 1 MiB boundary. It is clearer than fixing the size of the previous u-boot partition.

---
 board/pine64/pine64/genimage.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot