Allow squashfs images for au1000, use the automatic rootfs split
SVN-Revision: 8125
This commit is contained in:
parent
7c175c0d4f
commit
ad00a1f38e
2 changed files with 12 additions and 1 deletions
|
@ -10,7 +10,7 @@ CONFIG_BASE_SMALL=0
|
||||||
CONFIG_BITREVERSE=y
|
CONFIG_BITREVERSE=y
|
||||||
# CONFIG_BROADCOM_PHY is not set
|
# CONFIG_BROADCOM_PHY is not set
|
||||||
CONFIG_CHR_DEV_SG=m
|
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_BIG_ENDIAN is not set
|
||||||
CONFIG_CPU_HAS_LLSC=y
|
CONFIG_CPU_HAS_LLSC=y
|
||||||
CONFIG_CPU_HAS_PREFETCH=y
|
CONFIG_CPU_HAS_PREFETCH=y
|
||||||
|
|
11
target/linux/au1000-2.6/patches/013-openwrt_rootfs.patch
Normal file
11
target/linux/au1000-2.6/patches/013-openwrt_rootfs.patch
Normal file
|
@ -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,
|
||||||
|
},{
|
Loading…
Reference in a new issue