change mtd partition map, use rootfs_split, and generate a firmware image for the...
[openwrt/staging/chunkeey.git] / target / linux / storm / patches / 007-mtd.patch
index 8e397bc620beafb288d08e95651fc79aeedfc5ae..d6c6d568134f9a39194bfdd33797c1a9d2aadf0d 100644 (file)
 +
 --- /dev/null
 +++ b/drivers/mtd/maps/sl2312_flashmap.h
-@@ -0,0 +1,21 @@
+@@ -0,0 +1,20 @@
 +/*
 + * Please note that the name are used in mkflash script. Therefore
 + * don't change them.  If you want to add different partitions, you
 +static struct mtd_partition sl2312_partitions[] = {
 +      { name: "RedBoot",       offset: 0x00000000, size: 0x00020000, },
 +      { name: "kernel",        offset: 0x00020000, size: 0x00100000, },
-+      { name: "rootfs",        offset: 0x00120000, size: 0x00500000, },
-+      { name: "rootfs_data",   offset: 0x00620000, size: 0x001A0000, },
++      { name: "rootfs",        offset: 0x00120000, size: 0x006A0000, },
 +      { name: "VCTL",          offset: 0x007C0000, size: 0x00010000, },
 +      { name: "cfg",           offset: 0x007D0000, size: 0x00020000, },
 +      { name: "FIS directory", offset: 0x007F0000, size: 0x00010000, }