ar71xx: add user-space support for the TL-WR1043ND v2 board
authorGabor Juhos <juhosg@openwrt.org>
Fri, 29 Nov 2013 20:51:13 +0000 (20:51 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 29 Nov 2013 20:51:13 +0000 (20:51 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38956

target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
target/linux/ar71xx/base-files/etc/uci-defaults/02_network
target/linux/ar71xx/base-files/lib/ar71xx.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index e314bc03dd8a15cde34fb0c174b7bd5218d84f52..216100b5ebe6314998681057c143bd65e975f573 100755 (executable)
@@ -141,6 +141,7 @@ get_status_led() {
        tl-wdr3500 | \
        tl-wr1041n-v2 | \
        tl-wr1043nd | \
+       tl-wr1043nd-v2 | \
        tl-wr741nd | \
        tl-wr741nd-v4 | \
        tl-wr841n-v1 | \
index ec3163171c37183b8ce24ab896e03ea412f4ba22..e20c121f579156b4102824a27875cdb867e62220 100755 (executable)
@@ -253,7 +253,8 @@ tl-wr1041n-v2)
        ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
        ;;
 
-tl-wr1043nd)
+tl-wr1043nd | \
+tl-wr1043nd-v2)
        ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
        ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
        ;;
index f28886270309eca7ee30b1f84da059faaa9da5d0..5ef4938da7f8b04e81de1a791d4d62c4d54d8b4d 100755 (executable)
@@ -38,7 +38,8 @@ ap136-010)
        ;;
 
 ap136-020 |\
-ap135-020)
+ap135-020 |\
+tl-wr1043nd-v2)
        ucidef_set_interfaces_lan_wan "eth1" "eth0"
        ucidef_add_switch "switch0" "1" "1"
        ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
index ebfe10f928ba23d3854d76dd6faa1e02e637d946..e0b88301610978531eaff7dc75a3474dc04de2d1 100755 (executable)
@@ -423,6 +423,9 @@ ar71xx_board_detect() {
        *TL-WR1043ND)
                name="tl-wr1043nd"
                ;;
+       *"TL-WR1043ND v2")
+               name="tl-wr1043nd-v2"
+               ;;
        *TL-WR2543N*)
                name="tl-wr2543n"
                ;;
index cb36772d8d441862a463b3496d1dbdf65bf72961..839ba4e77b2a37f7554f13d3ac0fc770949abd8a 100755 (executable)
@@ -208,6 +208,7 @@ platform_check_image() {
        tl-wr941nd | \
        tl-wr1041n-v2 | \
        tl-wr1043nd | \
+       tl-wr1043nd-v2 | \
        tl-wr2543n)
                [ "$magic" != "0100" ] && {
                        echo "Invalid image type."