From b26ef09a893cdd157e50835f35c02af7789ffdc7 Mon Sep 17 00:00:00 2001 From: psycho Date: Mon, 24 Aug 2020 20:25:45 +0200 Subject: [PATCH] small typo in 16m patch file inside device tree file at the ART partition a false starting address was fixed. added 8m patch --- patches/tl-wr841_16m.patch | 5 ++-- patches/tl-wr841_8m.patch | 58 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 2 deletions(-) create mode 100644 patches/tl-wr841_8m.patch diff --git a/patches/tl-wr841_16m.patch b/patches/tl-wr841_16m.patch index 4b1a424..2acdd53 100644 --- a/patches/tl-wr841_16m.patch +++ b/patches/tl-wr841_16m.patch @@ -1,6 +1,6 @@ diff -Naur ow/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi ow_p/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi --- ow/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi 2020-08-15 19:59:12.627089490 +0200 -+++ ow_p/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi 2020-08-15 19:52:20.784380104 +0200 ++++ ow_p/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi 2020-08-24 20:12:04.816419143 +0200 @@ -97,12 +97,12 @@ partition@20000 { compatible = "tplink,firmware"; @@ -9,7 +9,8 @@ diff -Naur ow/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi ow_p/target/li + reg = <0x020000 0xfd0000>; }; - art: partition@3f0000 { +- art: partition@3f0000 { ++ art: partition@ff0000 { label = "art"; - reg = <0x3f0000 0x010000>; + reg = <0xff0000 0x010000>; diff --git a/patches/tl-wr841_8m.patch b/patches/tl-wr841_8m.patch new file mode 100644 index 0000000..2a915ec --- /dev/null +++ b/patches/tl-wr841_8m.patch @@ -0,0 +1,58 @@ +diff -Naur ow/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi ow_p8/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi +--- ow/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi 2020-08-15 19:59:12.627089490 +0200 ++++ ow_p8/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi 2020-08-24 20:21:41.686119990 +0200 +@@ -97,12 +97,12 @@ + partition@20000 { + compatible = "tplink,firmware"; + label = "firmware"; +- reg = <0x020000 0x3d0000>; ++ reg = <0x020000 0xfa0000>; + }; + +- art: partition@3f0000 { ++ art: partition@fc0000 { + label = "art"; +- reg = <0x3f0000 0x010000>; ++ reg = <0xfc0000 0x010000>; + read-only; + }; + }; +diff -Naur ow/target/linux/ath79/image/tiny-tp-link.mk ow_p8/target/linux/ath79/image/tiny-tp-link.mk +--- ow/target/linux/ath79/image/tiny-tp-link.mk 2020-08-15 19:59:28.267064938 +0200 ++++ ow_p8/target/linux/ath79/image/tiny-tp-link.mk 2020-08-24 20:22:46.496087587 +0200 +@@ -358,7 +358,7 @@ + TARGET_DEVICES += tplink_tl-wr841-v8 + + define Device/tplink_tl-wr841-v9 +- $(Device/tplink-4mlzma) ++ $(Device/tplink-8mlzma) + SOC := qca9533 + DEVICE_MODEL := TL-WR841N/ND + DEVICE_VARIANT := v9 +@@ -368,7 +368,7 @@ + TARGET_DEVICES += tplink_tl-wr841-v9 + + define Device/tplink_tl-wr841-v10 +- $(Device/tplink-4mlzma) ++ $(Device/tplink-8mlzma) + SOC := qca9533 + DEVICE_MODEL := TL-WR841N/ND + DEVICE_VARIANT := v10 +@@ -378,7 +378,7 @@ + TARGET_DEVICES += tplink_tl-wr841-v10 + + define Device/tplink_tl-wr841-v11 +- $(Device/tplink-4mlzma) ++ $(Device/tplink-8mlzma) + SOC := qca9533 + DEVICE_MODEL := TL-WR841N/ND + DEVICE_VARIANT := v11 +@@ -391,7 +391,7 @@ + TARGET_DEVICES += tplink_tl-wr841-v11 + + define Device/tplink_tl-wr841-v12 +- $(Device/tplink-4mlzma) ++ $(Device/tplink-8mlzma) + SOC := qca9533 + DEVICE_MODEL := TL-WR841N/ND + DEVICE_VARIANT := v12