ccimx93: imx-boot: generate properly named boot artifacts
Although in theory, you can use any label to name the different u-boot build configurations, we have them coupled to machine names in the boot-artifacts bbclass, and also in the default boot artifact filename in the firmware installation scripts. So fix that up for the ccimx93 in the machine config, and create the proper symlinks in the do_deploy imx-boot recipe. Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
5b92d3fcc3
commit
763ddf471b
|
|
@ -5,8 +5,8 @@
|
|||
require include/ccimx93.inc
|
||||
|
||||
# U-Boot configurations
|
||||
UBOOT_CONFIG ??= "ccimx93dvk"
|
||||
UBOOT_CONFIG[ccimx93dvk] = "ccimx93-dvk_defconfig"
|
||||
UBOOT_CONFIG ??= "ccimx93-dvk"
|
||||
UBOOT_CONFIG[ccimx93-dvk] = "ccimx93-dvk_defconfig"
|
||||
UBOOT_DTB_NAME = "ccimx93-dvk.dtb"
|
||||
|
||||
KERNEL_DEVICETREE ?= " \
|
||||
|
|
|
|||
|
|
@ -41,8 +41,12 @@ deploy_mx93() {
|
|||
}
|
||||
|
||||
do_deploy:append() {
|
||||
# DEY install scripts use by default INSTALL_UBOOT_FILENAME="imx-boot-##MACHINE##.bin"
|
||||
ln -sf ${BOOT_CONFIG_MACHINE}-${IMAGE_IMXBOOT_TARGET} ${DEPLOYDIR}/${BOOT_NAME}-${MACHINE}.bin
|
||||
# The boot-artifacts.bbclass expects "imx-boot-<UBOOT_CONFIG>.bin" symlinks, so add them.
|
||||
if [ -n "${UBOOT_CONFIG}" ]; then
|
||||
for type in ${UBOOT_CONFIG}; do
|
||||
ln -sf ${BOOT_NAME}-${MACHINE}-${type}.bin-${IMAGE_IMXBOOT_TARGET} ${DEPLOYDIR}/${BOOT_NAME}-${type}.bin
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
COMPATIBLE_MACHINE = "(mx8-generic-bsp|mx9-generic-bsp)"
|
||||
|
|
|
|||
Loading…
Reference in New Issue