diff options
author | Chris Blake <chrisrblake93@gmail.com> | 2016-07-20 15:44:51 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-07-22 09:48:12 +0200 |
commit | a57d6e2d47688cfa392d6ea7f36ae6f9d84affc5 (patch) | |
tree | d2e04f9253dd23c513a662eed52c37ee959b5729 /target/linux/apm821xx/base-files/etc | |
parent | 3827ce2c3dc1849033d6de52e58fcbccc7ed74a2 (diff) | |
download | upstream-a57d6e2d47688cfa392d6ea7f36ae6f9d84affc5.tar.gz upstream-a57d6e2d47688cfa392d6ea7f36ae6f9d84affc5.tar.bz2 upstream-a57d6e2d47688cfa392d6ea7f36ae6f9d84affc5.zip |
apm821xx: add support for the Cisco Meraki MR24
This patch adds support for the Cisco Meraki MR24 Access point
to the apm821xx target.
Board: MR24 - Meraki MR24 Cloud Managed Access Point
CPU: APM82181 SoC 800 MHz (PLB=200 OPB=100 EBC=100)
Flash size: 32MiB
RAM Size: 128MiB
Wireless: Atheros AR9380 5.0GHz + Atheros AR9380 2.4GHz
Ethernet ports: 1x Gigabit Atheros AR8035
WARNING: The serial port needs a TTL/RS-232 v3.3 level converter!
For flashing instructions, visit:
<https://github.com/riptidewave93/Openwrt-MR24/blob/master/README.md#flashing>
Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
Diffstat (limited to 'target/linux/apm821xx/base-files/etc')
-rwxr-xr-x | target/linux/apm821xx/base-files/etc/board.d/01_leds | 8 | ||||
-rwxr-xr-x | target/linux/apm821xx/base-files/etc/board.d/02_network | 3 | ||||
-rwxr-xr-x | target/linux/apm821xx/base-files/etc/diag.sh | 4 |
3 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/apm821xx/base-files/etc/board.d/01_leds b/target/linux/apm821xx/base-files/etc/board.d/01_leds index eab8b59142..d5f4cc9478 100755 --- a/target/linux/apm821xx/base-files/etc/board.d/01_leds +++ b/target/linux/apm821xx/base-files/etc/board.d/01_leds @@ -8,6 +8,14 @@ board_config_update board=$(apm821xx_board_name) case "$board" in +mr24) + ucidef_set_led_netdev "wan" "WAN" "mr24:green:wan" "eth0" + ucidef_set_led_wlan "wlan1" "WLAN1" "mr24:green:wifi1" "phy0assoc" + ucidef_set_led_wlan "wlan2" "WLAN2" "mr24:green:wifi2" "phy0assoc" + ucidef_set_led_wlan "wlan3" "WLAN3" "mr24:green:wifi3" "phy0assoc" + ucidef_set_led_wlan "wlan4" "WLAN4" "mr24:green:wifi4" "phy0tpt" + ;; + *) ;; esac diff --git a/target/linux/apm821xx/base-files/etc/board.d/02_network b/target/linux/apm821xx/base-files/etc/board.d/02_network index 7dbabec11d..4d53b2f64a 100755 --- a/target/linux/apm821xx/base-files/etc/board.d/02_network +++ b/target/linux/apm821xx/base-files/etc/board.d/02_network @@ -9,6 +9,9 @@ board_config_update board=$(apm821xx_board_name) case "$board" in +mr24) + ucidef_set_interface_lan "eth0" + ;; *) ucidef_set_interfaces_lan_wan "eth0" "eth1" ;; diff --git a/target/linux/apm821xx/base-files/etc/diag.sh b/target/linux/apm821xx/base-files/etc/diag.sh index 4d6763879b..58301f836f 100755 --- a/target/linux/apm821xx/base-files/etc/diag.sh +++ b/target/linux/apm821xx/base-files/etc/diag.sh @@ -5,6 +5,10 @@ get_status_led() { case $(apm821xx_board_name) in + mr24) + status_led="mr24:green:power" + ;; + *) ;; esac |