aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Eckelmann <sven.eckelmann@open-mesh.com>2016-06-02 11:29:23 +0200
committerJohn Crispin <john@phrozen.org>2017-02-14 12:18:04 +0100
commitbaaf0acdedafeea4cd27ab0bd1be24e93841ff41 (patch)
tree25a23d119d284efdf58d4f971c2c4b284b0225f7
parentbdfe4c12180fc50fabcc56ca52f771ab56e068a4 (diff)
downloadupstream-baaf0acdedafeea4cd27ab0bd1be24e93841ff41.tar.gz
upstream-baaf0acdedafeea4cd27ab0bd1be24e93841ff41.tar.bz2
upstream-baaf0acdedafeea4cd27ab0bd1be24e93841ff41.zip
ar71xx: enable sysupgrade for the OpenMesh OM2Pv4/-HSv4
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
-rw-r--r--target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh2
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh4
2 files changed, 6 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 87b65165b4..e776f99c1e 100644
--- a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
@@ -44,10 +44,12 @@ platform_check_image_target_openmesh()
OM2P)
[ "$board" = "om2p" ] && return 0
[ "$board" = "om2pv2" ] && return 0
+ [ "$board" = "om2pv4" ] && return 0
[ "$board" = "om2p-lc" ] && return 0
[ "$board" = "om2p-hs" ] && return 0
[ "$board" = "om2p-hsv2" ] && return 0
[ "$board" = "om2p-hsv3" ] && return 0
+ [ "$board" = "om2p-hsv4" ] && return 0
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 c87fbff75b..114e74730f 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -506,9 +506,11 @@ platform_check_image() {
mr900|\
om2p-hsv2|\
om2p-hsv3|\
+ om2p-hsv4|\
om2p-hs|\
om2p-lc|\
om2pv2|\
+ om2pv4|\
om2p|\
om5p-acv2|\
om5p-ac|\
@@ -683,9 +685,11 @@ platform_do_upgrade() {
mr900|\
om2p-hsv2|\
om2p-hsv3|\
+ om2p-hsv4|\
om2p-hs|\
om2p-lc|\
om2pv2|\
+ om2pv4|\
om2p|\
om5p-acv2|\
om5p-ac|\