mvebu: Fix sysupgrade for GL.iNet GL-MV1000
authorSven Eckelmann <sven@narfation.org>
Thu, 25 Mar 2021 12:26:15 +0000 (13:26 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 18 Apr 2021 10:04:29 +0000 (12:04 +0200)
commitf965235bb5b74bbfc9f048223716c123669688e3
treefd1bb54e0947923b9604285c79e296bf7845d07b
parentf2b7e6675988e2eb2bddb4e506a686c5283263a5
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>
(cherry picked from commit 07e5e03711d55f94db738446ef9eddc8163b53a6)
target/linux/mvebu/cortexa53/base-files/lib/upgrade/platform.sh