summaryrefslogtreecommitdiff
path: root/target/linux/storm/patches/007-mtd.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-10-13 17:28:47 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-10-13 17:28:47 +0000
commit46d856ac86d3dd78d4d88cac9909ea773b3f1901 (patch)
treea78f2cdf35078cf628bddb4f5210610d68438496 /target/linux/storm/patches/007-mtd.patch
parenta1f36eaa949e95dde2538f2514d79db548ce7f29 (diff)
downloadmtk-20170518-46d856ac86d3dd78d4d88cac9909ea773b3f1901.zip
mtk-20170518-46d856ac86d3dd78d4d88cac9909ea773b3f1901.tar.gz
mtk-20170518-46d856ac86d3dd78d4d88cac9909ea773b3f1901.tar.bz2
change mtd partition map, use rootfs_split, and generate a firmware image for the WBD-111
SVN-Revision: 12976
Diffstat (limited to 'target/linux/storm/patches/007-mtd.patch')
-rw-r--r--target/linux/storm/patches/007-mtd.patch5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/storm/patches/007-mtd.patch b/target/linux/storm/patches/007-mtd.patch
index 8e397bc..d6c6d56 100644
--- a/target/linux/storm/patches/007-mtd.patch
+++ b/target/linux/storm/patches/007-mtd.patch
@@ -1943,7 +1943,7 @@
+
--- /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
@@ -1959,8 +1959,7 @@
+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, }