]> code.ossystems Code Review - meta-freescale.git/commitdiff
firmware-imx: Install HDMI firmware to standard location
authorTom Hochstein <tom.hochstein@nxp.com>
Wed, 12 Jan 2022 16:58:28 +0000 (10:58 -0600)
committerTom Hochstein <tom.hochstein@nxp.com>
Mon, 17 Jan 2022 18:24:39 +0000 (12:24 -0600)
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>
recipes-bsp/firmware-imx/firmware-imx_8.14.bb

index 68539a61634ef94cc584e2bc95515ab5746c631a..5628e40ba248ed3c8e1f25ef203b414894361569 100644 (file)
@@ -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)"