aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-07-23 12:12:14 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-07-23 12:12:14 +0000
commit41d976b19a83aba9a6e431967e81b18f580da55c (patch)
tree0b99ef6028f6aff40a3021b873cf803703a5688f
parent30bfbedd0a3d91a9d4b325bd20ae57c538db8231 (diff)
downloadmaster-187ad058-41d976b19a83aba9a6e431967e81b18f580da55c.tar.gz
master-187ad058-41d976b19a83aba9a6e431967e81b18f580da55c.tar.bz2
master-187ad058-41d976b19a83aba9a6e431967e81b18f580da55c.zip
Allow squashfs images for au1000, use the automatic rootfs split
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8125 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/au1000-2.6/config/default2
-rw-r--r--target/linux/au1000-2.6/patches/013-openwrt_rootfs.patch11
2 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/au1000-2.6/config/default b/target/linux/au1000-2.6/config/default
index 91118e5f3e..e19792809f 100644
--- a/target/linux/au1000-2.6/config/default
+++ b/target/linux/au1000-2.6/config/default
@@ -10,7 +10,7 @@ CONFIG_BASE_SMALL=0
CONFIG_BITREVERSE=y
# CONFIG_BROADCOM_PHY is not set
CONFIG_CHR_DEV_SG=m
-CONFIG_CMDLINE="root=/dev/mtdblock0 rootfstype=jffs2 init=/etc/preinit"
+CONFIG_CMDLINE="root=/dev/mtdblock0 rootfstype=squashfs,jffs2 init=/etc/preinit"
# CONFIG_CPU_BIG_ENDIAN is not set
CONFIG_CPU_HAS_LLSC=y
CONFIG_CPU_HAS_PREFETCH=y
diff --git a/target/linux/au1000-2.6/patches/013-openwrt_rootfs.patch b/target/linux/au1000-2.6/patches/013-openwrt_rootfs.patch
new file mode 100644
index 0000000000..7793161af8
--- /dev/null
+++ b/target/linux/au1000-2.6/patches/013-openwrt_rootfs.patch
@@ -0,0 +1,11 @@
+--- linux-2.6.19.2/drivers/mtd/maps/mtx-1_flash.c 2007-07-10 20:56:30.000000000 +0200
++++ linux-2.6.19.2.new/drivers/mtd/maps/mtx-1_flash.c 2007-07-23 12:21:16.000000000 +0200
+@@ -28,7 +28,7 @@
+
+ static struct mtd_partition mtx1_partitions[] = {
+ {
+- .name = "filesystem",
++ .name = "rootfs",
+ .size = 0x01C00000,
+ .offset = 0,
+ },{