From 6b7a525a725a78ff961d91a76e4ea9fbb7066178 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Thu, 27 Feb 2020 14:46:24 +0100 Subject: [PATCH] ramips: fix partition offset for D-Link DIR-810L 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 Tested-by: Roger Pueyo Centelles --- 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@e0000 { + partition@f0000 { label = "Jffs2"; - reg = <0xe0000 0x80000>; + reg = <0xf0000 0x80000>; read-only; }; -- 2.30.2