ar71xx: PowerCloud CAP324 OpenWrt configuration
authorFelix Fietkau <nbd@openwrt.org>
Sat, 19 Dec 2015 11:27:59 +0000 (11:27 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 19 Dec 2015 11:27:59 +0000 (11:27 +0000)
Openwrt configuration part of support for PowerCloud CAP324
Cloud AP.  The CAP324 Cloud AP is a device sold by PowerCloud Systems
who's stock firmware (CloudCommand) provides 'cloud' based managment
of large numbers access points.

The CAP324 is a dual-band 802.11n wireless access point with 16MB flash
and 128MB RAM and single gigabit ethernet port.  It can be powered via PoE
or a wall wart.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
SVN-Revision: 47944

package/boot/uboot-envtools/files/ar71xx
target/linux/ar71xx/base-files/etc/board.d/01_leds
target/linux/ar71xx/base-files/etc/board.d/02_network
target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/lib/ar71xx.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index 0c81f328b6b718005e32f7bb555e6b7bdb7c8e4e..4a9bec53dc7cf34a3fe9a983805db18faff2fdc7 100644 (file)
@@ -15,6 +15,7 @@ board=$(ar71xx_board_name)
 
 case "$board" in
 all0258n | \
+cap324 | \
 cap4200ag | \
 carambola2 | \
 eap300v2 | \
index ed2aeae65ad10709f89ff4e6040073a9f2264e15..2c7bcb768c83699dbc19e0866c05a9ef41a4c205 100755 (executable)
@@ -92,6 +92,12 @@ bxu2000n-2-a1)
        ucidef_set_led_wlan "wlan" "WLAN" "bhu:green:wlan" "phy0tpt"
        ;;
 
+cap324)
+       ucidef_set_led_netdev "lan" "LAN" "pcs:green:lan" "eth0"
+       ucidef_set_led_wlan "wlan_amber" "WLAN_AMBER" "pcs:amber:wlan" "phy0tpt"
+       ucidef_set_led_wlan "wlan_green" "WLAN_GREEN" "pcs:green:wlan" "phy1tpt"
+       ;;
+
 cap4200ag)
        ucidef_set_led_default "lan_green" "LAN_GREEN" "senao:green:lan" "1"
        ucidef_set_led_wlan "wlan_amber" "WLAN_AMBER" "senao:amber:wlan" "phy0tpt"
index bfc898ce6d1515ba6c6434359987ef7fed0bb887..7cb3d882da47cf69ac00cf3f6afc4b87f9351a87 100755 (executable)
@@ -352,6 +352,10 @@ wp543)
        ucidef_set_interface_lan "eth0"
        ;;
 
+cap324)
+       ucidef_set_interface_lan "eth0" "dhcp"
+       ;;
+
 arduino-yun | \
 dir-505-a1)
        ucidef_set_interface_lan "eth1"
index fd57c55b1d1b94c9dda49b7da3446c217a9e37c3..899206aa16e1de5e2ef7143c6dc91a599c93ab76 100644 (file)
@@ -55,6 +55,9 @@ get_status_led() {
        bxu2000n-2-a1)
                status_led="bhu:green:status"
                ;;
+       cap324)
+               status_led="pcs:green:power"
+               ;;
        cap4200ag)
                status_led="senao:green:pwr"
                ;;
index 5af7adf1afa9ff0434079f0f49dc1d2c1350d231..b241060c6d5d382bf17f8087d4be344ba4dfa36c 100755 (executable)
@@ -411,6 +411,9 @@ ar71xx_board_detect() {
        *AW-NR580)
                name="aw-nr580"
                ;;
+       *CAP324)
+               name="cap324"
+               ;;
        *CAP4200AG)
                name="cap4200ag"
                ;;
index 7e564b45cc85c0bb0c6f03fb392215b21aa7eada..2fa9a59cddf0f0e5ee74f424eee95d23889e485f 100755 (executable)
@@ -167,6 +167,7 @@ platform_check_image() {
        case "$board" in
        all0315n | \
        all0258n | \
+       cap324 | \
        cap4200ag)
                platform_check_image_allnet "$1" && return 0
                return 1