ipq807x: WF188n/WF196 dual image support

Fixes: WIFI-14339
Signed-off-by: Ken <xshi@actiontec.com>
This commit is contained in:
Ken
2024-12-27 13:36:33 +08:00
committed by John Crispin
parent 8332ba86e1
commit 71315b140a
3 changed files with 16 additions and 2 deletions

View File

@@ -145,7 +145,13 @@ platform_do_upgrade() {
cig,wf660a)
spi_nor_emmc_do_upgrade_bootconfig $1
;;
cig,wf188n|\
cig,wf188n)
[ -f /proc/boot_info/rootfs/upgradepartition ] && {
CI_UBIPART="$(cat /proc/boot_info/rootfs/upgradepartition)"
CI_BOOTCFG=1
}
nand_upgrade_tar "$1"
;;
glinet,ax1800|\
glinet,axt1800|\
wallys,dr6018|\

View File

@@ -46,8 +46,14 @@ platform_do_upgrade() {
tplink,ex227)
qca_do_upgrade "$1"
;;
cig,wf196)
[ -f /proc/boot_info/rootfs/upgradepartition ] && {
CI_UBIPART="$(cat /proc/boot_info/rootfs/upgradepartition)"
CI_BOOTCFG=1
}
nand_upgrade_tar "$1"
;;
cig,wf194c4|\
cig,wf196|\
tplink,ex447)
nand_upgrade_tar "$1"
;;

View File

@@ -68,6 +68,8 @@ hfcl,ion4xe)
fi
;;
cig,wf186w|\
+cig,wf196|\
+cig,wf188n|\
cig,wf186h|\
yuncore,ax840|\
yuncore,fap655)