From a08b30de2db91b9cddc577f471e2f6185ab470f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20Daleck=C3=BD?= Date: Fri, 5 Jun 2026 16:02:09 +0200 Subject: [PATCH] mvebu: fix Turris MOX update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Turris MOX still upgrades from a legacy SD card image rather than using the default sysupgrade path for cortexa53 devices. Route image validation, upgrade handling and config backup through the legacy_sdcard helpers so sysupgrade writes the correct image format and preserves settings. Signed-off-by: Štěpán Dalecký Link: https://github.com/openwrt/openwrt/pull/23666 Signed-off-by: Hauke Mehrtens (cherry picked from commit d21b7bfbff92820fe277e78a4ec778cd1c26efd1) Signed-off-by: Tomas Macholda Link: https://github.com/openwrt/openwrt/pull/24442 Signed-off-by: Jonas Jelonek --- .../linux/mvebu/cortexa53/base-files/lib/upgrade/platform.sh | 3 +++ 1 file changed, 3 insertions(+) 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 8b8149c96b2..e62e72ba55d 100755 --- a/target/linux/mvebu/cortexa53/base-files/lib/upgrade/platform.sh +++ b/target/linux/mvebu/cortexa53/base-files/lib/upgrade/platform.sh @@ -43,6 +43,7 @@ methode_update_active_bootscript() { platform_check_image() { case "$(board_name)" in + cznic,turris-mox|\ glinet,gl-mv1000|\ globalscale,espressobin|\ globalscale,espressobin-emmc|\ @@ -59,6 +60,7 @@ platform_check_image() { platform_do_upgrade() { case "$(board_name)" in + cznic,turris-mox|\ glinet,gl-mv1000|\ globalscale,espressobin|\ globalscale,espressobin-emmc|\ @@ -117,6 +119,7 @@ platform_do_upgrade() { } platform_copy_config() { case "$(board_name)" in + cznic,turris-mox|\ glinet,gl-mv1000|\ globalscale,espressobin|\ globalscale,espressobin-emmc|\