]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek/filogic: fix Totolink X6000R sysupgrade failed 20593/head
authorAyra Hikari <ayrahikari@linuxmail.org>
Thu, 30 Oct 2025 12:08:50 +0000 (19:08 +0700)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 31 Oct 2025 10:19:38 +0000 (10:19 +0000)
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>
target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh

index bf8069308be55679d56f37f729cb69fe76bc8d9f..24388b0336dc10a62454e7c0d0b46fe50b6d4e5f 100755 (executable)
@@ -154,7 +154,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|\