aboutsummaryrefslogtreecommitdiffstats
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
commitad997fedac36c260d409d416780bce940b6028fa (patch)
treec930fa1cb761f329dbe6fb821ad3676b5d877909
parentd1e5422c3e61bbb8ba78ac7601aeb4c423365837 (diff)
downloadupstream-ad997fedac36c260d409d416780bce940b6028fa.tar.gz
upstream-ad997fedac36c260d409d416780bce940b6028fa.tar.bz2
upstream-ad997fedac36c260d409d416780bce940b6028fa.zip
ar71xx: add sysupgrade support for OpenMesh MR600v2
Signed-off-by: Marek Lindner <marek@open-mesh.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35430 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 ccce81174e..2575b0a7f0 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 a39c970c51..c16d184e73 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)