mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
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
This commit is contained in:
32
target/linux/lantiq/patches-2.6.32/0014-fix_mtd.patch
Normal file
32
target/linux/lantiq/patches-2.6.32/0014-fix_mtd.patch
Normal file
@@ -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,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
32
target/linux/lantiq/patches-2.6.39/0014-fix_mtd.patch
Normal file
32
target/linux/lantiq/patches-2.6.39/0014-fix_mtd.patch
Normal file
@@ -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,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
Reference in New Issue
Block a user