Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH next] board/friendlyarm/nanopi-neo: fix uboot partition size
@ 2024-08-15 17:28 Dong Wang
  2024-08-15 17:50 ` Yann E. MORIN
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Dong Wang @ 2024-08-15 17:28 UTC (permalink / raw)
  To: buildroot; +Cc: Dong Wang, Thomas Petazzoni

This patch fixes the wrongly calculated uboot partition size in
genimage.cfg. The size should be 1016K, which is
1MB (typical partition start) - 8K(offset dictated by the bootrom).

Signed-off-by: Dong Wang <wangdong115@foxmail.com>
---
 board/friendlyarm/nanopi-neo/genimage.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/friendlyarm/nanopi-neo/genimage.cfg b/board/friendlyarm/nanopi-neo/genimage.cfg
index ec78fd0e56..8d6bdd3295 100644
--- a/board/friendlyarm/nanopi-neo/genimage.cfg
+++ b/board/friendlyarm/nanopi-neo/genimage.cfg
@@ -7,7 +7,7 @@ image sdcard.img {
 		in-partition-table = false
 		image = "u-boot-sunxi-with-spl.bin"
 		offset = 8K
-		size = 1000K # 1MB - 8KB(offset) - 16KB(GPT)
+		size = 1016K # 1MB - 8KB(offset)
 	}
 
 	partition rootfs {
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-08-16 16:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-15 17:28 [Buildroot] [PATCH next] board/friendlyarm/nanopi-neo: fix uboot partition size Dong Wang
2024-08-15 17:50 ` Yann E. MORIN
2024-08-15 17:58   ` Darren Wang
2024-08-15 18:14     ` Yann E. MORIN
2024-08-15 18:19 ` Yann E. MORIN
2024-08-15 18:22   ` Dong Wang
2024-08-15 19:50 ` Thomas Petazzoni via buildroot
2024-08-15 20:00   ` Yann E. MORIN
2024-08-16 16:15     ` Dong Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox