From 763f7805536b75abd384f5d2b4970a13f57ebe18 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 29 Nov 2012 21:42:53 +0000 Subject: [PATCH] use a default kernel command-line to mount squashfs and jffs2 This fixes bug #9055. Signed-off-by: Florian Fainelli SVN-Revision: 34424 --- target/linux/ar7/config-3.3 | 3 +++ target/linux/ar7/config-3.6 | 3 +++ 2 files changed, 6 insertions(+) diff --git a/target/linux/ar7/config-3.3 b/target/linux/ar7/config-3.3 index e2b34adce9..7646ba1458 100644 --- a/target/linux/ar7/config-3.3 +++ b/target/linux/ar7/config-3.3 @@ -10,6 +10,9 @@ CONFIG_ARCH_SUSPEND_POSSIBLE=y CONFIG_BOOT_ELF32=y CONFIG_CEVT_R4K=y CONFIG_CEVT_R4K_LIB=y +CONFIG_CMDLINE="rootfstype=squashfs,jffs2" +CONFIG_CMDLINE_BOOL=y +# CONFIG_CMDLINE_OVERRIDE is not set CONFIG_CPMAC=y CONFIG_CPU_HAS_PREFETCH=y CONFIG_CPU_HAS_SYNC=y diff --git a/target/linux/ar7/config-3.6 b/target/linux/ar7/config-3.6 index 1fea93a59e..e296a75c6a 100644 --- a/target/linux/ar7/config-3.6 +++ b/target/linux/ar7/config-3.6 @@ -13,6 +13,9 @@ CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y CONFIG_BOOT_ELF32=y CONFIG_CEVT_R4K=y CONFIG_CEVT_R4K_LIB=y +CONFIG_CMDLINE="rootfstype=squashfs,jffs2" +CONFIG_CMDLINE_BOOL=y +# CONFIG_CMDLINE_OVERRIDE is not set CONFIG_CPMAC=y CONFIG_CPU_HAS_PREFETCH=y CONFIG_CPU_HAS_SYNC=y