summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-04-26 17:00:49 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-04-26 17:00:49 +0000
commit7c4e2c1f724b301996aedd554c0c621949783474 (patch)
tree4414a570ba38ac8adfb32592d4440c9067da5b28 /target/linux/ar71xx/base-files
parent5c11773f8a7f7c2f7073e29ebddd77bf98dceb19 (diff)
downloadmtk-20170518-7c4e2c1f724b301996aedd554c0c621949783474.zip
mtk-20170518-7c4e2c1f724b301996aedd554c0c621949783474.tar.gz
mtk-20170518-7c4e2c1f724b301996aedd554c0c621949783474.tar.bz2
ar71xx: add user-space support for the TL-WR720N v3 board
Signed-off-by: yousong <yszhou4tech@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36457
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh6
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
4 files changed, 10 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index c107f41..708e2c5 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -133,7 +133,8 @@ get_status_led() {
status_led="tp-link:green:system"
;;
tl-wdr4300 | \
- tl-wr703n)
+ tl-wr703n | \
+ tl-wr720n-v3)
status_led="tp-link:blue:system"
;;
tl-wr2543n)
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index 0329ea5..a8d2c76 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -210,6 +210,7 @@ jwap003 |\
pb42 |\
pb44 |\
routerstation|\
+tl-wr720n-v3|\
wpe72)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index a9e063b..47d5f08 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -75,6 +75,9 @@ tplink_board_detect() {
"070300"*)
model="TP-Link TL-WR703N"
;;
+ "072001"*)
+ model="TP-Link TL-WR720N"
+ ;;
"070100"*)
model="TP-Link TL-WA701N/ND"
;;
@@ -420,6 +423,9 @@ ar71xx_board_detect() {
*"TL-WR703N v1")
name="tl-wr703n"
;;
+ *"TL-WR720N v3")
+ name="tl-wr720n-v3"
+ ;;
*"TL-MR11U")
name="tl-mr11u"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 8f2f610..85e9d61 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -166,6 +166,7 @@ platform_check_image() {
tl-wdr3500 | \
tl-wdr4300 | \
tl-wr703n | \
+ tl-wr720n-v3 | \
tl-wr741nd | \
tl-wr741nd-v4 | \
tl-wr841n-v1 | \