Author: nbd
Date: 2015-12-19 12:27:59 +0100 (Sat, 19 Dec 2015)
New Revision: 47944

Modified:
   trunk/package/boot/uboot-envtools/files/ar71xx
   trunk/target/linux/ar71xx/base-files/etc/board.d/01_leds
   trunk/target/linux/ar71xx/base-files/etc/board.d/02_network
   trunk/target/linux/ar71xx/base-files/etc/diag.sh
   trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh
   trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
Log:
ar71xx: PowerCloud CAP324 OpenWrt configuration

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 <[email protected]>

Modified: trunk/package/boot/uboot-envtools/files/ar71xx
===================================================================
--- trunk/package/boot/uboot-envtools/files/ar71xx      2015-12-19 11:27:52 UTC 
(rev 47943)
+++ trunk/package/boot/uboot-envtools/files/ar71xx      2015-12-19 11:27:59 UTC 
(rev 47944)
@@ -15,6 +15,7 @@
 
 case "$board" in
 all0258n | \
+cap324 | \
 cap4200ag | \
 carambola2 | \
 eap300v2 | \

Modified: trunk/target/linux/ar71xx/base-files/etc/board.d/01_leds
===================================================================
--- trunk/target/linux/ar71xx/base-files/etc/board.d/01_leds    2015-12-19 
11:27:52 UTC (rev 47943)
+++ trunk/target/linux/ar71xx/base-files/etc/board.d/01_leds    2015-12-19 
11:27:59 UTC (rev 47944)
@@ -92,6 +92,12 @@
        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"

Modified: trunk/target/linux/ar71xx/base-files/etc/board.d/02_network
===================================================================
--- trunk/target/linux/ar71xx/base-files/etc/board.d/02_network 2015-12-19 
11:27:52 UTC (rev 47943)
+++ trunk/target/linux/ar71xx/base-files/etc/board.d/02_network 2015-12-19 
11:27:59 UTC (rev 47944)
@@ -352,6 +352,10 @@
        ucidef_set_interface_lan "eth0"
        ;;
 
+cap324)
+       ucidef_set_interface_lan "eth0" "dhcp"
+       ;;
+
 arduino-yun | \
 dir-505-a1)
        ucidef_set_interface_lan "eth1"

Modified: trunk/target/linux/ar71xx/base-files/etc/diag.sh
===================================================================
--- trunk/target/linux/ar71xx/base-files/etc/diag.sh    2015-12-19 11:27:52 UTC 
(rev 47943)
+++ trunk/target/linux/ar71xx/base-files/etc/diag.sh    2015-12-19 11:27:59 UTC 
(rev 47944)
@@ -55,6 +55,9 @@
        bxu2000n-2-a1)
                status_led="bhu:green:status"
                ;;
+       cap324)
+               status_led="pcs:green:power"
+               ;;
        cap4200ag)
                status_led="senao:green:pwr"
                ;;

Modified: trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh
===================================================================
--- trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh  2015-12-19 11:27:52 UTC 
(rev 47943)
+++ trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh  2015-12-19 11:27:59 UTC 
(rev 47944)
@@ -411,6 +411,9 @@
        *AW-NR580)
                name="aw-nr580"
                ;;
+       *CAP324)
+               name="cap324"
+               ;;
        *CAP4200AG)
                name="cap4200ag"
                ;;

Modified: trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
===================================================================
--- trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh        
2015-12-19 11:27:52 UTC (rev 47943)
+++ trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh        
2015-12-19 11:27:59 UTC (rev 47944)
@@ -167,6 +167,7 @@
        case "$board" in
        all0315n | \
        all0258n | \
+       cap324 | \
        cap4200ag)
                platform_check_image_allnet "$1" && return 0
                return 1
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to