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 c48b6ce60da..622f8806044 100755 --- a/target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh +++ b/target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh @@ -192,17 +192,38 @@ PART_NAME=firmware platform_check_image() { local board=$(board_name) - local magic="$(get_magic_long "$1")" [ "$#" -gt 1 ] && return 1 case "$board" in + abt,asr3000|\ asus,zenwifi-bt8-ubootmod|\ bananapi,bpi-r3|\ bananapi,bpi-r3-mini|\ bananapi,bpi-r4|\ bananapi,bpi-r4-poe|\ - cmcc,rax3000m) + cmcc,a10-ubootmod|\ + cmcc,rax3000m|\ + gatonetworks,gdsp|\ + h3c,magic-nx30-pro|\ + jcg,q30-pro|\ + jdcloud,re-cp-03|\ + mediatek,mt7981-rfb|\ + mediatek,mt7988a-rfb|\ + mercusys,mr90x-v1-ubi|\ + nokia,ea0326gmp|\ + openwrt,one|\ + netcore,n60|\ + qihoo,360t7|\ + routerich,ax3000-ubootmod|\ + tplink,tl-xdr4288|\ + tplink,tl-xdr6086|\ + tplink,tl-xdr6088|\ + tplink,tl-xtr8488|\ + xiaomi,mi-router-ax3000t-ubootmod|\ + xiaomi,redmi-router-ax6000-ubootmod|\ + xiaomi,mi-router-wr30u-ubootmod|\ + zyxel,ex5601-t0-ubootmod) [ "$magic" != "d00dfeed" ] && { echo "Invalid image type." return 1