Skip to contentSkip to conversation

udoo/neo: Pass the rootfs offset

PATCH New Fabio Estevam 3 participants 3 messages Feb 15, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 udoo/neo: Pass the rootfs offset

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.

---
 board/udoo/neo/genimage.cfg | 1 +
 1 file changed, 1 insertion(+)
board/udoo/neo/genimage.cfg +1 -0
index 1f7edf4..4620912 100644
@@ -26,6 +26,7 @@ image sdcard.img {
   partition rootfs {
     partition-type = 0x83
     image = "rootfs.ext4"
+    offset = 1M
     size = 512M
   }
 }
Signature · 1 line
2.7.4
#2 lore raw

PATCH 1/1 udoo/neo: Pass the rootfs offset

In reply to Fabio Estevam

Hello,

Quoted 10 lines · Fabio Estevam

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.

---
 board/udoo/neo/genimage.cfg | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com