ar71xx: add user-space support for HiWiFi HC6361 board.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 40974
This commit is contained in:
John Crispin 2014-06-02 14:56:35 +00:00
parent 05b73eb22f
commit 8a3c713c97
5 changed files with 13 additions and 0 deletions

View file

@ -65,6 +65,9 @@ get_status_led() {
eap7660d) eap7660d)
status_led="eap7660d:green:ds4" status_led="eap7660d:green:ds4"
;; ;;
hiwifi-hc6361)
status_led="hiwifi:blue:system"
;;
hornet-ub) hornet-ub)
status_led="alfa:blue:wps" status_led="alfa:blue:wps"
;; ;;

View file

@ -103,6 +103,11 @@ dir-825-c1)
ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "d-link:blue:wlan2g" "phy0tpt" 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) hornet-ub)
ucidef_set_led_netdev "lan" "LAN" "alfa:blue:lan" "eth0" ucidef_set_led_netdev "lan" "LAN" "alfa:blue:lan" "eth0"
ucidef_set_led_netdev "wan" "WAN" "alfa:blue:wan" "eth1" ucidef_set_led_netdev "wan" "WAN" "alfa:blue:wan" "eth1"

View file

@ -289,6 +289,7 @@ dir-600-a1 |\
dir-615-c1 |\ dir-615-c1 |\
dir-615-e1 |\ dir-615-e1 |\
dir-615-e4 |\ dir-615-e4 |\
hiwifi-hc6361 |\
ja76pf |\ ja76pf |\
mynet-n600 |\ mynet-n600 |\
oolite |\ oolite |\

View file

@ -670,6 +670,9 @@ ar71xx_board_detect() {
*"BHU BXU2000n-2 rev. A1") *"BHU BXU2000n-2 rev. A1")
name="bxu2000n-2-a1" name="bxu2000n-2-a1"
;; ;;
*"HiWiFi HC6361")
name="hiwifi-hc6361"
;;
esac esac
case "$machine" in case "$machine" in

View file

@ -153,6 +153,7 @@ platform_check_image() {
dragino2 | \ dragino2 | \
ew-dorin | \ ew-dorin | \
ew-dorin-router | \ ew-dorin-router | \
hiwifi-hc6361 | \
hornet-ub-x2 | \ hornet-ub-x2 | \
mzk-w04nu | \ mzk-w04nu | \
mzk-w300nh | \ mzk-w300nh | \