summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-11-14 16:55:14 +0000
committerJohn Crispin <john@openwrt.org>2014-11-14 16:55:14 +0000
commit52c267e2f75c4c127e5d1f64cf9f945002267e22 (patch)
tree3dcf85f20d888781eea82ec0896e8c08d2aab79a
parent104be9f8032dcfbce78729a2d515b4e4567b4e18 (diff)
downloadmtk-20170518-52c267e2f75c4c127e5d1f64cf9f945002267e22.zip
mtk-20170518-52c267e2f75c4c127e5d1f64cf9f945002267e22.tar.gz
mtk-20170518-52c267e2f75c4c127e5d1f64cf9f945002267e22.tar.bz2
ar71xx: add sysupgrade support for OpenMesh MR900v2
Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 43267
-rw-r--r--target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
index 13d7415..a897dca 100644
--- a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
@@ -79,6 +79,7 @@ platform_check_image_openmesh()
;;
MR900)
[ "$board" = "mr900" ] && break
+ [ "$board" = "mr900v2" ] && break
echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform"
return 1
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index c1e42f5..0ad49a3 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -246,6 +246,7 @@ platform_check_image() {
mr600 | \
mr600v2 | \
mr900 | \
+ mr900v2 | \
om2p | \
om2pv2 | \
om2p-hs | \
@@ -437,6 +438,7 @@ platform_do_upgrade() {
mr600 | \
mr600v2 | \
mr900 | \
+ mr900v2 | \
om2p | \
om2pv2 | \
om2p-hs | \