All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] board/udoo/neo: specify an offset for the rootfs partition
@ 2017-02-15 20:28 Thomas Petazzoni
  0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2017-02-15 20:28 UTC (permalink / raw)
  To: buildroot

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@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 | 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
   }
 }

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-15 20:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-15 20:28 [Buildroot] [git commit] board/udoo/neo: specify an offset for the rootfs partition Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.