Hello,
We are working on a custom board based on iMX8MP chipset derivated from the evaluation board EVK-IMX8MP, and we got FW from NXP version 5.4.70_2.3.2.
We have problems when trying to configure UARTS and SPI with DMA. Looking at this post
https://community.nxp.com/t5/i-MX-Processors/custom-imx8-nano-imx8mn-uart4-tx-working-rx-failing/m-p...
we made interfaces work by disabling dma from uart3, uart4, ecspi1, ecspi2 and ecspi3. We removed "dmas" and "dma-names" features from these nodes at imx8mp.dtsi
Could you please help us to configure dma with these interfaces please?
This is what I get when starting the system:
root@arm:/home# dmesg | grep dma
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.134609] imx-sdma 30bd0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[ 0.134622] imx-sdma 30bd0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[ 0.136043] mxs-dma 33000000.dma-apbh: initialized
[ 1.244065] spi_imx 30820000.spi: dma setup error -19, use pio
[ 1.254431] spi_imx 30830000.spi: dma setup error -19, use pio
[ 1.264717] spi_imx 30840000.spi: dma setup error -19, use pio
[ 6.446371] imx-sdma 30bd0000.dma-controller: loaded firmware 4.5
root@arm:~# ls -l /lib/firmware/imx/
total 20
drwxr-xr-x 2 root root 4096 May 31 08:56 easrc
drwxr-xr-x 2 root root 4096 May 31 08:56 sdma
drwxr-xr-x 2 root root 4096 May 31 08:56 sof
drwxr-xr-x 2 root root 4096 May 31 08:56 sof-tplg
drwxr-xr-x 2 root root 4096 May 31 08:56 xcvr
root@arm:~#
root@arm:~#
root@arm:~# ls -l /lib/firmware/imx/sdma/
total 8
-rw-r--r-- 1 root root 2746 May 31 08:56 sdma-imx6q.bin
-rw-r--r-- 1 root root 2862 May 31 08:56 sdma-imx7d.bin
Best regards and thank you
Angel