ccmp15/ccmp13: fix BOOTABLE_ARTIFACTS for CCMP1 platforms
In Yocto 5.0, the boot artifacts for CCMP1 platforms are compiled using the opteemin flavor. This commit updates the BOOTABLE_ARTIFACTS definition to reflect that change and properly integrate the boot artifacts into the ZIP installer. Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
parent
185651e6f0
commit
9e6e94d844
|
|
@ -62,6 +62,7 @@ OPTEE_DEVICETREE_optee = "${STM32MP_DEVICETREE}"
|
||||||
OPTEE_DEVICETREE_opteemin = "${STM32MP_DEVICETREE}"
|
OPTEE_DEVICETREE_opteemin = "${STM32MP_DEVICETREE}"
|
||||||
# Supported boot schemes
|
# Supported boot schemes
|
||||||
BOOTSCHEME_LABELS ?= "optee"
|
BOOTSCHEME_LABELS ?= "optee"
|
||||||
|
BOOTSCHEME_DEFAULT ?= "optee"
|
||||||
|
|
||||||
# =========================================================================
|
# =========================================================================
|
||||||
# Machine features
|
# Machine features
|
||||||
|
|
@ -156,8 +157,11 @@ ST_VENDORFS = "0"
|
||||||
|
|
||||||
# Boot artifacts to be copied from the deploy dir to the installer ZIP
|
# Boot artifacts to be copied from the deploy dir to the installer ZIP
|
||||||
BOOTABLE_ARTIFACTS = " \
|
BOOTABLE_ARTIFACTS = " \
|
||||||
arm-trusted-firmware/tf-a-ccmp13-dvk-256MB-nand.stm32 \
|
${@oe.utils.ifelse(d.getVar('TRUSTFENCE_SIGN') == '1', 'tf-a-ccmp13-dvk-256MB-${BOOTSCHEME_DEFAULT}-nand${SIGN_SUFFIX}.stm32', \
|
||||||
fip/fip-ccmp13-dvk-256MB-optee.bin \
|
'tf-a-ccmp13-dvk-256MB-${BOOTSCHEME_DEFAULT}-nand.stm32')} \
|
||||||
|
metadata-ccmp13-dvk.bin \
|
||||||
|
${@oe.utils.ifelse(d.getVar('TRUSTFENCE_SIGN') == '1', 'fip-ccmp13-dvk-256MB-${BOOTSCHEME_DEFAULT}-nand${SIGN_SUFFIX}.bin', \
|
||||||
|
'fip-ccmp13-dvk-256MB-${BOOTSCHEME_DEFAULT}-nand.bin')} \
|
||||||
"
|
"
|
||||||
|
|
||||||
# Default overlayfs_etc mount point and type
|
# Default overlayfs_etc mount point and type
|
||||||
|
|
|
||||||
|
|
@ -72,6 +72,7 @@ OPTEE_DEVICETREE_optee = "${STM32MP_DEVICETREE}"
|
||||||
OPTEE_DEVICETREE_opteemin = "${STM32MP_DEVICETREE}"
|
OPTEE_DEVICETREE_opteemin = "${STM32MP_DEVICETREE}"
|
||||||
# Supported boot schemes
|
# Supported boot schemes
|
||||||
BOOTSCHEME_LABELS ?= "opteemin"
|
BOOTSCHEME_LABELS ?= "opteemin"
|
||||||
|
BOOTSCHEME_DEFAULT ?= "opteemin"
|
||||||
|
|
||||||
# =========================================================================
|
# =========================================================================
|
||||||
# Machine features
|
# Machine features
|
||||||
|
|
@ -168,10 +169,15 @@ ST_USERFS = "0"
|
||||||
|
|
||||||
# Boot artifacts to be copied from the deploy dir to the installer ZIP
|
# Boot artifacts to be copied from the deploy dir to the installer ZIP
|
||||||
BOOTABLE_ARTIFACTS = " \
|
BOOTABLE_ARTIFACTS = " \
|
||||||
arm-trusted-firmware/tf-a-ccmp15-dvk-512MB-nand.stm32 \
|
${@oe.utils.ifelse(d.getVar('TRUSTFENCE_SIGN') == '1', 'tf-a-ccmp15-dvk-512MB-${BOOTSCHEME_DEFAULT}-nand${SIGN_SUFFIX}.stm32', \
|
||||||
arm-trusted-firmware/tf-a-ccmp15-dvk-1GB-nand.stm32 \
|
'tf-a-ccmp15-dvk-512MB-${BOOTSCHEME_DEFAULT}-nand.stm32')} \
|
||||||
fip/fip-ccmp15-dvk-512MB-optee.bin \
|
${@oe.utils.ifelse(d.getVar('TRUSTFENCE_SIGN') == '1', 'tf-a-ccmp15-dvk-1GB-${BOOTSCHEME_DEFAULT}-nand${SIGN_SUFFIX}.stm32', \
|
||||||
fip/fip-ccmp15-dvk-1GB-optee.bin \
|
'tf-a-ccmp15-dvk-1GB-${BOOTSCHEME_DEFAULT}-nand.stm32')} \
|
||||||
|
metadata-ccmp15-dvk.bin \
|
||||||
|
${@oe.utils.ifelse(d.getVar('TRUSTFENCE_SIGN') == '1', 'fip-ccmp15-dvk-512MB-${BOOTSCHEME_DEFAULT}-nand${SIGN_SUFFIX}.bin', \
|
||||||
|
'fip-ccmp15-dvk-512MB-${BOOTSCHEME_DEFAULT}-nand.bin')} \
|
||||||
|
${@oe.utils.ifelse(d.getVar('TRUSTFENCE_SIGN') == '1', 'fip-ccmp15-dvk-1GB-${BOOTSCHEME_DEFAULT}-nand${SIGN_SUFFIX}.bin', \
|
||||||
|
'fip-ccmp15-dvk-1GB-${BOOTSCHEME_DEFAULT}-nand.bin')} \
|
||||||
"
|
"
|
||||||
|
|
||||||
# Default overlayfs_etc mount point and type
|
# Default overlayfs_etc mount point and type
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue