Skip to content

Commit 30b7a5f

Browse files
AyraHikarihauke
authored andcommitted
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 <[email protected]> (cherry picked from commit 7cd10ad) Link: openwrt/openwrt#20674 Signed-off-by: Hauke Mehrtens <[email protected]>
1 parent 8db7b6f commit 30b7a5f

File tree

1 file changed

+2
-1
lines changed
  • target/linux/mediatek/filogic/base-files/lib/upgrade

1 file changed

+2
-1
lines changed

target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ platform_do_upgrade() {
136136
cudy,re3000-v1|\
137137
cudy,wr3000-v1|\
138138
yuncore,ax835|\
139-
wavlink,wl-wn573hx3)
139+
wavlink,wl-wn573hx3|\
140+
totolink,x6000r)
140141
default_do_upgrade "$1"
141142
;;
142143
dlink,aquila-pro-ai-m30-a1|\

0 commit comments

Comments
 (0)