* [Buildroot] [PATCH] udoo/neo: Pass the rootfs offset
@ 2017-02-15 12:27 Fabio Estevam
2017-02-15 13:15 ` Breno Matheus Lima
2017-02-15 20:29 ` Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2017-02-15 12:27 UTC (permalink / raw)
To: buildroot
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(+)
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
}
}
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] udoo/neo: Pass the rootfs offset
2017-02-15 12:27 [Buildroot] [PATCH] udoo/neo: Pass the rootfs offset Fabio Estevam
@ 2017-02-15 13:15 ` Breno Matheus Lima
2017-02-15 20:29 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Breno Matheus Lima @ 2017-02-15 13:15 UTC (permalink / raw)
To: buildroot
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
--
Breno Matheus Lima
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] udoo/neo: Pass the rootfs offset
2017-02-15 12:27 [Buildroot] [PATCH] udoo/neo: Pass the rootfs offset Fabio Estevam
2017-02-15 13:15 ` Breno Matheus Lima
@ 2017-02-15 20:29 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2017-02-15 20:29 UTC (permalink / raw)
To: buildroot
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
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-02-15 20:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-15 12:27 [Buildroot] [PATCH] udoo/neo: Pass the rootfs offset Fabio Estevam
2017-02-15 13:15 ` Breno Matheus Lima
2017-02-15 20:29 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox