ar71xx: add user-space support for HiWiFi HC6361 board.
authorJohn Crispin <john@openwrt.org>
Mon, 2 Jun 2014 14:56:35 +0000 (14:56 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 2 Jun 2014 14:56:35 +0000 (14:56 +0000)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 40974

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 d555c5b603169c00435e30d074e6150b7248971b..80f9090b1a76d8ce8eb39451c738a65f998ca945 100755 (executable)
@@ -65,6 +65,9 @@ get_status_led() {
        eap7660d)
                status_led="eap7660d:green:ds4"
                ;;
+       hiwifi-hc6361)
+               status_led="hiwifi:blue:system"
+               ;;
        hornet-ub)
                status_led="alfa:blue:wps"
                ;;
index 849fd564acfcfabe3f32abac641b33fca6646b8a..fe5ff93130a249c5f61b3f3dbf2924f76fc7a948 100755 (executable)
@@ -103,6 +103,11 @@ dir-825-c1)
        ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "d-link:blue:wlan2g" "phy0tpt"
        ;;
 
+hiwifi-hc6361)
+       ucidef_set_led_default "inet" "INET" "hiwifi:blue:internet" "0"
+       ucidef_set_led_wlan "wlan" "WLAN" "hiwifi:blue:wlan-2p4" "phy0tpt"
+       ;;
+
 hornet-ub)
        ucidef_set_led_netdev "lan" "LAN" "alfa:blue:lan" "eth0"
        ucidef_set_led_netdev "wan" "WAN" "alfa:blue:wan" "eth1"
index e8268cac8ba109920c9f6734233e101cfb2cfb35..4bf4321cd3e6a8774c23e632e2a76cdc8f1bf1b1 100755 (executable)
@@ -289,6 +289,7 @@ dir-600-a1 |\
 dir-615-c1 |\
 dir-615-e1 |\
 dir-615-e4 |\
+hiwifi-hc6361 |\
 ja76pf |\
 mynet-n600 |\
 oolite |\
index 2fbef9653e718614771f2cd11f968cbcb97d0903..23f2ecf36d527c618d66eeed42edcde7f9d3b41b 100755 (executable)
@@ -670,6 +670,9 @@ ar71xx_board_detect() {
        *"BHU BXU2000n-2 rev. A1")
                name="bxu2000n-2-a1"
                ;;
+       *"HiWiFi HC6361")
+               name="hiwifi-hc6361"
+               ;;
        esac
 
        case "$machine" in
index 7475f9f4ccd6cfe021ed5be339408831344b22ca..a6723fab548a600754af6b8a8fdfa6fc0770946d 100755 (executable)
@@ -153,6 +153,7 @@ platform_check_image() {
        dragino2 | \
        ew-dorin | \
        ew-dorin-router | \
+       hiwifi-hc6361 | \
        hornet-ub-x2 | \
        mzk-w04nu | \
        mzk-w300nh | \