[Buildroot] [PATCH v2 1/8] package/freescale-imx/firmware-imx: bump version to 8.10

Romain Naour romain.naour at smile.fr
Wed Jan 13 11:31:04 UTC 2021


Hello Fabio,

Le 13/01/2021 à 12:16, Fabio Estevam a écrit :
> Hi Romain,
> 
> On Wed, Jan 13, 2021 at 5:10 AM Romain Naour <romain.naour at gmail.com> wrote:
> 
>> I'm not sure if we should install the vpu firmware directly in "/lib/firmware/"
>> or "/lib/firmware/vpu". Feel free to submit a patch to discuss about this change.
> 
> Mainline kernels search first inside /lib/firmware and then inside
> /lib/firmware/vpu
> 
> The NXP BSPs search the VPU firmware inside /lib/firmware/vpu, so I
> think we need to use this location, which can make vendor and mainline
> kernels happy.

Ok for me.

> 
> However, it is not working for me if I place it inside
> /lib/firmware/vpu with a 5.10 kernel.
> 
> I will investigate this when I have a chance.

I'm using a kernel 5.10.6 on imx6 (savrelite)

Before moving vpu directory:
# dmesg | grep coda
[   11.805864] coda 2040000.vpu: Direct firmware load for vpu_fw_imx6q.bin
failed with error -2
[   11.814654] coda 2040000.vpu: Falling back to sysfs fallback for:
vpu_fw_imx6q.bin
[   74.713145] coda 2040000.vpu: Direct firmware load for vpu/vpu_fw_imx6q.bin
failed with error -2
[   74.722182] coda 2040000.vpu: Falling back to sysfs fallback for:
vpu/vpu_fw_imx6q.bin
[  136.152801] coda 2040000.vpu: Direct firmware load for v4l-coda960-imx6q.bin
failed with error -2
[  136.161972] coda 2040000.vpu: Falling back to sysfs fallback for:
v4l-coda960-imx6q.bin
[  197.590983] coda 2040000.vpu: firmware request failed
# uname -a
Linux buildroot 5.10.6 #1 SMP Tue Jan 12 15:47:33 CET 2021 armv7l GNU/Linux

After moving vpu directory to /lib/firmware/vpu and reboot:
# dmesg | grep coda
[   12.206789] coda 2040000.vpu: Direct firmware load for vpu_fw_imx6q.bin
failed with error -2
[   12.215594] coda 2040000.vpu: Falling back to sysfs fallback for:
vpu_fw_imx6q.bin
[   74.749483] coda 2040000.vpu: Using fallback firmware vpu/vpu_fw_imx6q.bin
[   74.772346] coda 2040000.vpu: Firmware code revision: 46076
[   74.777985] coda 2040000.vpu: Initialized CODA960.
[   74.783247] coda 2040000.vpu: Firmware version: 3.1.1
[   74.790424] coda 2040000.vpu: encoder registered as video8
[   74.796587] coda 2040000.vpu: decoder registered as video9
[   74.809556] coda 2040000.vpu: encoder registered as video10
[   74.823956] coda 2040000.vpu: decoder registered as video11
# uname -a
Linux buildroot 5.10.6 #1 SMP Tue Jan 12 15:47:33 CET 2021 armv7l GNU/Linux

I don't know why it doesn't work for you.

Best regards,
Romain

> 
> Thanks
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 




More information about the buildroot mailing list