aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2021-03-25 13:26:15 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2021-04-17 21:56:05 +0200
commit07e5e03711d55f94db738446ef9eddc8163b53a6 (patch)
tree86818f9be022e883c68a7e1c2b4ebfc13a344bce /target/linux/mvebu
parent2e1ebe96c61424d0829bb1c8b5ec44aaa8bea8af (diff)
downloadupstream-07e5e03711d55f94db738446ef9eddc8163b53a6.tar.gz
upstream-07e5e03711d55f94db738446ef9eddc8163b53a6.tar.bz2
upstream-07e5e03711d55f94db738446ef9eddc8163b53a6.zip
mvebu: Fix sysupgrade for GL.iNet GL-MV1000
The GL.iNet GL-MV1000 is booting from eMMC and the images for it are in theory sysupgrade compatible. But the platform upgrade scripts were not adjusted to select the mmcblock device as upgrade target. This resulted in a failed sysupgrade because the mtd device (NOR flash) was instead tried to be modified by the sysupgrade script. Fixes: 050c24f05c85 ("mvebu: add support for GL.iNet GL-MV1000") Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'target/linux/mvebu')
-rwxr-xr-xtarget/linux/mvebu/cortexa53/base-files/lib/upgrade/platform.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/mvebu/cortexa53/base-files/lib/upgrade/platform.sh b/target/linux/mvebu/cortexa53/base-files/lib/upgrade/platform.sh
index 1153fd8f38..d78f4e884a 100755
--- a/target/linux/mvebu/cortexa53/base-files/lib/upgrade/platform.sh
+++ b/target/linux/mvebu/cortexa53/base-files/lib/upgrade/platform.sh
@@ -9,6 +9,7 @@ REQUIRE_IMAGE_METADATA=1
platform_check_image() {
case "$(board_name)" in
+ glinet,gl-mv1000|\
globalscale,espressobin|\
globalscale,espressobin-emmc|\
globalscale,espressobin-ultra|\
@@ -24,6 +25,7 @@ platform_check_image() {
platform_do_upgrade() {
case "$(board_name)" in
+ glinet,gl-mv1000|\
globalscale,espressobin|\
globalscale,espressobin-emmc|\
globalscale,espressobin-ultra|\
@@ -41,6 +43,7 @@ platform_do_upgrade() {
}
platform_copy_config() {
case "$(board_name)" in
+ glinet,gl-mv1000|\
globalscale,espressobin|\
globalscale,espressobin-emmc|\
globalscale,espressobin-ultra|\