summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-02-15 10:27:36 -0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-02-15 21:28:48 +0100
commit0692d7facb0f28686b5366ac40fce48cee1d91a1 (patch)
tree0b9c9c3c5fe2015d67095ba2a6c170c7d9b1a23d
parentcd2826c183c5d4ce356aabd319e49cfab9bba889 (diff)
board/udoo/neo: specify an offset for the rootfs partition
When manually writing SPL and u-boot.img to the SD card the rootfs gets corrupted. Fix this issue by passing a 1MB offset for the rootfs. Reported-by: Breno Lima <breno.lima@nxp.com> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Tested-by: Breno Lima <breno.lima@nxp.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--board/udoo/neo/genimage.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/udoo/neo/genimage.cfg b/board/udoo/neo/genimage.cfg
index 1f7edf4aa..46209120f 100644
--- a/board/udoo/neo/genimage.cfg
+++ b/board/udoo/neo/genimage.cfg
@@ -26,6 +26,7 @@ image sdcard.img {
partition rootfs {
partition-type = 0x83
image = "rootfs.ext4"
+ offset = 1M
size = 512M
}
}