summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Schultz <d.schultz@phytec.de>2017-11-17 15:11:07 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-11-21 08:16:28 +0100
commit16a2a96b67103b844ee3ce507fd0fd310289becf (patch)
treed919c169f59e870414c031acd6d558a24044b7e6
parent3f2df4e92a8b68760e8e4f3c481cce88bd0bd082 (diff)
downloadbarebox-16a2a96b67103b844ee3ce507fd0fd310289becf.tar.gz
barebox-16a2a96b67103b844ee3ce507fd0fd310289becf.tar.xz
ARM: boards: phytec-som-am335x: Fix SPI boot script
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> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/boards/phytec-som-am335x/defaultenv-physom-am335x/boot/spi2
1 files changed, 1 insertions, 1 deletions
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 a321aa986f..611bc24ce1 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"