aboutsummaryrefslogtreecommitdiffstats
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
parent18ce6e9ce5930780c57da0d0760060ef485008cf (diff)
downloadmeta-freescale-cd8925e84e36ee9c62a72b7d70e7f2c5c6b9f11a.tar.gz
meta-freescale-cd8925e84e36ee9c62a72b7d70e7f2c5c6b9f11a.tar.bz2
meta-freescale-cd8925e84e36ee9c62a72b7d70e7f2c5c6b9f11a.zip
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>
-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 @@
# Copyright (C) 2012-2016 Freescale Semiconductor
-# Copyright (C) 2017-2020 NXP
+# Copyright (C) 2017-2021 NXP
# Copyright (C) 2018 O.S. Systems Software LTDA.
SUMMARY = "Freescale i.MX firmware"
DESCRIPTION = "Freescale i.MX firmware such as for the VPU"
@@ -43,10 +43,9 @@ do_install() {
# NOTE:
# Only install pre-defined list of firmware files, since the source archive contains
# also HDMI binary files for imx8m derivatives, which are taken care of by another recipe
- install -d ${D}${nonarch_base_libdir}/firmware/imx/hdmi
- install -m 0644 ${S}/firmware/hdmi/cadence/hdmitxfw.bin ${D}${nonarch_base_libdir}/firmware/imx/hdmi
- install -m 0644 ${S}/firmware/hdmi/cadence/hdmirxfw.bin ${D}${nonarch_base_libdir}/firmware/imx/hdmi
- install -m 0644 ${S}/firmware/hdmi/cadence/dpfw.bin ${D}${nonarch_base_libdir}/firmware/imx/hdmi
+ install -m 0644 ${S}/firmware/hdmi/cadence/hdmitxfw.bin ${D}${nonarch_base_libdir}/firmware
+ install -m 0644 ${S}/firmware/hdmi/cadence/hdmirxfw.bin ${D}${nonarch_base_libdir}/firmware
+ install -m 0644 ${S}/firmware/hdmi/cadence/dpfw.bin ${D}${nonarch_base_libdir}/firmware
# VPU Firmware section
# NOTE:
@@ -124,6 +123,10 @@ PACKAGES_DYNAMIC = "${PN}-vpu-* ${PN}-sdma-* ${PN}-easrc-* ${PN}-xcvr-* ${PN}-xu
PACKAGES = "${PN} ${PN}-epdc ${PN}-hdmi"
FILES:${PN}-epdc = "${nonarch_base_libdir}/firmware/imx/epdc/"
-FILES:${PN}-hdmi = "${nonarch_base_libdir}/firmware/imx/hdmi/"
+FILES:${PN}-hdmi = " \
+ ${nonarch_base_libdir}/firmware/hdmitxfw.bin \
+ ${nonarch_base_libdir}/firmware/hdmirxfw.bin \
+ ${nonarch_base_libdir}/firmware/dpfw.bin \
+"
COMPATIBLE_MACHINE = "(imx|use-mainline-bsp)"