aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorGravatar Fabio Estevam <fabio.estevam@nxp.com>2017-09-21 10:59:38 -0300
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-09-26 23:52:15 +0200
commit82c1445fc473cf422a1283283acfa46f0df6cd84 (patch)
tree90735e2962c19d124ed7af9cefe8903b6b0fb35d /board
parent9d5b5b7bfb1d8cd3c12067650a8d2bf1c877a422 (diff)
downloadbuildroot-82c1445fc473cf422a1283283acfa46f0df6cd84.tar.gz
buildroot-82c1445fc473cf422a1283283acfa46f0df6cd84.tar.bz2
wandboard: genimage: Pass an offset for the rootfs
Pass an offset of 1MB for the start of the rootfs. Otherwise we get rootfs corruption when the bootloader is manually written to the SD card. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'board')
-rw-r--r--board/wandboard/genimage.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/wandboard/genimage.cfg b/board/wandboard/genimage.cfg
index b23a91b0b8..ad4a6a55d5 100644
--- a/board/wandboard/genimage.cfg
+++ b/board/wandboard/genimage.cfg
@@ -26,6 +26,7 @@ image sdcard.img {
partition rootfs {
partition-type = 0x83
image = "rootfs.ext4"
+ offset = 1M
size = 512M
}
}