summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/orion/patches/100-openwrt_partition_map.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/orion/patches/100-openwrt_partition_map.patch b/target/linux/orion/patches/100-openwrt_partition_map.patch
new file mode 100644
index 000000000..95bbeb38f
--- /dev/null
+++ b/target/linux/orion/patches/100-openwrt_partition_map.patch
@@ -0,0 +1,25 @@
+--- a/arch/arm/mach-orion5x/wrt350n-v2-setup.c
++++ b/arch/arm/mach-orion5x/wrt350n-v2-setup.c
+@@ -32,19 +32,11 @@
+ {
+ .name = "kernel",
+ .offset = 0x00000000,
+- .size = 0x00760000,
++ .size = 0x00100000,
+ }, {
+ .name = "rootfs",
+- .offset = 0x001a0000,
+- .size = 0x005c0000,
+- }, {
+- .name = "lang",
+- .offset = 0x00760000,
+- .size = 0x00040000,
+- }, {
+- .name = "nvram",
+- .offset = 0x007a0000,
+- .size = 0x00020000,
++ .offset = 0x00100000,
++ .size = 0x006c0000,
+ }, {
+ .name = "u-boot",
+ .offset = 0x007c0000,