diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-09-21 11:47:53 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-09-21 11:47:53 +0000 |
commit | 733399600f89824208bc44dfec62d68d28630fc7 (patch) | |
tree | 13eb1fb11d093e4ae7ea0d351b8cfba2ea03b677 /target/linux/ar71xx/base-files | |
parent | d3617ac7d3ce397f78678ea1b93b952f3e93af61 (diff) | |
download | mtk-20170518-733399600f89824208bc44dfec62d68d28630fc7.zip mtk-20170518-733399600f89824208bc44dfec62d68d28630fc7.tar.gz mtk-20170518-733399600f89824208bc44dfec62d68d28630fc7.tar.bz2 |
ar71xx: add support for the TP-Link TL-WR703N v1 board
Based on a patch by dongyuqi <729650915@qq.com>
SVN-Revision: 28277
Diffstat (limited to 'target/linux/ar71xx/base-files')
4 files changed, 19 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/tl-wr703n/network b/target/linux/ar71xx/base-files/etc/defconfig/tl-wr703n/network new file mode 100644 index 0000000..7c9fb63 --- /dev/null +++ b/target/linux/ar71xx/base-files/etc/defconfig/tl-wr703n/network @@ -0,0 +1,12 @@ +config interface loopback + option ifname lo + option proto static + option ipaddr 127.0.0.1 + option netmask 255.0.0.0 + +config interface lan + option ifname eth0 + option type bridge + option proto static + option ipaddr 192.168.1.1 + option netmask 255.255.255.0 diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index d61a78d..9d04533 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -96,6 +96,9 @@ get_status_led() { tl-wr1043nd) status_led="tl-wr1043nd:green:system" ;; + tl-wr703n) + status_led="tl-wr703n:blue:system" + ;; tl-wr741nd) status_led="tl-wr741nd:green:system" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 92b0e66..3c3dd1a 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -133,6 +133,9 @@ ar71xx_board_name() { *TL-WR941ND) name="tl-wr941nd" ;; + *"TL-WR703N v1") + name="tl-wr703n" + ;; *UniFi) name="unifi" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 4becfaf..47208d2 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -83,7 +83,7 @@ platform_check_image() { } return 0 ;; - tl-mr3220 | tl-mr3420 | tl-wa901nd | tl-wa901nd-v2 | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd) + tl-mr3220 | tl-mr3420 | tl-wa901nd | tl-wa901nd-v2 | tl-wr703n | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd) [ "$magic" != "0100" ] && { echo "Invalid image type." return 1 |