aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2011-07-06 10:36:56 +0000
committerJohn Crispin <blogic@openwrt.org>2011-07-06 10:36:56 +0000
commit4a1a84515619d2ad1c5ed3dc81bc2495f0dc0782 (patch)
tree65289dc6690fe89e42002a9614575c65a935df5f /target
parentfd916d517fd215956e28135a2e3288e9383334c0 (diff)
downloadupstream-4a1a84515619d2ad1c5ed3dc81bc2495f0dc0782.tar.gz
upstream-4a1a84515619d2ad1c5ed3dc81bc2495f0dc0782.tar.bz2
upstream-4a1a84515619d2ad1c5ed3dc81bc2495f0dc0782.zip
fixes mtd maps for lantiq easy50712 and easy50601 evalkit. without this patch mini_fo/jffs caused the uboot to be overwritten on firstboot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27489 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/lantiq/patches-2.6.32/0014-fix_mtd.patch32
-rw-r--r--target/linux/lantiq/patches-2.6.39/0014-fix_mtd.patch32
2 files changed, 64 insertions, 0 deletions
diff --git a/target/linux/lantiq/patches-2.6.32/0014-fix_mtd.patch b/target/linux/lantiq/patches-2.6.32/0014-fix_mtd.patch
new file mode 100644
index 0000000000..051ba86cf4
--- /dev/null
+++ b/target/linux/lantiq/patches-2.6.32/0014-fix_mtd.patch
@@ -0,0 +1,32 @@
+--- a/arch/mips/lantiq/xway/mach-easy50601.c
++++ b/arch/mips/lantiq/xway/mach-easy50601.c
+@@ -32,12 +32,7 @@
+ {
+ .name = "linux",
+ .offset = 0x20000,
+- .size = 0xE0000,
+- },
+- {
+- .name = "rootfs",
+- .offset = 0x100000,
+- .size = 0x300000,
++ .size = 0x3d0000,
+ },
+ };
+
+--- a/arch/mips/lantiq/xway/mach-easy50712.c
++++ b/arch/mips/lantiq/xway/mach-easy50712.c
+@@ -34,12 +34,7 @@
+ {
+ .name = "linux",
+ .offset = 0x20000,
+- .size = 0xe0000,
+- },
+- {
+- .name = "rootfs",
+- .offset = 0x100000,
+- .size = 0x300000,
++ .size = 0x3d0000,
+ },
+ };
+
diff --git a/target/linux/lantiq/patches-2.6.39/0014-fix_mtd.patch b/target/linux/lantiq/patches-2.6.39/0014-fix_mtd.patch
new file mode 100644
index 0000000000..051ba86cf4
--- /dev/null
+++ b/target/linux/lantiq/patches-2.6.39/0014-fix_mtd.patch
@@ -0,0 +1,32 @@
+--- a/arch/mips/lantiq/xway/mach-easy50601.c
++++ b/arch/mips/lantiq/xway/mach-easy50601.c
+@@ -32,12 +32,7 @@
+ {
+ .name = "linux",
+ .offset = 0x20000,
+- .size = 0xE0000,
+- },
+- {
+- .name = "rootfs",
+- .offset = 0x100000,
+- .size = 0x300000,
++ .size = 0x3d0000,
+ },
+ };
+
+--- a/arch/mips/lantiq/xway/mach-easy50712.c
++++ b/arch/mips/lantiq/xway/mach-easy50712.c
+@@ -34,12 +34,7 @@
+ {
+ .name = "linux",
+ .offset = 0x20000,
+- .size = 0xe0000,
+- },
+- {
+- .name = "rootfs",
+- .offset = 0x100000,
+- .size = 0x300000,
++ .size = 0x3d0000,
+ },
+ };
+