diff options
-rw-r--r-- | classes/imx-boot-container.bbclass | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/classes/imx-boot-container.bbclass b/classes/imx-boot-container.bbclass index a420b4c4..aa897045 100644 --- a/classes/imx-boot-container.bbclass +++ b/classes/imx-boot-container.bbclass | |||
@@ -28,6 +28,16 @@ | |||
28 | ATF_MACHINE_NAME = "bl31-${ATF_PLATFORM}.bin" | 28 | ATF_MACHINE_NAME = "bl31-${ATF_PLATFORM}.bin" |
29 | ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}" | 29 | ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}" |
30 | 30 | ||
31 | IMX_BOOT_CONTAINER_FIRMWARE_SOC = "" | ||
32 | IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx8mq-generic-bsp = " \ | ||
33 | signed_dp_imx8m.bin \ | ||
34 | signed_hdmi_imx8m.bin \ | ||
35 | " | ||
36 | IMX_BOOT_CONTAINER_FIRMWARE ?= " \ | ||
37 | ${IMX_BOOT_CONTAINER_FIRMWARE_SOC} \ | ||
38 | ${DDR_FIRMWARE_NAME} \ | ||
39 | " | ||
40 | |||
31 | # This package aggregates output deployed by other packages, so set the | 41 | # This package aggregates output deployed by other packages, so set the |
32 | # appropriate dependencies for populate binaries task | 42 | # appropriate dependencies for populate binaries task |
33 | do_resolve_and_populate_binaries[depends] += " \ | 43 | do_resolve_and_populate_binaries[depends] += " \ |
@@ -45,9 +55,9 @@ do_resolve_and_populate_binaries() { | |||
45 | for type in ${UBOOT_CONFIG}; do | 55 | for type in ${UBOOT_CONFIG}; do |
46 | j=$(expr $j + 1); | 56 | j=$(expr $j + 1); |
47 | if [ $j -eq $i ]; then | 57 | if [ $j -eq $i ]; then |
48 | for ddr_firmware in ${DDR_FIRMWARE_NAME}; do | 58 | for firmware in ${IMX_BOOT_CONTAINER_FIRMWARE}; do |
49 | bbnote "Copy ddr_firmware: ${ddr_firmware} from ${DEPLOY_DIR_IMAGE} -> ${B}/${config}/${ddr_firmware_name}" | 59 | bbnote "Copy firmware: ${firmware} from ${DEPLOY_DIR_IMAGE} -> ${B}/${config}/" |
50 | cp ${DEPLOY_DIR_IMAGE}/${ddr_firmware} ${B}/${config}/ | 60 | cp ${DEPLOY_DIR_IMAGE}/${firmware} ${B}/${config}/ |
51 | done | 61 | done |
52 | if [ -n "${ATF_MACHINE_NAME}" ]; then | 62 | if [ -n "${ATF_MACHINE_NAME}" ]; then |
53 | cp ${DEPLOY_DIR_IMAGE}/${ATF_MACHINE_NAME} ${B}/${config}/bl31.bin | 63 | cp ${DEPLOY_DIR_IMAGE}/${ATF_MACHINE_NAME} ${B}/${config}/bl31.bin |