fa04fff88d
The new MR1750v2 device support is only available in LEDE master. The relevant patches have to backported to add support for them in Gluon Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
41 lines
1.4 KiB
Diff
41 lines
1.4 KiB
Diff
From: Sven Eckelmann <sven.eckelmann@open-mesh.com>
|
|
Date: Fri, 20 May 2016 18:03:56 +0200
|
|
Subject: ar71xx: enable sysupgrade for the OpenMesh MR1750v2
|
|
|
|
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
|
|
|
|
Forwarded: https://patchwork.ozlabs.org/patch/637060/
|
|
|
|
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
|
|
index 0e8ea27..95d39bf 100644
|
|
--- a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
|
|
+++ b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
|
|
@@ -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
|
|
;;
|
|
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
|
|
index 9b26e73..f33419f 100755
|
|
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
|
|
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
|
|
@@ -298,6 +298,7 @@ platform_check_image() {
|
|
return 0;
|
|
;;
|
|
mr1750 | \
|
|
+ mr1750v2 | \
|
|
mr600 | \
|
|
mr600v2 | \
|
|
mr900 | \
|
|
@@ -534,6 +535,7 @@ platform_do_upgrade() {
|
|
platform_do_upgrade_dir825b "$ARGV"
|
|
;;
|
|
mr1750 | \
|
|
+ mr1750v2 | \
|
|
mr600 | \
|
|
mr600v2 | \
|
|
mr900 | \
|