[PATCH] ramips: fix partition layout of xiaomi mi router 4a 100mbit
Alexander Couzens
lynxis at fe80.eu
Fri Jan 8 07:42:46 EST 2021
The partition layout doesn't match the partition layout read out by OEM
version. It's unclear to me if different firmware version have different
partition layouts.
---
target/linux/ramips/dts/mt7628an_xiaomi_mi-router-4a-100m.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/linux/ramips/dts/mt7628an_xiaomi_mi-router-4a-100m.dts b/target/linux/ramips/dts/mt7628an_xiaomi_mi-router-4a-100m.dts
index 37797fc368cb..ea7e99d0b3fc 100644
--- a/target/linux/ramips/dts/mt7628an_xiaomi_mi-router-4a-100m.dts
+++ b/target/linux/ramips/dts/mt7628an_xiaomi_mi-router-4a-100m.dts
@@ -10,13 +10,13 @@
&partitions {
partition at 60000 {
label = "overlay";
- reg = <0x60000 0x100000>;
+ reg = <0x60000 0x200000>;
read-only;
};
partition at 160000 {
label = "firmware";
- reg = <0x160000 0xea0000>;
+ reg = <0x260000 0xda0000>;
compatible = "denx,uimage";
};
};
--
2.29.2
More information about the openwrt-devel
mailing list