diff mbox

udoo/neo: Pass the rootfs offset

Message ID 1487161656-15772-1-git-send-email-fabio.estevam@nxp.com
State Accepted
Headers show

Commit Message

Fabio Estevam Feb. 15, 2017, 12:27 p.m. UTC
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>
---
 board/udoo/neo/genimage.cfg | 1 +
 1 file changed, 1 insertion(+)

Comments

Breno Matheus Lima Feb. 15, 2017, 1:15 p.m. UTC | #1
Hi Fabio,

2017-02-15 10:27 GMT-02:00 Fabio Estevam <fabio.estevam@nxp.com>:
> 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>

Thanks
Thomas Petazzoni Feb. 15, 2017, 8:29 p.m. UTC | #2
Hello,

On Wed, 15 Feb 2017 10:27:36 -0200, Fabio Estevam wrote:
> 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>
> ---
>  board/udoo/neo/genimage.cfg | 1 +
>  1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas
diff mbox

Patch

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