ar71xx: enable sysupgrade for the OpenMesh MR1750v2
authorSven Eckelmann <sven.eckelmann@open-mesh.com>
Fri, 17 Jun 2016 13:24:49 +0000 (15:24 +0200)
committerSven Eckelmann <sven@narfation.org>
Wed, 21 Sep 2016 16:16:54 +0000 (18:16 +0200)
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index 0e8ea27..95d39bf 100644 (file)
@@ -81,6 +81,7 @@ platform_check_image_openmesh()
                        ;;
                MR1750)
                        [ "$board" = "mr1750" ] && break
+                       [ "$board" = "mr1750v2" ] && break
                        echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform"
                        return 1
                        ;;
index 4fb5b34..bf53169 100755 (executable)
@@ -291,6 +291,7 @@ platform_check_image() {
                return 0;
                ;;
        mr1750 | \
+       mr1750v2 | \
        mr600 | \
        mr600v2 | \
        mr900 | \
@@ -523,6 +524,7 @@ platform_do_upgrade() {
                platform_do_upgrade_dir825b "$ARGV"
                ;;
        mr1750 | \
+       mr1750v2 | \
        mr600 | \
        mr600v2 | \
        mr900 | \