mediatek/filogic: fix Totolink X6000R sysupgrade failed
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run

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 7cd10add2d)
Link: https://github.com/openwrt/openwrt/pull/20674
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Ayra Hikari 2025-10-30 19:08:50 +07:00 committed by Hauke Mehrtens
parent 8db7b6ff53
commit 30b7a5f27a

View file

@ -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|\