2
0
forked from Ivasoft/openwrt

apm821xx: Add support for the Cisco Meraki MX60/MX60W

This patch adds support for the Cisco Meraki MX60/MX60W Security
Appliance. Flashing information can be found at
https://github.com/riptidewave93/LEDE-MX60

Specs are as follows:
AppliedMicro APM82181 SoC at 800MHz
1GiB NAND - Samsung K9K8G08U0D
512MB DDR RAM - 4x Nanya NT5TU128M8GE-AC
Atheros AR8327-BL1A Gigabit Ethernet Switch
1x USB 2.0 Port

More info can be found at https://wiki.openwrt.org/toh/meraki/mx60

Cc: Christian Lamparter <chunkeey@gmail.com>

Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
This commit is contained in:
Chris Blake
2016-11-16 09:38:07 -06:00
committed by John Crispin
parent 68634426fe
commit f478ec2007
11 changed files with 283 additions and 16 deletions

View File

@@ -15,7 +15,8 @@ merakinand_do_kernel_check() {
# What is our kernel magic string?
case "$board_name" in
"mr24")
"mr24"|\
"mx60")
[ "$image_magic_word" == "8e73ed8a" ] && {
echo "pass" && return 0
}
@@ -33,7 +34,8 @@ merakinand_do_platform_check() {
local kernel_magic="$(merakinand_do_kernel_check $1 $2)"
case "$board_name" in
"mr24")
"mr24"|\
"mx60")
[ "$control_length" = 0 -o "$file_type" != "squashfs" -o "$kernel_magic" != "pass" ] && {
echo "Invalid sysupgrade file for $board_name"
return 1
@@ -54,7 +56,8 @@ merakinand_do_upgrade() {
# Do we need to do any platform tweaks?
case "$board_name" in
"mr24")
"mr24"|\
"mx60")
nand_do_upgrade $1
;;
*)

View File

@@ -16,7 +16,8 @@ platform_check_image() {
return $?;
;;
mr24)
mr24|\
mx60)
merakinand_do_platform_check $board "$1"
return $?;
;;
@@ -38,7 +39,8 @@ platform_pre_upgrade() {
local board=$(apm821xx_board_name)
case "$board" in
mr24)
mr24|\
mx60)
merakinand_do_upgrade "$1"
;;