summaryrefslogtreecommitdiffstats
path: root/target/linux/apm821xx/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
authorChris Blake <chrisrblake93@gmail.com>2016-07-20 15:44:51 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-22 09:48:12 +0200
commita57d6e2d47688cfa392d6ea7f36ae6f9d84affc5 (patch)
treed2e04f9253dd23c513a662eed52c37ee959b5729 /target/linux/apm821xx/base-files/lib/upgrade/platform.sh
parent3827ce2c3dc1849033d6de52e58fcbccc7ed74a2 (diff)
downloadopenwrt-a57d6e2d47688cfa392d6ea7f36ae6f9d84affc5.tar.gz
openwrt-a57d6e2d47688cfa392d6ea7f36ae6f9d84affc5.tar.bz2
openwrt-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/lib/upgrade/platform.sh')
-rwxr-xr-xtarget/linux/apm821xx/base-files/lib/upgrade/platform.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/apm821xx/base-files/lib/upgrade/platform.sh b/target/linux/apm821xx/base-files/lib/upgrade/platform.sh
index 2406113bad..ddf775f4ae 100755
--- a/target/linux/apm821xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/apm821xx/base-files/lib/upgrade/platform.sh
@@ -11,6 +11,11 @@ platform_check_image() {
[ "$#" -gt 1 ] && return 1
case "$board" in
+ mr24)
+ merakinand_do_platform_check $board "$1"
+ return $?;
+ ;;
+
*)
;;
esac
@@ -23,6 +28,10 @@ platform_pre_upgrade() {
local board=$(apm821xx_board_name)
case "$board" in
+ mr24)
+ merakinand_do_upgrade "$1"
+ ;;
+
*)
;;
esac