summaryrefslogtreecommitdiff
path: root/target/linux/apm821xx/base-files/lib/apm821xx.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/apm821xx.sh
parent3827ce2c3dc1849033d6de52e58fcbccc7ed74a2 (diff)
downloadmtk-20170518-a57d6e2d47688cfa392d6ea7f36ae6f9d84affc5.zip
mtk-20170518-a57d6e2d47688cfa392d6ea7f36ae6f9d84affc5.tar.gz
mtk-20170518-a57d6e2d47688cfa392d6ea7f36ae6f9d84affc5.tar.bz2
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/apm821xx.sh')
-rwxr-xr-xtarget/linux/apm821xx/base-files/lib/apm821xx.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/apm821xx/base-files/lib/apm821xx.sh b/target/linux/apm821xx/base-files/lib/apm821xx.sh
index 8f15ced..82f85c5 100755
--- a/target/linux/apm821xx/base-files/lib/apm821xx.sh
+++ b/target/linux/apm821xx/base-files/lib/apm821xx.sh
@@ -10,6 +10,10 @@ apm821xx_board_detect() {
model=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /model/ {print $2}' /proc/cpuinfo)
case "$model" in
+ *"Meraki MR24 Access Point")
+ name="mr24"
+ ;;
+
*)
name="unknown"
;;