[OpenWrt-Devel] [PATCH 1/2] ramips: fix partition offset for D-Link DIR-810L

Adrian Schmutzler freifunk at adrianschmutzler.de
Thu Feb 27 08:46:24 EST 2020


The Jffs2 partition for the D-Link DIR-810L is currently off by
0x10000. Apply the correct offset based on the other partitions'
size/offset and the information about stock OS from the Wiki.

This is just based on the named information and _not_ verified
on device.

Fixes: 36e3424fa520 ("ramips: add support for dir810l and asus rp-n53")

Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 target/linux/ramips/dts/mt7620a_dlink_dir-810l.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ramips/dts/mt7620a_dlink_dir-810l.dts b/target/linux/ramips/dts/mt7620a_dlink_dir-810l.dts
index da8d2238a1..0b1ca26ba4 100644
--- a/target/linux/ramips/dts/mt7620a_dlink_dir-810l.dts
+++ b/target/linux/ramips/dts/mt7620a_dlink_dir-810l.dts
@@ -102,9 +102,9 @@
 				read-only;
 			};
 
-			partition at e0000 {
+			partition at f0000 {
 				label = "Jffs2";
-				reg = <0xe0000 0x80000>;
+				reg = <0xf0000 0x80000>;
 				read-only;
 			};
 
-- 
2.20.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list