aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-07-25 16:01:58 +0000
committerJohn Crispin <blogic@openwrt.org>2013-07-25 16:01:58 +0000
commite163b895a20c021cfb49f0b0f3384515c0ab04e8 (patch)
tree6623eabd49ddbb3047ae2874b58ce493b9aeaac0 /target/linux/ramips/dts
parent59e96aafb3b08bc4e3229b0f3a904c53806d0bcb (diff)
downloadupstream-e163b895a20c021cfb49f0b0f3384515c0ab04e8.tar.gz
upstream-e163b895a20c021cfb49f0b0f3384515c0ab04e8.tar.bz2
upstream-e163b895a20c021cfb49f0b0f3384515c0ab04e8.zip
ramips: important patch for HG255D
r37505 add support for Huawei HG255D, but it only tested under a community hacked u-boot ("lintel u-boot"), which has a different mtd layout compared to origin one. If you install it on a box with origin u-boot, the origin factory part will be destroyed, and your wifi interface will never up!!! This patch shrink firmware part in mtd layout to exclude origin factory part, and I will prepare another patch to fix the eeprom extract issue for box with origin u-boot. Signed-off-by: Leon Xu <ylxu72@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37530 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/HG255D.dts8
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/HG255D.dts b/target/linux/ramips/dts/HG255D.dts
index 695969038d..7ecb4f36df 100644
--- a/target/linux/ramips/dts/HG255D.dts
+++ b/target/linux/ramips/dts/HG255D.dts
@@ -47,7 +47,13 @@
partition@80000 {
label = "firmware";
- reg = <0x80000 0xf80000>;
+ reg = <0x80000 0xf60000>;
+ };
+
+ partition@fa0000 {
+ label = "factory-orig";
+ reg = <0xfa0000 0x20000>;
+ read-only;
};
};