mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: boards: phytec-som-am335x: Fix SPI boot script
@ 2017-11-17 14:11 Daniel Schultz
  2017-11-21  7:16 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Schultz @ 2017-11-17 14:11 UTC (permalink / raw)
  To: barebox

Because our SPI NOR flashes are too small, we require a root filesystem
in a NAND media. The kernel bootargs has a wrong parameter and lead to:

    VFS: Cannot open root device "ubi0:root" or unknown-block(0,0):

Changed 'ubi.mtd=nand0.root' to 'ubi.mtd=root'.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
---
 arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/spi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/spi b/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/spi
index a321aa9..611bc24 100644
--- a/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/spi
+++ b/arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/spi
@@ -4,4 +4,4 @@ global.bootm.image="/dev/m25p0.kernel"
 global.bootm.oftree="/dev/m25p0.oftree"
 
 # Use rootfs from NAND
-global.linux.bootargs.dyn.root="root=ubi0:root ubi.mtd=nand0.root rootfstype=ubifs"
+global.linux.bootargs.dyn.root="root=ubi0:root ubi.mtd=root rootfstype=ubifs"
-- 
2.7.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2017-11-21  7:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-17 14:11 [PATCH] ARM: boards: phytec-som-am335x: Fix SPI boot script Daniel Schultz
2017-11-21  7:16 ` Sascha Hauer

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