From bc0eab7d1d4889200c7ebc6b3b7141d0b791ad91 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sat, 2 Jul 2016 13:17:07 +0200 Subject: [PATCH] pcduino: 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 --- board/linksprite/pcduino/genimage.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/board/linksprite/pcduino/genimage.cfg b/board/linksprite/pcduino/genimage.cfg index 0ff043415c..9cbc383d44 100644 --- a/board/linksprite/pcduino/genimage.cfg +++ b/board/linksprite/pcduino/genimage.cfg @@ -25,6 +25,7 @@ image sdcard.img { in-partition-table = "no" image = "u-boot-sunxi-with-spl.bin" offset = 8192 + size = 1040384 # 1MB - 8192 } partition boot { -- 2.30.2