summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-01 15:50:47 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-01 15:50:47 +0000
commit979676ffcc9fc932952caaed06238f7b122e9294 (patch)
treefaddb0db320d7e8b45dbca3ec7d4ab849e7b3d27 /target
parent2af995ba1d2d55af339651fd84ef682700c975a0 (diff)
downloadmtk-20170518-979676ffcc9fc932952caaed06238f7b122e9294.zip
mtk-20170518-979676ffcc9fc932952caaed06238f7b122e9294.tar.gz
mtk-20170518-979676ffcc9fc932952caaed06238f7b122e9294.tar.bz2
ar71xx: add sysupgrade support for OpenMesh MR600v2
Signed-off-by: Marek Lindner <marek@open-mesh.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35430
Diffstat (limited to 'target')
-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 ccce811..2575b0a 100644
--- a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
@@ -64,6 +64,7 @@ platform_check_image_openmesh()
;;
MR600)
[ "$board" = "mr600" ] && break
+ [ "$board" = "mr600v2" ] && 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 a39c970..c16d184 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -145,6 +145,7 @@ platform_check_image() {
;;
mr600 | \
+ mr600v2 | \
om2p | \
om2p-hs | \
om2p-lc)
@@ -284,6 +285,7 @@ platform_do_upgrade() {
platform_do_upgrade_dir825b "$ARGV"
;;
mr600 | \
+ mr600v2 | \
om2p | \
om2p-hs | \
om2p-lc)