From 1acb0e5fec2a1d953cbbeb1f9aaeaac3ce65e9c8 Mon Sep 17 00:00:00 2001 From: Mattia Narducci Date: Thu, 5 Sep 2024 22:52:18 +0200 Subject: [PATCH] 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. Suggested-by: Thomas Petazzoni Signed-off-by: Mattia Narducci Signed-off-by: Thomas Petazzoni --- board/pine64/pine64/genimage.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/pine64/pine64/genimage.cfg b/board/pine64/pine64/genimage.cfg index 3555869036..bd026c33c6 100644 --- a/board/pine64/pine64/genimage.cfg +++ b/board/pine64/pine64/genimage.cfg @@ -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 {