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>
(cherry picked from commit 4b000293b2)
This commit is contained in:
Tianling Shen
2025-02-26 22:50:50 +08:00
parent 78c70ec136
commit f8eeb1ae0b
2 changed files with 3 additions and 0 deletions
@@ -8,6 +8,7 @@ case "$(board_name)" in
bananapi,bpi-r3|\
bananapi,bpi-r3-mini|\
cetron,ct3003-ubootmod|\
cmcc,a10-ubootmod|\
livinet,zr-3020-ubootmod)
ucidef_set_compat_version "1.2"
;;
+2
View File
@@ -590,6 +590,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