diff options
-rw-r--r-- | recipes-bsp/firmware-imx/firmware-imx-8_8.18.bb | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/recipes-bsp/firmware-imx/firmware-imx-8_8.18.bb b/recipes-bsp/firmware-imx/firmware-imx-8_8.18.bb index 18ce14d3..72a3fb99 100644 --- a/recipes-bsp/firmware-imx/firmware-imx-8_8.18.bb +++ b/recipes-bsp/firmware-imx/firmware-imx-8_8.18.bb | |||
@@ -4,20 +4,36 @@ DESCRIPTION = "Freescale i.MX firmware for 8 family" | |||
4 | 4 | ||
5 | require firmware-imx-${PV}.inc | 5 | require firmware-imx-${PV}.inc |
6 | 6 | ||
7 | inherit deploy | 7 | inherit deploy nopackages |
8 | 8 | ||
9 | do_install[noexec] = "1" | 9 | do_install[noexec] = "1" |
10 | 10 | ||
11 | do_deploy() { | 11 | SOC_FAMILY = "INVALID" |
12 | SOC_FAMILY:mx8-generic-bsp = "mx8" | ||
13 | SOC_FAMILY:mx9-generic-bsp = "mx9" | ||
14 | |||
15 | deploy_mx8() { | ||
12 | # Cadence HDMI | 16 | # Cadence HDMI |
13 | install -m 0644 ${S}/firmware/hdmi/cadence/hdmitxfw.bin ${DEPLOYDIR} | 17 | install -m 0644 ${S}/firmware/hdmi/cadence/hdmitxfw.bin ${DEPLOYDIR} |
14 | install -m 0644 ${S}/firmware/hdmi/cadence/hdmirxfw.bin ${DEPLOYDIR} | 18 | install -m 0644 ${S}/firmware/hdmi/cadence/hdmirxfw.bin ${DEPLOYDIR} |
15 | install -m 0644 ${S}/firmware/hdmi/cadence/dpfw.bin ${DEPLOYDIR} | 19 | install -m 0644 ${S}/firmware/hdmi/cadence/dpfw.bin ${DEPLOYDIR} |
16 | } | 20 | } |
21 | |||
22 | deploy_mx9() { | ||
23 | # Synopsys DDR | ||
24 | for ddr_firmware in ${DDR_FIRMWARE_NAME}; do | ||
25 | install -m 0644 ${S}/firmware/ddr/synopsys/${ddr_firmware} ${DEPLOYDIR} | ||
26 | done | ||
27 | } | ||
28 | |||
29 | do_deploy() { | ||
30 | deploy_${SOC_FAMILY} | ||
31 | } | ||
32 | |||
17 | addtask deploy after do_install before do_build | 33 | addtask deploy after do_install before do_build |
18 | 34 | ||
19 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 35 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
20 | 36 | ||
21 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" | 37 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp|mx9-nxp-bsp)" |
22 | COMPATIBLE_MACHINE:mx8m-nxp-bsp = "(^$)" | 38 | COMPATIBLE_MACHINE:mx8m-nxp-bsp = "(^$)" |
23 | COMPATIBLE_MACHINE:mx8x-nxp-bsp = "(^$)" | 39 | COMPATIBLE_MACHINE:mx8x-nxp-bsp = "(^$)" |