summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-01 15:50:32 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-01 15:50:32 +0000
commit119dc460a36560d73409773b93f2b4c563ea9658 (patch)
tree993102b538caca9e1a547f096abfcc66940c0058 /target/linux/ar71xx/base-files/lib
parent5bd02ca895b989774c50def5cc92f1429f833479 (diff)
downloadmtk-20170518-119dc460a36560d73409773b93f2b4c563ea9658.zip
mtk-20170518-119dc460a36560d73409773b93f2b4c563ea9658.tar.gz
mtk-20170518-119dc460a36560d73409773b93f2b4c563ea9658.tar.bz2
ar71xx: add user-space support for TL-WDR3500 board
Based on http://patchwork.openwrt.org/patch/3208/ Thanks-to: Paul Fertser <fercerpav@gmail.com> Signed-off-by: Gui Iribarren <gui@altermundi.net> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35424
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh6
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
2 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 6363b53..a104375 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -126,6 +126,9 @@ tplink_board_detect() {
"342000"*)
model="TP-Link TL-MR3420"
;;
+ "350000"*)
+ model="TP-Link TL-WDR3500"
+ ;;
"360000"*)
model="TP-Link TL-WDR3600"
;;
@@ -375,6 +378,9 @@ ar71xx_board_detect() {
*"TL-WA901ND v2")
name="tl-wa901nd-v2"
;;
+ *"TL-WDR3500")
+ name="tl-wdr3500"
+ ;;
*"TL-WDR3600/4300/4310")
name="tl-wdr4300"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 9afa53d..a39c970 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -160,6 +160,7 @@ platform_check_image() {
tl-wa7510n | \
tl-wa901nd | \
tl-wa901nd-v2 | \
+ tl-wdr3500 | \
tl-wdr4300 | \
tl-wr703n | \
tl-wr741nd | \