We are using IMX8M-PLUS SOM (from variscite) for our audio hardware. The basic requirement for our audio devices is as follows,
We have a multiple TLV320AIC3104 codecs configured to send & receive data in TDM format over SAI lines of IMX8M-PLUS in the given below configuration
First Codec - Channels 0 and 1
Second Codec- Channels 2 and 3
Third Codec - Channels 4 and 5 .... likewise.
The important aspects of our design are,
We are using the Linux kernel version 5.4.70 from variscite and developed the drivers required by ASLA to interface this configuration as follows,
With the ALSA drivers, the sound card is added. But we are not able to use it for playback and capture.
We are getting below error,
aplay -D plug:play0 -v -c 1 005.wav
[ 330.569976] fsl-sai 30c20000.sai: ASoC: can't open component 30c20000.sai: -6
ALSA lib ../../../alsa-lib-1.1.9/src/pcm/pcm_dshare.c:767:(snd_pcm_dshare_open) unable to open slave
The same configuration and drivers are working well in the IMX8M-MINI SOM based on the Yocto Sumo BSP with Linux kernel version 4.14.98, but not working in the IMX8M-PLUS SOM based on the Yocto Zeus BSP with Linux Kernel version 5.4.70.
What could be the issue? Anyone already familiar with this type of issue?
Thanks in advance.
Solved! Go to Solution.
The issue occurred due to the DMA driver. The associated DMA driver was not loaded properly due to the kernel version mismatch.
The issue occurred due to the DMA driver. The associated DMA driver was not loaded properly due to the kernel version mismatch.
Hi,
As you said, it works with Yocto Sumo BSP with Linux kernel version 4.14.98, but not working in the IMX8M-PLUS SOM based on the Yocto Zeus BSP with Linux Kernel version 5.4.70.
So setup seems to be fine.
Its better to go with patch/kernel source investigation which would require lot of effort!!!
Cheers
KrishChan