[OpenWrt-Devel] [PATCH] CC: ar71xx: add support for the TP-LINK TL-WR1043ND v3
Sven Roederer
devel-sven at geroedel.de
Sat Feb 6 23:29:12 EST 2016
The hardware of the v3 is identical to the v2.
Based-on-patch-by: nbd (b9d5ee8)
- Backport to CC
- add TPL-WR1043v3 to list of supported boards in config-menu
- was tested for all 3 boards by freifunk-community Berlin
Signed-off-by: Sven Roederer <devel-sven at geroedel.de>
---
target/linux/ar71xx/image/Makefile | 22 ++++++++++++++++++++++
.../610-MIPS-ath79-openwrt-machines.patch | 2 +-
2 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 4336697..8805812 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -598,6 +598,28 @@ define Device/tl-wr1041n-v2
endef
TARGET_DEVICES += tl-wr1041n-v2
+define Device/tl-wr1043nd-v1
+ $(Device/tplink-8m)
+ BOARDNAME := TL-WR1043ND
+ DEVICE_PROFILE := TLWR1043
+ TPLINK_HWID := 0x10430001
+endef
+
+define Device/tl-wr1043nd-v2
+ $(Device/tplink-8mlzma)
+ BOARDNAME := TL-WR1043ND-v2
+ DEVICE_PROFILE := TLWR1043
+ TPLINK_HWID := 0x10430002
+endef
+
+define Device/tl-wr1043nd-v3
+ $(Device/tplink-8mlzma)
+ BOARDNAME := TL-WR1043ND-v2
+ DEVICE_PROFILE := TLWR1043
+ TPLINK_HWID := 0x10430003
+endef
+TARGET_DEVICES += tl-wr1043nd-v1 tl-wr1043nd-v2 tl-wr1043nd-v3
+
define Device/tl-wdr4900-v2
$(Device/tplink-8mlzma)
BOARDNAME := TL-WDR4900-v2
diff --git a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
index 2fa041b..ca1b194 100644
--- a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
+++ b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
@@ -1268,7 +1268,7 @@
+ select ATH79_DEV_WMAC
+
+config ATH79_MACH_TL_WR1043ND_V2
-+ bool "TP-LINK TL-WR1043ND v2 support"
++ bool "TP-LINK TL-WR1043ND v2/v3 support"
+ select SOC_QCA955X
+ select ATH79_DEV_ETH
+ select ATH79_DEV_GPIO_BUTTONS
--
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list