]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
board/udoo/neo: specify an offset for the rootfs partition
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 15 Feb 2017 12:27:36 +0000 (10:27 -0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 15 Feb 2017 20:28:48 +0000 (21:28 +0100)
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>
board/udoo/neo/genimage.cfg

index 1f7edf4aa37ed18a0662d63191935c4fcbe98776..46209120f0b0a1b4b4c59c9a3b8b28302483cd47 100644 (file)
@@ -26,6 +26,7 @@ image sdcard.img {
   partition rootfs {
     partition-type = 0x83
     image = "rootfs.ext4"
+    offset = 1M
     size = 512M
   }
 }