mediatek: filogic: add missing boards to platform_check_image
Add all boards using uImage.FIT to platform_check_image() case section making sure we are dealing with a FIT image. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
e567f7b617
commit
370a9d5586
1 changed files with 23 additions and 2 deletions
|
@ -192,17 +192,38 @@ PART_NAME=firmware
|
||||||
|
|
||||||
platform_check_image() {
|
platform_check_image() {
|
||||||
local board=$(board_name)
|
local board=$(board_name)
|
||||||
local magic="$(get_magic_long "$1")"
|
|
||||||
|
|
||||||
[ "$#" -gt 1 ] && return 1
|
[ "$#" -gt 1 ] && return 1
|
||||||
|
|
||||||
case "$board" in
|
case "$board" in
|
||||||
|
abt,asr3000|\
|
||||||
asus,zenwifi-bt8-ubootmod|\
|
asus,zenwifi-bt8-ubootmod|\
|
||||||
bananapi,bpi-r3|\
|
bananapi,bpi-r3|\
|
||||||
bananapi,bpi-r3-mini|\
|
bananapi,bpi-r3-mini|\
|
||||||
bananapi,bpi-r4|\
|
bananapi,bpi-r4|\
|
||||||
bananapi,bpi-r4-poe|\
|
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" ] && {
|
[ "$magic" != "d00dfeed" ] && {
|
||||||
echo "Invalid image type."
|
echo "Invalid image type."
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Reference in a new issue