[For next PATCH] boards: defaultenv: Fix nand bootargs for AM335x boards.

Teresa Gámez t.gamez at phytec.de
Fri Oct 31 01:09:10 PDT 2014


Update nand bootargs for phyFLEX-AM335x and phyCORE-AM335x
to support modern kernels.

Signed-off-by: Teresa Gámez <t.gamez at phytec.de>
---
 .../boards/phytec-phycore-am335x/defaultenv-phycore-am335x/boot/nand    | 2 +-
 .../boards/phytec-phyflex-am335x/defaultenv-phyflex-am335x/boot/nand    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/boot/nand b/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/boot/nand
index d9ef145..1dfbef9 100644
--- a/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/boot/nand
+++ b/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/boot/nand
@@ -5,4 +5,4 @@ global.bootm.image="/dev/nand0.kernel.bb"
 
 bootargs-ip
 
-global.linux.bootargs.dyn.root="root=ubi0:root ubi.mtd=nand0.root,2048 rw rootfstype=ubifs"
+global.linux.bootargs.dyn.root="root=ubi0:root ubi.mtd=root rw rootfstype=ubifs"
diff --git a/arch/arm/boards/phytec-phyflex-am335x/defaultenv-phyflex-am335x/boot/nand b/arch/arm/boards/phytec-phyflex-am335x/defaultenv-phyflex-am335x/boot/nand
index d9ef145..1dfbef9 100644
--- a/arch/arm/boards/phytec-phyflex-am335x/defaultenv-phyflex-am335x/boot/nand
+++ b/arch/arm/boards/phytec-phyflex-am335x/defaultenv-phyflex-am335x/boot/nand
@@ -5,4 +5,4 @@ global.bootm.image="/dev/nand0.kernel.bb"
 
 bootargs-ip
 
-global.linux.bootargs.dyn.root="root=ubi0:root ubi.mtd=nand0.root,2048 rw rootfstype=ubifs"
+global.linux.bootargs.dyn.root="root=ubi0:root ubi.mtd=root rw rootfstype=ubifs"
-- 
1.9.1




More information about the barebox mailing list