[Buildroot] [git commit] board/udoo/neo: specify an offset for the rootfs partition

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Feb 15 20:28:48 UTC 2017


commit: https://git.buildroot.net/buildroot/commit/?id=0692d7facb0f28686b5366ac40fce48cee1d91a1
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 at nxp.com>
Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
Tested-by: Breno Lima <breno.lima at nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 board/udoo/neo/genimage.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/udoo/neo/genimage.cfg b/board/udoo/neo/genimage.cfg
index 1f7edf4..4620912 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
   }
 }


More information about the buildroot mailing list