-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rebase 0003-openwrt-added-TL-WR841ND-N-8M-and-16M-Variants-to-ath79.p…
…atch
- Loading branch information
1 parent
c97ffdd
commit 6f5b230
Showing
1 changed file
with
24 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 69dd602a083ea16fc9bb5f618710538fd4476155 Mon Sep 17 00:00:00 2001 | ||
From 8eb9a1eaabf045141da1284e8f19f6e15c9c9ce8 Mon Sep 17 00:00:00 2001 | ||
From: Dark4MD <[email protected]> | ||
Date: Mon, 10 May 2021 19:36:12 +0200 | ||
Subject: [PATCH] openwrt: added TL-WR841ND/N 8M and 16M Variants to ath79 | ||
|
@@ -7,22 +7,25 @@ rebased on master | |
|
||
Signed-off-by: aiyion.prime <[email protected]> | ||
--- | ||
...841ND-N-8M-and-16M-Variants-to-ath79.patch | 753 ++++++++++++++++++ | ||
targets/ath79-generic | 40 + | ||
2 files changed, 793 insertions(+) | ||
create mode 100644 patches/openwrt/0011-added-TL-WR841ND-N-8M-and-16M-Variants-to-ath79.patch | ||
...841ND-N-8M-and-16M-Variants-to-ath79.patch | 644 ++++++++++++++++++ | ||
targets/ath79-generic | 40 ++ | ||
2 files changed, 684 insertions(+) | ||
create mode 100644 patches/openwrt/0004-added-TL-WR841ND-N-8M-and-16M-Variants-to-ath79.patch | ||
|
||
diff --git a/patches/openwrt/0011-added-TL-WR841ND-N-8M-and-16M-Variants-to-ath79.patch b/patches/openwrt/0011-added-TL-WR841ND-N-8M-and-16M-Variants-to-ath79.patch | ||
diff --git a/patches/openwrt/0004-added-TL-WR841ND-N-8M-and-16M-Variants-to-ath79.patch b/patches/openwrt/0004-added-TL-WR841ND-N-8M-and-16M-Variants-to-ath79.patch | ||
new file mode 100644 | ||
index 00000000..526ddac9 | ||
index 00000000..53f794e0 | ||
--- /dev/null | ||
+++ b/patches/openwrt/0011-added-TL-WR841ND-N-8M-and-16M-Variants-to-ath79.patch | ||
@@ -0,0 +1,753 @@ | ||
+From 84770b37bced165cc09dc26e75c7518063ec46c9 Mon Sep 17 00:00:00 2001 | ||
+++ b/patches/openwrt/0004-added-TL-WR841ND-N-8M-and-16M-Variants-to-ath79.patch | ||
@@ -0,0 +1,644 @@ | ||
+From 926f2e25ea91b52f20897f98b44bea0718849824 Mon Sep 17 00:00:00 2001 | ||
+From: Dark4MD <[email protected]> | ||
+Date: Mon, 10 May 2021 19:20:13 +0200 | ||
+Subject: [PATCH] added TL-WR841ND/N 8M and 16M Variants to ath79 | ||
+ | ||
+rebased onto 22.03 | ||
+ | ||
+Signed-off-by: aiyion.prime <[email protected]> | ||
+--- | ||
+ .../dts/ar9341_tplink_tl-wr841-v8-16m.dts | 61 +++++++++ | ||
+ .../dts/ar9341_tplink_tl-wr841-v8-8m.dts | 61 +++++++++ | ||
|
@@ -38,8 +41,7 @@ index 00000000..526ddac9 | |
+ .../dts/qca9533_tplink_tl-wr841-v9-8m.dts | 15 +++ | ||
+ .../generic/base-files/etc/board.d/01_leds | 8 ++ | ||
+ .../generic/base-files/etc/board.d/02_network | 8 ++ | ||
+ target/linux/ath79/image/generic-tp-link.mk | 86 ++++++++++++ | ||
+ 15 files changed, 596 insertions(+) | ||
+ 14 files changed, 510 insertions(+) | ||
+ create mode 100644 target/linux/ath79/dts/ar9341_tplink_tl-wr841-v8-16m.dts | ||
+ create mode 100644 target/linux/ath79/dts/ar9341_tplink_tl-wr841-v8-8m.dts | ||
+ create mode 100644 target/linux/ath79/dts/qca9533_tplink_tl-wr841-16m.dtsi | ||
|
@@ -620,13 +622,15 @@ index 00000000..526ddac9 | |
++ }; | ||
++}; | ||
+diff --git a/target/linux/ath79/generic/base-files/etc/board.d/01_leds b/target/linux/ath79/generic/base-files/etc/board.d/01_leds | ||
+index 236703b7d9..0b07ec62c3 100755 | ||
+index 12a54f3bd5..f6888d8597 100644 | ||
+--- a/target/linux/ath79/generic/base-files/etc/board.d/01_leds | ||
++++ b/target/linux/ath79/generic/base-files/etc/board.d/01_leds | ||
+@@ -303,6 +303,12 @@ tplink,archer-c6-v2-us) | ||
+@@ -344,6 +344,14 @@ tplink,archer-c6-v2-us) | ||
+ ucidef_set_led_switch "wan" "WAN" "green:wan" "switch0" "0x02" | ||
+ ;; | ||
+ tplink,archer-c25-v1|\ | ||
++tplink,tl-wr841-v8-8m|\ | ||
++tplink,tl-wr841-v8-16m|\ | ||
++tplink,tl-wr841-v9-8m|\ | ||
++tplink,tl-wr841-v9-16m|\ | ||
++tplink,tl-wr841-v10-8m|\ | ||
|
@@ -636,23 +640,16 @@ index 00000000..526ddac9 | |
+ tplink,tl-wr842n-v3) | ||
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1" | ||
+ ucidef_set_led_switch "lan1" "LAN1" "green:lan1" "switch0" "0x10" | ||
+@@ -363,6 +369,8 @@ tplink,tl-mr6400-v1) | ||
+ tplink,tl-wpa8630-v1) | ||
+ ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x3c" | ||
+ ;; | ||
++tplink,tl-wr841-v8-8m|\ | ||
++tplink,tl-wr841-v8-16m|\ | ||
+ tplink,tl-wr842n-v2) | ||
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1" | ||
+ ucidef_set_led_switch "lan1" "LAN1" "green:lan1" "switch0" "0x04" | ||
+diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network | ||
+index 2d2990fb9f..28456ad574 100755 | ||
+index c84db5676f..2f43c7b039 100644 | ||
+--- a/target/linux/ath79/generic/base-files/etc/board.d/02_network | ||
++++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network | ||
+@@ -150,6 +150,12 @@ ath79_setup_interfaces() | ||
+@@ -174,6 +174,14 @@ ath79_setup_interfaces() | ||
+ tplink,archer-c60-v2|\ | ||
+ tplink,archer-c60-v3|\ | ||
+ tplink,tl-wdr3500-v1|\ | ||
++ tplink,tl-wr841-v8-8m|\ | ||
++ tplink,tl-wr841-v8-16m|\ | ||
++ tplink,tl-wr841-v9-8m|\ | ||
++ tplink,tl-wr841-v9-16m|\ | ||
++ tplink,tl-wr841-v10-8m|\ | ||
|
@@ -662,120 +659,14 @@ index 00000000..526ddac9 | |
+ tplink,tl-wr842n-v1|\ | ||
+ tplink,tl-wr842n-v3|\ | ||
+ ubnt,airrouter) | ||
+@@ -390,6 +396,8 @@ ath79_setup_interfaces() | ||
+ ucidef_add_switch "switch0" \ | ||
+ "0@eth0" "2:lan:3" "3:lan:2" "4:lan:1" "5:lan:4" | ||
+ ;; | ||
++ tplink,tl-wr841-v8-8m|\ | ||
++ tplink,tl-wr841-v8-16m|\ | ||
+ tplink,tl-wr842n-v2) | ||
+ ucidef_set_interface_wan "eth1" | ||
+ ucidef_add_switch "switch0" \ | ||
+diff --git a/target/linux/ath79/image/generic-tp-link.mk b/target/linux/ath79/image/generic-tp-link.mk | ||
+index fceebdaaf3..6cfebd6b53 100644 | ||
+--- a/target/linux/ath79/image/generic-tp-link.mk | ||
++++ b/target/linux/ath79/image/generic-tp-link.mk | ||
+@@ -713,6 +713,92 @@ define Device/tplink_tl-wr810n-v2 | ||
+ endef | ||
+ TARGET_DEVICES += tplink_tl-wr810n-v2 | ||
+ | ||
++define Device/tplink_tl-wr841-v8-8m | ||
++ $(Device/tplink-8mlzma) | ||
++ SOC := ar9341 | ||
++ DEVICE_MODEL := TL-WR841N/ND Mod (ATH79 8M) | ||
++ DEVICE_VARIANT := v8 | ||
++ TPLINK_HWID := 0x08410808 | ||
++ SUPPORTED_DEVICES += tl-wr841n-v8 tl-wr841n-v8-8m | ||
++endef | ||
++TARGET_DEVICES += tplink_tl-wr841-v8-8m | ||
++ | ||
++define Device/tplink_tl-wr841-v8-16m | ||
++ $(Device/tplink-16mlzma) | ||
++ SOC := ar9341 | ||
++ DEVICE_MODEL := TL-WR841N/ND Mod (ATH79 16M) | ||
++ DEVICE_VARIANT := v8 | ||
++ TPLINK_HWID := 0x08411608 | ||
++ SUPPORTED_DEVICES += tl-wr841n-v8 tl-wr841n-v8-16m | ||
++endef | ||
++TARGET_DEVICES += tplink_tl-wr841-v8-16m | ||
++ | ||
++define Device/tplink_tl-wr841-v9-8m | ||
++ $(Device/tplink-8mlzma) | ||
++ SOC := qca9533 | ||
++ DEVICE_MODEL := TL-WR841N/ND Mod (ATH79 8M) | ||
++ DEVICE_VARIANT := v9 | ||
++ TPLINK_HWID := 0x08410809 | ||
++ SUPPORTED_DEVICES += tl-wr841n-v9 tl-wr841n-v9-8m | ||
++endef | ||
++TARGET_DEVICES += tplink_tl-wr841-v9-8m | ||
++ | ||
++define Device/tplink_tl-wr841-v9-16m | ||
++ $(Device/tplink-16mlzma) | ||
++ SOC := qca9533 | ||
++ DEVICE_MODEL := TL-WR841N/ND Mod (ATH79 16M) | ||
++ DEVICE_VARIANT := v9 | ||
++ TPLINK_HWID := 0x08411609 | ||
++ SUPPORTED_DEVICES += tl-wr841n-v9 tl-wr841n-v9-16m | ||
++endef | ||
++TARGET_DEVICES += tplink_tl-wr841-v9-16m | ||
++ | ||
++define Device/tplink_tl-wr841-v10-8m | ||
++ $(Device/tplink-8mlzma) | ||
++ SOC := qca9533 | ||
++ DEVICE_MODEL := TL-WR841N/ND Mod (ATH79 8M) | ||
++ DEVICE_VARIANT := v10 | ||
++ TPLINK_HWID := 0x08410810 | ||
++ SUPPORTED_DEVICES += tl-wr841n-v9 tl-wr841n-v9-8m | ||
++endef | ||
++TARGET_DEVICES += tplink_tl-wr841-v10-8m | ||
++ | ||
++define Device/tplink_tl-wr841-v10-16m | ||
++ $(Device/tplink-16mlzma) | ||
++ SOC := qca9533 | ||
++ DEVICE_MODEL := TL-WR841N/ND Mod (ATH79 16M) | ||
++ DEVICE_VARIANT := v10 | ||
++ TPLINK_HWID := 0x08411610 | ||
++ SUPPORTED_DEVICES += tl-wr841n-v9 tl-wr841n-v9-16m | ||
++endef | ||
++TARGET_DEVICES += tplink_tl-wr841-v10-16m | ||
++ | ||
++define Device/tplink_tl-wr841-v11-8m | ||
++ $(Device/tplink-8mlzma) | ||
++ SOC := qca9533 | ||
++ DEVICE_MODEL := TL-WR841N/ND Mod (ATH79 8M) | ||
++ DEVICE_VARIANT := v11 | ||
++ TPLINK_HWID := 0x08410811 | ||
++ SUPPORTED_DEVICES += tl-wr841n-v11 tl-wr841n-v11-8m | ||
++ IMAGES += factory-us.bin factory-eu.bin | ||
++ IMAGE/factory-us.bin := tplink-v1-image factory -C US | ||
++ IMAGE/factory-eu.bin := tplink-v1-image factory -C EU | ||
++endef | ||
++TARGET_DEVICES += tplink_tl-wr841-v11-8m | ||
++ | ||
++define Device/tplink_tl-wr841-v11-16m | ||
++ $(Device/tplink-16mlzma) | ||
++ SOC := qca9533 | ||
++ DEVICE_MODEL := TL-WR841N/ND Mod (ATH79 16M) | ||
++ DEVICE_VARIANT := v11 | ||
++ TPLINK_HWID := 0x08411611 | ||
++ SUPPORTED_DEVICES += tl-wr841n-v11 tl-wr841n-v11-16m | ||
++ IMAGES += factory-us.bin factory-eu.bin | ||
++ IMAGE/factory-us.bin := tplink-v1-image factory -C US | ||
++ IMAGE/factory-eu.bin := tplink-v1-image factory -C EU | ||
++endef | ||
++TARGET_DEVICES += tplink_tl-wr841-v11-16m | ||
++ | ||
+ define Device/tplink_tl-wr842n-v1 | ||
+ $(Device/tplink-8m) | ||
+ SOC := ar7241 | ||
+-- | ||
+2.36.0 | ||
+ | ||
diff --git a/targets/ath79-generic b/targets/ath79-generic | ||
index e2fcbcf5..b1e6473f 100644 | ||
index d43224f3..83856449 100644 | ||
--- a/targets/ath79-generic | ||
+++ b/targets/ath79-generic | ||
@@ -378,6 +378,46 @@ device('tp-link-wbs210-v1', 'tplink_wbs210-v1', { | ||
@@ -397,6 +397,46 @@ device('tp-link-wbs210-v1', 'tplink_wbs210-v1', { | ||
}, | ||
}) | ||
|
||
|