wandboard: genimage: Pass an offset for the rootfs
authorFabio Estevam <fabio.estevam@nxp.com>
Thu, 21 Sep 2017 13:59:38 +0000 (10:59 -0300)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 26 Sep 2017 21:52:15 +0000 (23:52 +0200)
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>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
board/wandboard/genimage.cfg

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