diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-12-19 11:27:59 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-12-19 11:27:59 +0000 |
commit | 16aebed57ebe677b39ec3619bb4ebd42c0d666ad (patch) | |
tree | 73b60c0dbba3ef91dadbdbcf73a868264ff3e594 /target/linux/ar71xx | |
parent | 3c59b9c660f4e83f7d0ace2fdf491b58145f9df6 (diff) | |
download | master-187ad058-16aebed57ebe677b39ec3619bb4ebd42c0d666ad.tar.gz master-187ad058-16aebed57ebe677b39ec3619bb4ebd42c0d666ad.tar.bz2 master-187ad058-16aebed57ebe677b39ec3619bb4ebd42c0d666ad.zip |
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 <openwrt@daniel.thecshore.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47944 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
5 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index ed2aeae65a..2c7bcb768c 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -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" diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index bfc898ce6d..7cb3d882da 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -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" diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index fd57c55b1d..899206aa16 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -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" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 5af7adf1af..b241060c6d 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -411,6 +411,9 @@ ar71xx_board_detect() { *AW-NR580) name="aw-nr580" ;; + *CAP324) + name="cap324" + ;; *CAP4200AG) name="cap4200ag" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 7e564b45cc..2fa9a59cdd 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -167,6 +167,7 @@ platform_check_image() { case "$board" in all0315n | \ all0258n | \ + cap324 | \ cap4200ag) platform_check_image_allnet "$1" && return 0 return 1 |