ar71xx: add user-space support for the EnGenius EAP300 v2 board
authorGabor Juhos <juhosg@openwrt.org>
Mon, 14 Jul 2014 21:30:28 +0000 (21:30 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 14 Jul 2014 21:30:28 +0000 (21:30 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41659

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 174684d0ae3075fd3e121589fe30cba86b3290eb..69590027d8f0f8b1c2597bf528d17a15a2f50e95 100755 (executable)
@@ -62,6 +62,9 @@ get_status_led() {
        dir-835-a1)
                status_led="d-link:amber:power"
                ;;
+       eap300v2)
+               status_led="engenius:blue:power"
+               ;;
        eap7660d)
                status_led="eap7660d:green:ds4"
                ;;
index ccfc846af48f6bc1b97e71c0f7d8cfc0d8ec44d7..b1477ae07031f50b2a4a640572060ee5aea093cd 100755 (executable)
@@ -62,6 +62,11 @@ db120)
        ucidef_set_led_usbdev "usb" "USB" "db120:green:usb" "1-1"
        ;;
 
+eap300v2)
+       ucidef_set_led_netdev "lan" "LAN" "engenius:blue:lan" "eth0"
+       ucidef_set_led_wlan "wlan" "WLAN" "engenius:blue:wlan" "phy0tpt"
+       ;;
+
 rb-750)
        ucidef_set_led_default "act" "act" "rb750:green:act" "1"
        ucidef_set_led_netdev "port1" "port1" "rb750:green:port1" "eth1"
index 8dd04d4ef4910eeab8840b97139d35e5095f90ed..481d45807180d20705c742a9447eea187c1b5382 100755 (executable)
@@ -280,6 +280,7 @@ all0305 |\
 aw-nr580 |\
 bullet-m |\
 cap4200ag |\
+eap300v2 |\
 eap7660d |\
 mr600 |\
 mr600v2 |\
index 94f758a8097a7d0245d4e4eeecf6b726bea7b928..23cee9acb7e99e7463459985a8a6ca4aaadc3401 100755 (executable)
@@ -313,6 +313,9 @@ ar71xx_board_detect() {
        *"Dragino v2")
                name="dragino2"
                ;;
+       *"EAP300 v2")
+               name="eap300v2"
+               ;;
        *EAP7660D)
                name="eap7660d"
                ;;
index 910da52bb772e784fa98f3f23574d2f08f947821..fe627ab4f4cf8dfefb02d61a1a45f6bdc2eeec67 100755 (executable)
@@ -353,6 +353,7 @@ platform_check_image() {
        pb42 | \
        pb44 | \
        all0305 | \
+       eap300v2 | \
        eap7660d | \
        ja76pf | \
        ja76pf2 | \
@@ -407,6 +408,7 @@ platform_do_upgrade() {
        all0315n )
                platform_do_upgrade_allnet "0x9f080000" "$ARGV"
                ;;
+       eap300v2 |\
        cap4200ag)
                platform_do_upgrade_allnet "0xbf0a0000" "$ARGV"
                ;;