[OpenWrt-Devel] [PATCH 3/7] kirkwood/goflexnet/goflexhome: change mtd layout to use the last 3 mb

Alexander Couzens lynxis at fe80.eu
Mon Mar 7 15:02:52 EST 2016


Previous the uboot was overwriting the device-tree's mtd layout to use
the last 3 mb.

Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
---
 target/linux/kirkwood/patches-3.18/180-goflexhome.patch | 2 +-
 target/linux/kirkwood/patches-3.18/181-goflexnet.patch  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/kirkwood/patches-3.18/180-goflexhome.patch b/target/linux/kirkwood/patches-3.18/180-goflexhome.patch
index e30a8b1..95e67b9 100644
--- a/target/linux/kirkwood/patches-3.18/180-goflexhome.patch
+++ b/target/linux/kirkwood/patches-3.18/180-goflexhome.patch
@@ -114,7 +114,7 @@ Index: linux-3.18.27/arch/arm/boot/dts/kirkwood-goflexhome.dts
 +
 +	partition at 100000 {
 +		label = "ubi";
-+		reg = <0x100000 0xfc00000>;
++		reg = <0x100000 0x0ff00000>;
 +	};
 +};
 +
diff --git a/target/linux/kirkwood/patches-3.18/181-goflexnet.patch b/target/linux/kirkwood/patches-3.18/181-goflexnet.patch
index 9fe62d1..fc19e39 100644
--- a/target/linux/kirkwood/patches-3.18/181-goflexnet.patch
+++ b/target/linux/kirkwood/patches-3.18/181-goflexnet.patch
@@ -19,7 +19,7 @@ Index: linux-4.4.4/arch/arm/boot/dts/kirkwood-goflexnet.dts
 -		label = "root";
 -		reg = <0x02500000 0xd800000>;
 +		label = "ubi";
-+		reg = <0x0100000 0xfc00000>;
++		reg = <0x0100000 0x0ff00000>;
  	};
  };
  
-- 
2.7.2
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list