forked from freifunk-franken/firmware
Added support for TP-Link TL-WR1043N/ND v3
Signed-off-by: Steffen Pankratz <kratz00@gmx.de> Reviewed-by: Tim Niemeyer <tim.niemeyer@mastersword.de> Reviewed-by: Michael Fritscher <michael@fritscher.net>
This commit is contained in:
parent
eb8e23e932
commit
6129130103
|
@ -0,0 +1,9 @@
|
|||
WANDEV=eth0
|
||||
SWITCHDEV=eth0
|
||||
CLIENT_PORTS="1 2 6t"
|
||||
WAN_PORTS="5 6t"
|
||||
BATMAN_PORTS="3 4 6t"
|
||||
|
||||
CLIENTIF="eth0.1 w2ap"
|
||||
ETHMESHMAC=
|
||||
ROUTERMAC=eth1
|
|
@ -26,6 +26,7 @@ board_postbuild() {
|
|||
|
||||
cp $target/bin/ar71xx/openwrt-ar71xx-generic-tl-wr1043nd-v1-squashfs-*.bin ./bin/
|
||||
cp $target/bin/ar71xx/openwrt-ar71xx-generic-tl-wr1043nd-v2-squashfs-*.bin ./bin/
|
||||
cp $target/bin/ar71xx/openwrt-ar71xx-generic-tl-wr1043nd-v3-squashfs-*.bin ./bin/
|
||||
|
||||
cp $target/bin/ar71xx/openwrt-ar71xx-generic-tl-wa860re-v1-squashfs-*.bin ./bin/
|
||||
cp $target/bin/ar71xx/openwrt-ar71xx-generic-tl-wa850re-v1-squashfs-*.bin ./bin/
|
||||
|
|
|
@ -8,6 +8,9 @@ case "$BOARD" in
|
|||
tl-wr1043nd)
|
||||
BOARD=tl-wr1043nd-v1
|
||||
;;
|
||||
tl-wr1043nd-v2)
|
||||
grep "v3" /var/sysinfo/model && BOARD=tl-wr1043nd-v3
|
||||
;;
|
||||
tl-wr741nd)
|
||||
grep "Atheros AR7240 rev 2" /proc/cpuinfo && BOARD=tl-wr741nd-v2 || BOARD=tl-wr741nd-v4
|
||||
;;
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
From: Andreas Ziegler <github@andreas-ziegler.de>
|
||||
Date: Thu, 5 Nov 2015 15:48:09 +0100
|
||||
Subject: ar71xx: add support for TP-Link TL-WR1043ND v3
|
||||
|
||||
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
|
||||
index cc25be7..4b29d9c 100644
|
||||
--- a/target/linux/ar71xx/image/Makefile
|
||||
+++ b/target/linux/ar71xx/image/Makefile
|
||||
@@ -2023,6 +2023,7 @@ $(eval $(call SingleProfile,TPLINK,64kraw,TLWR941NV4,tl-wr941nd-v4,TL-WR741ND,tt
|
||||
$(eval $(call SingleProfile,TPLINK,64kraw,TLWR1043V1,tl-wr1043nd-v1,TL-WR1043ND,ttyS0,115200,0x10430001,1,8M))
|
||||
|
||||
$(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLWR1043V2,tl-wr1043nd-v2,TL-WR1043ND-v2,ttyS0,115200,0x10430002,1,8M))
|
||||
+$(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLWR1043V3,tl-wr1043nd-v3,TL-WR1043ND-v2,ttyS0,115200,0x10430003,1,8M))
|
||||
$(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLWR2543,tl-wr2543-v1,TL-WR2543N,ttyS0,115200,0x25430001,1,8Mlzma,-v 3.13.99))
|
||||
|
||||
$(eval $(call SingleProfile,TPLINK-SAFELOADER,64kraw,CPE510,cpe210-220-510-520,CPE510,ttyS0,115200,$$(cpe510_mtdlayout),CPE510))
|
||||
@@ -2087,7 +2088,7 @@ $(eval $(call MultiProfile,TLWR743,TLWR743NV1))
|
||||
$(eval $(call MultiProfile,TLWR841,TLWR841NV15 TLWR841NV3 TLWR841NV5 TLWR841NV7))
|
||||
$(eval $(call MultiProfile,TLWR842,TLWR842V1))
|
||||
$(eval $(call MultiProfile,TLWR941,TLWR941NV2 TLWR941NV3 TLWR941NV4))
|
||||
-$(eval $(call MultiProfile,TLWR1043,TLWR1043V1 TLWR1043V2))
|
||||
+$(eval $(call MultiProfile,TLWR1043,TLWR1043V1 TLWR1043V2 TLWR1043V3))
|
||||
$(eval $(call MultiProfile,TLWDR4300,TLWDR3500V1 TLWDR3600V1 TLWDR4300V1 TLWDR4300V1IL TLWDR4310V1 MW4530RV1))
|
||||
$(eval $(call MultiProfile,TUBE2H,TUBE2H8M TUBE2H16M))
|
||||
$(eval $(call MultiProfile,UBNT,UBNTAIRROUTER UBNTRS UBNTRSPRO UBNTLSSR71 UBNTBULLETM UBNTROCKETM UBNTROCKETMXW UBNTNANOM UBNTNANOMXW UBNTLOCOXW UBNTUNIFI UBNTUNIFIOUTDOOR UBNTUNIFIOUTDOORPLUS UAPPRO UBNTAIRGW))
|
|
@ -80,6 +80,8 @@ get_source() {
|
|||
#Get the OpenWrt Core Source for Firmware
|
||||
checkout_git openwrt $OPENWRTURL $OPENWRTREV
|
||||
|
||||
git -C openwrt am ../../build_patches/ar71xx-add-support-for-TP-Link-TL-WR1043ND-v3.patch
|
||||
|
||||
test -d packages || mkdir packages
|
||||
cd packages
|
||||
|
||||
|
|
Loading…
Reference in New Issue