From: Peter Korsgaard Date: Sat, 2 Jul 2016 11:18:18 +0000 (+0200) Subject: a20_ollinuxino: Accommodate U-Boot environment on SD-card X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1034c11efbc2c6a1c0aa2d5e60db3093e4ad4b0d;p=buildroot.git 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 --- diff --git a/board/olimex/a20_olinuxino/genimage.cfg b/board/olimex/a20_olinuxino/genimage.cfg index 8ea24ccab8..fc2f7f8d76 100644 --- a/board/olimex/a20_olinuxino/genimage.cfg +++ b/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 {