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

Brian Hutchinson

On Tue, Oct 6, 2020 at 12:42 PM, Brian Hutchinson wrote:

Smoking sstate & tmp and trying build again with:

IMAGE_INSTALL_append = " firmware-imx-sdma-imx7d firmware-imx-epdc"
So just finished the above cycle and flashed sdcard.  Think we got somewhere this time!

I get only one instance of sdma error:

[    0.117495] EINJ: ACPI disabled.     
[    0.126332] imx-sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[    0.126346] imx-sdma 302c0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[    0.134253] mxs-dma 33000000.dma-controller: initialized                     
[    0.135378] Bus freq driver module loaded

... of note here is it didn't say it was using ROM version!!!!

And I have firmware package for sdma now:

root@imx8mmevk:~# rpm -qa | grep -i firmware

root@imx8mmevk:/lib/firmware# ls -l
-rw-r--r--    1 root     root          2713 Mar  9 12:34 LICENSE.QualcommAtheros_ath10k
drwxr-xr-x   11 root     root          1024 Mar  9 12:34 ath10k
drwxr-xr-x    4 root     root          1024 Mar  9 12:34 imx
drwxr-xr-x    2 root     root          1024 Mar  9 12:34 qca
drwxr-xr-x    2 root     root          1024 Mar  9 12:34 qca9377
-rw-r--r--    1 root     root          3764 Mar  9 12:34 regulatory.db
-rw-r--r--    1 root     root          1182 Mar  9 12:34 regulatory.db.p7s
drwxr-xr-x    3 root     root          1024 Mar  9 12:34 wlan

... and /lib/firmware/imx/sdma looks like:

root@imx8mmevk:/lib/firmware/imx/sdma# ls

So hopefully this helps with the ALSA issue I was chasing that led me to this sdma issue in the first place!

Thanks guys!  I don't know why core-image-minimal isn't working ... I see there is a
firmware-imx-8m package so maybe I should add it.



Join to automatically receive all group messages.