diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2022-11-26 16:30:37 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-26 16:30:37 -0300 |
| commit | 0e4272291f929054ab5e3a3951da455470ccb96f (patch) | |
| tree | 83e502b476ee65f1ed1da56ea370c55734e9d46f /classes | |
| parent | 2375425cd54f9ac293ccd60ed9350f9b4c6db20e (diff) | |
| parent | bfd95d9c437b5d5b2b9069721ed224e7b8837074 (diff) | |
| download | meta-freescale-0e4272291f929054ab5e3a3951da455470ccb96f.tar.gz | |
Merge pull request #1311 from boundarydevices/master
imx-boot-container: add extra firmware copy from deploydir
Diffstat (limited to 'classes')
| -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 a420b4c4b..aa897045b 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 |
