summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/firmware-imx
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2022-01-12 10:58:28 -0600
committerTom Hochstein <tom.hochstein@nxp.com>2022-01-17 12:24:39 -0600
commitcd8925e84e36ee9c62a72b7d70e7f2c5c6b9f11a (patch)
tree0dfbf84335f6045f25ccc5423b4031b7aa1da6c4 /recipes-bsp/firmware-imx
parent18ce6e9ce5930780c57da0d0760060ef485008cf (diff)
downloadmeta-freescale-cd8925e84e36ee9c62a72b7d70e7f2c5c6b9f11a.tar.gz
firmware-imx: Install HDMI firmware to standard location
The HDMI firmware is expected to be loaded by firmwared, but it is not found in the rootfs as shown in systemctl status firmwared: ``` Mar 24 10:25:21 imx8qmmek firmwared[571]: firmware 'hdmitxfw.bin' not found Mar 24 10:25:21 imx8qmmek firmwared[571]: cancel firmware load hdmitxfw.bin ``` Move the firmware from the sub-folder /lib/firmware/imx/hdmi to the standard location /lib/firmware. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-bsp/firmware-imx')
-rw-r--r--recipes-bsp/firmware-imx/firmware-imx_8.14.bb15
1 files changed, 9 insertions, 6 deletions
diff --git a/recipes-bsp/firmware-imx/firmware-imx_8.14.bb b/recipes-bsp/firmware-imx/firmware-imx_8.14.bb
index 68539a61..5628e40b 100644
--- a/recipes-bsp/firmware-imx/firmware-imx_8.14.bb
+++ b/recipes-bsp/firmware-imx/firmware-imx_8.14.bb
@@ -1,5 +1,5 @@
1# Copyright (C) 2012-2016 Freescale Semiconductor 1# Copyright (C) 2012-2016 Freescale Semiconductor
2# Copyright (C) 2017-2020 NXP 2# Copyright (C) 2017-2021 NXP
3# Copyright (C) 2018 O.S. Systems Software LTDA. 3# Copyright (C) 2018 O.S. Systems Software LTDA.
4SUMMARY = "Freescale i.MX firmware" 4SUMMARY = "Freescale i.MX firmware"
5DESCRIPTION = "Freescale i.MX firmware such as for the VPU" 5DESCRIPTION = "Freescale i.MX firmware such as for the VPU"
@@ -43,10 +43,9 @@ do_install() {
43 # NOTE: 43 # NOTE:
44 # Only install pre-defined list of firmware files, since the source archive contains 44 # Only install pre-defined list of firmware files, since the source archive contains
45 # also HDMI binary files for imx8m derivatives, which are taken care of by another recipe 45 # also HDMI binary files for imx8m derivatives, which are taken care of by another recipe
46 install -d ${D}${nonarch_base_libdir}/firmware/imx/hdmi 46 install -m 0644 ${S}/firmware/hdmi/cadence/hdmitxfw.bin ${D}${nonarch_base_libdir}/firmware
47 install -m 0644 ${S}/firmware/hdmi/cadence/hdmitxfw.bin ${D}${nonarch_base_libdir}/firmware/imx/hdmi 47 install -m 0644 ${S}/firmware/hdmi/cadence/hdmirxfw.bin ${D}${nonarch_base_libdir}/firmware
48 install -m 0644 ${S}/firmware/hdmi/cadence/hdmirxfw.bin ${D}${nonarch_base_libdir}/firmware/imx/hdmi 48 install -m 0644 ${S}/firmware/hdmi/cadence/dpfw.bin ${D}${nonarch_base_libdir}/firmware
49 install -m 0644 ${S}/firmware/hdmi/cadence/dpfw.bin ${D}${nonarch_base_libdir}/firmware/imx/hdmi
50 49
51 # VPU Firmware section 50 # VPU Firmware section
52 # NOTE: 51 # NOTE:
@@ -124,6 +123,10 @@ PACKAGES_DYNAMIC = "${PN}-vpu-* ${PN}-sdma-* ${PN}-easrc-* ${PN}-xcvr-* ${PN}-xu
124PACKAGES = "${PN} ${PN}-epdc ${PN}-hdmi" 123PACKAGES = "${PN} ${PN}-epdc ${PN}-hdmi"
125 124
126FILES:${PN}-epdc = "${nonarch_base_libdir}/firmware/imx/epdc/" 125FILES:${PN}-epdc = "${nonarch_base_libdir}/firmware/imx/epdc/"
127FILES:${PN}-hdmi = "${nonarch_base_libdir}/firmware/imx/hdmi/" 126FILES:${PN}-hdmi = " \
127 ${nonarch_base_libdir}/firmware/hdmitxfw.bin \
128 ${nonarch_base_libdir}/firmware/hdmirxfw.bin \
129 ${nonarch_base_libdir}/firmware/dpfw.bin \
130"
128 131
129COMPATIBLE_MACHINE = "(imx|use-mainline-bsp)" 132COMPATIBLE_MACHINE = "(imx|use-mainline-bsp)"