aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620a_dlink_dwr-118-a2.dts
diff options
context:
space:
mode:
authorPawel Dembicki <paweldembicki@gmail.com>2021-06-10 17:17:23 +0200
committerPaul Spooren <mail@aparcar.org>2021-12-13 19:36:10 +0100
commit794e8123ce625d04f8207ba5fd3b153051b2e67e (patch)
tree7d668a85bdf96f7bf1079488c19f913f3effc338 /target/linux/ramips/dts/mt7620a_dlink_dwr-118-a2.dts
parent3bcf3e8143160e447c22c0ac3fa66fbcf6a59eef (diff)
downloadupstream-794e8123ce625d04f8207ba5fd3b153051b2e67e.tar.gz
upstream-794e8123ce625d04f8207ba5fd3b153051b2e67e.tar.bz2
upstream-794e8123ce625d04f8207ba5fd3b153051b2e67e.zip
ramips: mt7620: use OKLI loader with Jboot devices
Jboot devices have problem with >2MB kernelsize. The only way to avoid this problem is use small loader. This patch switch all mt7620 Jboot devices to lzma OKLI loader. Suggested-by: Szabolcs Hubai <szab.hu@gmail.com> Co-authored-by: Michael Pratt <mcpratt@pm.me> Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Diffstat (limited to 'target/linux/ramips/dts/mt7620a_dlink_dwr-118-a2.dts')
-rw-r--r--target/linux/ramips/dts/mt7620a_dlink_dwr-118-a2.dts5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7620a_dlink_dwr-118-a2.dts b/target/linux/ramips/dts/mt7620a_dlink_dwr-118-a2.dts
index 711f9f7c9a..42f5c86160 100644
--- a/target/linux/ramips/dts/mt7620a_dlink_dwr-118-a2.dts
+++ b/target/linux/ramips/dts/mt7620a_dlink_dwr-118-a2.dts
@@ -2,6 +2,7 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/mtd/partitions/uimage.h>
/ {
compatible = "dlink,dwr-118-a2", "ralink,mt7620a-soc";
@@ -103,7 +104,9 @@
};
partition@10000 {
- compatible = "amit,jimage";
+ compatible = "openwrt,uimage", "denx,uimage";
+ openwrt,ih-magic = <IH_MAGIC_OKLI>;
+ openwrt,offset = <0x10000>;
label = "firmware";
reg = <0x10000 0xfe0000>;
};