summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAyra Hikari2025-10-30 12:08:50 +0000
committerHauke Mehrtens2025-12-14 21:51:17 +0000
commit30b7a5f27aa34aa3392a5f6e1e54b02d30934cde (patch)
tree62b066ffba7506cd84cddda724c63494d37c818c
parent8db7b6ff53042848cb9212069b3ebec33076c38a (diff)
downloadopenwrt-30b7a5f27aa34aa3392a5f6e1e54b02d30934cde.tar.gz
mediatek/filogic: fix Totolink X6000R sysupgrade failed
Fix Totolink X6000R image failing to upgrade via sysupgrade due to an incorrect upgrade case. The fallback upgrade path used the NAND upgrade routine, which caused the "layout volume not found" error on NOR flash devices. By adding a specific case for this board, sysupgrade now uses `default_do_upgrade`, which is compatible with the NOR flash layout. Fixes: 7cd10ad Signed-off-by: Ayra Hikari <ayrahikari@linuxmail.org> (cherry picked from commit 7cd10add2de3c8227cf7383c7ca5cf3b12eeb822) Link: https://github.com/openwrt/openwrt/pull/20674 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rwxr-xr-xtarget/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh b/target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh
index 8ba706f85b..8af61b0289 100755
--- a/target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh
+++ b/target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh
@@ -136,7 +136,8 @@ platform_do_upgrade() {
cudy,re3000-v1|\
cudy,wr3000-v1|\
yuncore,ax835|\
- wavlink,wl-wn573hx3)
+ wavlink,wl-wn573hx3|\
+ totolink,x6000r)
default_do_upgrade "$1"
;;
dlink,aquila-pro-ai-m30-a1|\