How to get firmware-imx for imx8mm evk into sdcard image? I'm getting firmware loading errors for sdma-imx7d.bin etc.


Brian Hutchinson
 

Just built latest Freescale Community BSP core-image-minimal (kernel 5.4.67 was built) for imx8mm-evk and firmware-imx is not included in sdcard image ... which I think is why I'm getting messages like these:

[    0.127623] imx-sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[    0.127636] imx-sdma 302c0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[    0.135771] mxs-dma 33000000.dma-controller: initialized


[    3.921734] cfg80211: failed to load regulatory.db                    
[    3.939089] imx-sdma 302b0000.dma-controller: external firmware not found, using ROM firmware    
[    3.939090] imx-sdma 30bd0000.dma-controller: external firmware not found, using ROM firmware    
[    3.939186] imx-sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[    3.966989] imx-sdma 302c0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin           
[    4.013621] imx-sdma 302c0000.dma-controller: external firmware not found, using ROM firmware

I found the firmware files in:

build/tmp/work/aarch64-mx8mm-poky-linux/firmware-imx-8m/8.8-r0/firmware-imx-8.8/firmware

... and copied them to the sdcard under /lib/firmware/imx directory but I still get the firmware errors.

How "should" I be getting these firmware binaries into the core-image-minimal sdcard image to also get rid of the firmware loading errors?

I'm using a rev B imx8mm-evk board and using the imx8mm-evk-revb.dtb.

Regards,

Brian

Join meta-freescale@lists.yoctoproject.org to automatically receive all group messages.