Port eukrea sound for a custom board with imx6 solo processor

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Port eukrea sound for a custom board with imx6 solo processor

905 Views
marcosal
Contributor II

Is it there an example about porting the eukrea-tlv320 to use it in a custom board using an imx6 solo and the audmux port set to  "mux-int-port = <2>;" and "mux-ext-port = <4>; ? If not possible with eukrea other codec might work? I am using kernel 4.9.88. 

I am using ssi2 and i2s. My audmux pinctrl is set:

audmux {

  pinctrl_audmux_2 : audmux-2 {

    fsl,pins = <

      MX6QDL_PAD_SD2_DAT0_AUD4_RXD 0x13008

      MX6QDL_PAD_SD2_DAT3_AUD4_TXC 0x13008

      MX6QDL_PAD_SD2_DAT2_AUD4_TXD 0x13008

      MX6QDL_PAD_SD2_DAT1_AUD4_TXFS 0x13008

    >;

  };

};

Sorry if the question Is very dummy. 

Labels (4)
0 Kudos
3 Replies

720 Views
igorpadykov
NXP Employee
NXP Employee

Hi Marcos

one can look on

TLV320AIC3256 and MX6DL on Linux 4.9 kernel question 

https://community.nxp.com/thread/323017 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

720 Views
marcosal
Contributor II

Thanks a lot Igor, now I was able to register the sound driver and I see in the boot logs that the alsa driver.

 

Right now my problem is an write/read error when I try to send a file using cat to the /dev/audio

cat file.wav > /dev/audio

and I get an write/read error (The error code is returned in the file sound/core/pcm_lib.c - method: wait_for_avail). Maybe I don't have the correct configuration for the ssi2 or dma, I am still debugging. Do you have a clue about what could be happening?

 

Thanks!

0 Kudos

720 Views
igorpadykov
NXP Employee
NXP Employee

Hi Marcos

one can try to test with some unit tests, like

mxc_ssi_test\test - imx-test - i.MX Driver Test Application Software 

and use sect.7.1 Advanced Linux Sound Architecture (ALSA) System on a
Chip (ASoC) Sound attached Linux Manual for debugging.

Also seems it is supported on some third party boards:

[v2,2/4] ARM: dts: pbab01: enable I2S audio on phyFLEX-i.MX6 boards - Patchwork 

phyFLEX-i.MX 6 SOM - Supreme Flexibility | PHYTEC 

Best regards
igor

0 Kudos