Skip to contentSkip to conversation

keystone2: config: update default mtd

PATCH RESEND Superseded Michael Scherban 1 participant 1 message Jun 26, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 keystone2: config: update default mtd

Because of a difference in the ordering of MTDs, the current bootarg is pointing to a MTD without a root filesystem. This updates the default MTD to point to the correct one that contains the filesystem.

---
 include/configs/k2e_evm.h  |    2 +-
 include/configs/k2hk_evm.h |    2 +-
 include/configs/k2l_evm.h  |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
include/configs/k2e_evm.h +1 -1
index d83e07e..69b0254 100644
@@ -20,7 +20,7 @@
 #define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS				\
 	"addr_mon=0x0c140000\0"						\
 	"args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs "	\
-	"root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,2048\0"		\
+	"root=ubi0:rootfs rootflags=sync rw ubi.mtd=4,2048\0"		\
 	"name_fdt=uImage-k2e-evm.dtb\0"					\
 	"name_mon=skern-k2e-evm.bin\0"					\
 	"name_ubi=k2e-evm-ubifs.ubi\0"					\
include/configs/k2hk_evm.h +1 -1
index ffddf13..43c474c 100644
@@ -20,7 +20,7 @@
 #define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS				\
 	"addr_mon=0x0c5f0000\0"						\
 	"args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs "	\
-	"root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,2048\0"		\
+	"root=ubi0:rootfs rootflags=sync rw ubi.mtd=4,2048\0"		\
 	"name_fdt=uImage-k2hk-evm.dtb\0"				\
 	"name_mon=skern-k2hk-evm.bin\0"					\
 	"name_ubi=k2hk-evm-ubifs.ubi\0"					\
include/configs/k2l_evm.h +1 -1
index 805164a..b4f2eec 100644
@@ -20,7 +20,7 @@
 #define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS				\
 	"addr_mon=0x0c140000\0"						\
 	"args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs "	\
-	"root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,4096\0"		\
+	"root=ubi0:rootfs rootflags=sync rw ubi.mtd=4,4096\0"		\
 	"name_fdt=uImage-k2l-evm.dtb\0"					\
 	"name_mon=skern-k2l-evm.bin\0"					\
 	"name_ubi=k2l-evm-ubifs.ubi\0"					\
Signature · 1 line
1.7.0.4