Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] wandboard: genimage: Pass an offset for the rootfs
@ 2017-09-21 13:59 Fabio Estevam
  2017-09-21 13:59 ` [Buildroot] [PATCH 2/2] configs/wandboard: Bump U-Boot and kernel versions Fabio Estevam
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Fabio Estevam @ 2017-09-21 13:59 UTC (permalink / raw)
  To: buildroot

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>
---
 board/wandboard/genimage.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/wandboard/genimage.cfg b/board/wandboard/genimage.cfg
index b23a91b..ad4a6a5 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
   }
 }
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-10-16 22:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-21 13:59 [Buildroot] [PATCH 1/2] wandboard: genimage: Pass an offset for the rootfs Fabio Estevam
2017-09-21 13:59 ` [Buildroot] [PATCH 2/2] configs/wandboard: Bump U-Boot and kernel versions Fabio Estevam
2017-09-26 22:05 ` [Buildroot] [PATCH 1/2] wandboard: genimage: Pass an offset for the rootfs Arnout Vandecappelle
2017-09-29  7:45 ` Peter Korsgaard
2017-10-16 22:03 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox