Jelajahi Sumber

board/friendlyarm/nanopi-neo: fix uboot partition size

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>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Dong Wang 11 bulan lalu
induk
melakukan
62041c3386
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      board/friendlyarm/nanopi-neo/genimage.cfg

+ 1 - 1
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 {