ar71xx: add user-space support for the BXU2000n-2 A1 board

Patchwork: http://patchwork.openwrt.org/patch/4183/
Signed-off-by: Terry Yang <yangbo@bhunetworks.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38592
This commit is contained in:
Gabor Juhos 2013-10-30 06:50:58 +00:00
parent ef8306cfd2
commit 003a801dd9
4 changed files with 11 additions and 0 deletions

View File

@ -37,6 +37,9 @@ get_status_led() {
bullet-m | rocket-m | nano-m | nanostation-m) bullet-m | rocket-m | nano-m | nanostation-m)
status_led="ubnt:green:link4" status_led="ubnt:green:link4"
;; ;;
bxu2000n-2-a1)
status_led="bhu:green:status"
;;
cap4200ag) cap4200ag)
status_led="senao:green:pwr" status_led="senao:green:pwr"
;; ;;

View File

@ -32,6 +32,10 @@ ap113)
ucidef_set_led_usbdev "usb" "USB" "ap113:green:usb" "1-1" ucidef_set_led_usbdev "usb" "USB" "ap113:green:usb" "1-1"
;; ;;
bxu2000n-2-a1)
ucidef_set_led_wlan "wlan" "WLAN" "bhu:green:wlan" "phy0tpt"
;;
cap4200ag) cap4200ag)
ucidef_set_led_default "lan_green" "LAN_GREEN" "senao:green:lan" "1" ucidef_set_led_default "lan_green" "LAN_GREEN" "senao:green:lan" "1"
ucidef_set_led_wlan "wlan_amber" "WLAN_AMBER" "senao:amber:wlan" "phy0tpt" ucidef_set_led_wlan "wlan_amber" "WLAN_AMBER" "senao:amber:wlan" "phy0tpt"

View File

@ -576,6 +576,9 @@ ar71xx_board_detect() {
*"Sitecom WLR-8100") *"Sitecom WLR-8100")
name="wlr8100" name="wlr8100"
;; ;;
*"BHU BXU2000n-2 rev. A1")
name="bxu2000n-2-a1"
;;
esac esac
case "$machine" in case "$machine" in

View File

@ -98,6 +98,7 @@ platform_check_image() {
ap96 | \ ap96 | \
db120 | \ db120 | \
hornet-ub | \ hornet-ub | \
bxu2000n-2-a1 | \
zcn-1523h-2 | \ zcn-1523h-2 | \
zcn-1523h-5) zcn-1523h-5)
[ "$magic_long" != "68737173" -a "$magic_long" != "19852003" ] && { [ "$magic_long" != "68737173" -a "$magic_long" != "19852003" ] && {