summaryrefslogtreecommitdiff
path: root/board/orangepi
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2016-07-02 13:09:59 +0200
committerPeter Korsgaard <peter@korsgaard.com>2016-07-02 13:19:12 +0200
commit42c882ba21f72dcc9315a926eccc67587630704e (patch)
tree153262c9607380019f147b56726105d7e89eb86e /board/orangepi
parent0ce3963a62df423a939c6f8f9d1f961a71d5d74f (diff)
orangepipc: 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>
Diffstat (limited to 'board/orangepi')
-rw-r--r--board/orangepi/orangepipc/genimage.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/orangepi/orangepipc/genimage.cfg b/board/orangepi/orangepipc/genimage.cfg
index 1200d3b10..932d81cf1 100644
--- a/board/orangepi/orangepipc/genimage.cfg
+++ b/board/orangepi/orangepipc/genimage.cfg
@@ -19,6 +19,7 @@ image sdcard.img {
in-partition-table = "no"
image = "u-boot-sunxi-with-spl.bin"
offset = 8192
+ size = 1040384 # 1MB - 8192
}
partition boot {