浏览代码

a20_ollinuxino: Accommodate U-Boot environment on SD-card

As described by http://linux-sunxi.org/Bootable_SD_card#SD_Card_Layout

The space betweem 544KB..1MB is reserved / used for the u-boot environment,
so mark it as such to make sure genimage doesn't put other partitions here.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard 8 年之前
父节点
当前提交
1034c11efb
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      board/olimex/a20_olinuxino/genimage.cfg

+ 1 - 0
board/olimex/a20_olinuxino/genimage.cfg

@@ -6,6 +6,7 @@ image sdcard.img {
 		in-partition-table = "no"
 		image = "u-boot-sunxi-with-spl.bin"
 		offset = 8192
+		size = 1040384 # 1MB - 8192
 	}
 
 	partition rootfs {