diff options
author | Chris Blake <chrisrblake93@gmail.com> | 2016-11-16 09:38:07 -0600 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-11-21 10:14:15 +0100 |
commit | f478ec2007b93b87fba606eae49688753281c85f (patch) | |
tree | 54ec46f17f0f3fdcb3bc6fb9516c271c8c38c460 /target/linux/apm821xx/base-files/lib/upgrade/merakinand.sh | |
parent | 68634426fee42803b4be956ef3ac262dee6f8384 (diff) | |
download | mtk-20170518-f478ec2007b93b87fba606eae49688753281c85f.zip mtk-20170518-f478ec2007b93b87fba606eae49688753281c85f.tar.gz mtk-20170518-f478ec2007b93b87fba606eae49688753281c85f.tar.bz2 |
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>
Diffstat (limited to 'target/linux/apm821xx/base-files/lib/upgrade/merakinand.sh')
-rwxr-xr-x | target/linux/apm821xx/base-files/lib/upgrade/merakinand.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/target/linux/apm821xx/base-files/lib/upgrade/merakinand.sh b/target/linux/apm821xx/base-files/lib/upgrade/merakinand.sh index 5861d97..f025082 100755 --- a/target/linux/apm821xx/base-files/lib/upgrade/merakinand.sh +++ b/target/linux/apm821xx/base-files/lib/upgrade/merakinand.sh @@ -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 ;; *) |