mediatek: add compat version to cmcc a10 ubootmod
cmcc_a10-ubootmod stands for custom U-Boot layout in ImmortalWrt 23.05, add compat version to avoid bricking devices. For 24.10+ users you can just ignore the compat warning. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
4e9240e733
commit
4b000293b2
@ -7,6 +7,7 @@ board_config_update
|
||||
case "$(board_name)" in
|
||||
bananapi,bpi-r3-mini|\
|
||||
cetron,ct3003-ubootmod|\
|
||||
cmcc,a10-ubootmod|\
|
||||
livinet,zr-3020-ubootmod)
|
||||
ucidef_set_compat_version "1.2"
|
||||
;;
|
||||
|
@ -592,6 +592,8 @@ define Device/cmcc_a10-ubootmod
|
||||
ARTIFACTS := preloader.bin bl31-uboot.fip
|
||||
ARTIFACT/preloader.bin := mt7981-bl2 spim-nand-ddr3
|
||||
ARTIFACT/bl31-uboot.fip := mt7981-bl31-uboot cmcc_a10
|
||||
DEVICE_COMPAT_VERSION := 1.2
|
||||
DEVICE_COMPAT_MESSAGE := Flash layout changes require bootloader update (for ImmortalWrt 23.05 users)
|
||||
endef
|
||||
TARGET_DEVICES += cmcc_a10-ubootmod
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user