diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2022-11-26 16:31:01 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-26 16:31:01 -0300 |
commit | eefa361a061ea3571d31a6f1a65d4a24e059eeaf (patch) | |
tree | 68475a4959c8d6fe2bf3ebedaa23f15cfaa3e90f | |
parent | 04f1419518d41db95f3f33d1d82c1d00853715ff (diff) | |
parent | c807d7db6717320a02c7c752b5f1300ed3115e83 (diff) | |
download | meta-freescale-eefa361a061ea3571d31a6f1a65d4a24e059eeaf.tar.gz |
Merge pull request #1313 from Freescale/backport-1311-to-kirkstone
[Backport kirkstone] imx-boot-container: add extra firmware copy from deploydir
-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 |