<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Need audio support for i.MX6UltraLite Eval kit in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Need-audio-support-for-i-MX6UltraLite-Eval-kit/m-p/685483#M106041</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Igor,&lt;/P&gt;&lt;P&gt;here is a list of all installed packages related to ALSA&lt;/P&gt;&lt;P&gt;opkg list-installed | grep alsa&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;alsa-lib - 1.0.28-1&lt;BR /&gt;alsa-utils - 1.0.28-2&lt;BR /&gt;alsa-utils-seq - 1.0.28-2&lt;BR /&gt;alsa-utils-tests - 1.0.28-2&lt;BR /&gt;baresip-mod-alsa - 0.4.14-1&lt;BR /&gt;gst1-mod-alsa - 1.4.5-1&lt;BR /&gt;yate-mod-alsachan - 5.5.0-1-1&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Also, I have attached &amp;nbsp;my current Linux .config file.&lt;/P&gt;&lt;P&gt;Do you see any &amp;nbsp;potential problems with Linux configuration ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vitaliy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Jul 2017 09:41:38 GMT</pubDate>
    <dc:creator>vitaliyavramenk</dc:creator>
    <dc:date>2017-07-31T09:41:38Z</dc:date>
    <item>
      <title>Need audio support for i.MX6UltraLite Eval kit</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Need-audio-support-for-i-MX6UltraLite-Eval-kit/m-p/685479#M106037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0px 0px 11px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;We are using MCIMX6UL-EVK: i.MX6UltraLite Evaluation Kit and trying to make Audio work for our system that is operating BSP from Freescale (root@OpenWrt:/usr/media# cat /proc/version&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 11px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;Linux version 4.1.15-224177-gdeb84cd-dirty (ubuntu@ubuntu) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r49363) ) #59 Wed Jul 26 12:08:44 EEST 2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 11px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;root@OpenWrt:/usr/media#). &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 11px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;Linux core on our controller board can detect the&amp;nbsp;IC correctly and create a sound.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 11px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;1.911691] imx-wm8960 sound: wm8960-hifi &amp;lt;-&amp;gt; 202c000.sai mapping ok&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 11px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;1.921954] imx-wm8960 sound: snd-soc-dummy-dai &amp;lt;-&amp;gt; 2034000.asrc mapping ok&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 11px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;1.929720] imx-wm8960 sound: wm8960-hifi &amp;lt;-&amp;gt; 202c000.sai mapping ok&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 11px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;2.266162]&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;#0: wm8960-audio&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 11px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 11px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;Then we installed the necessary ALSA utils to test the sound.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 11px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;ALSAMIXER allows us to adjust the volume.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 11px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;However, we can't play the sound. It fails &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 11px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 11px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;aplay piano2.wav&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 11px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;Playing WAVE 'piano2.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 11px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;aplay: pcm_write:1939: write error: Input/output error&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 11px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 11px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 12:14:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Need-audio-support-for-i-MX6UltraLite-Eval-kit/m-p/685479#M106037</guid>
      <dc:creator>ashishpandit</dc:creator>
      <dc:date>2017-07-27T12:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need audio support for i.MX6UltraLite Eval kit</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Need-audio-support-for-i-MX6UltraLite-Eval-kit/m-p/685480#M106038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check with oscilloscope clock on codec. One can try with nxp bsps described on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/products/developer-resources/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW" title="http://www.nxp.com/products/developer-resources/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW"&gt;i.MX 6 / i.MX 7 Series Software and Development Tool|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To check hardware one also can use wm8960 examples in&lt;/P&gt;&lt;P&gt;Board Support Packages (7) &lt;BR /&gt;SDK2.2_iMX6UL_WIN(REV SDK2.2)&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fproducts%2Fmicrocontrollers-and-processors%2Farm-processors%2Fi.mx-processors%2Fi.mx-6-processors%2Fi.mx-6ultralite-processor-low-power-secure-arm-cortex-a7-core%3Ai.MX6UL%3Ftab%3DDesign_Tools_Tab" rel="nofollow" target="_blank"&gt;http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-processors/i.mx-6-processors/i.mx-6ultralite-processor-low-power-secure-arm-cortex-a7-core:i.MX6UL?tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or use imx-test (mxc_sound_test)&lt;BR /&gt;&lt;A href="https://community.nxp.com/www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.7.tar.gz" target="test_blank"&gt;www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.7.tar.gz&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 23:53:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Need-audio-support-for-i-MX6UltraLite-Eval-kit/m-p/685480#M106038</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-07-28T23:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need audio support for i.MX6UltraLite Eval kit</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Need-audio-support-for-i-MX6UltraLite-Eval-kit/m-p/685481#M106039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;we &amp;nbsp;have checked all the signals with a digital scope.&lt;/P&gt;&lt;P&gt;1. SAI2_MCLK.&lt;BR /&gt;We can see a valid 12288000 Hz clock signal as soon as we execute "aplay piano2.wav".&lt;BR /&gt;See the attached picture&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="mclk.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2396i429DC1A9C26556A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="mclk.JPG" alt="mclk.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the player stops the clock disappears. So far so good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. SAI2_BCLK, SAI2_SYNC, SAI2_TXD.&lt;BR /&gt;We can see problems with all these signals trying to play any sound.&lt;BR /&gt;All these signals are "1" initially.&lt;BR /&gt;As soon as we execute "aplay piano2.wav" all the lines are changed to "0".&lt;BR /&gt;When the player stops ( in exact 10 seconds) they change back to "1".&lt;/P&gt;&lt;P&gt;In other words, we can see some activity. It looks like the sound device is opened&amp;nbsp;&lt;/P&gt;&lt;P&gt;successfully in the player ( so all pins are initialized properly). However, the audio data stream&lt;/P&gt;&lt;P&gt;is not &amp;nbsp;applied.&lt;/P&gt;&lt;P&gt;The same 10-sec behavior we can see with a "speaker-test" command.&lt;/P&gt;&lt;P&gt;It is interesting. &amp;nbsp;When we execute "arecord someFile" all &amp;nbsp;these signals are getting valid.&lt;/P&gt;&lt;P&gt;For example, we can see 250KHz on SAI2_BCLK.&lt;/P&gt;&lt;P&gt;Also, we can see activities/pulses on other SAI lines. IMHO,&amp;nbsp;the SAI2 works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems the ALSA framework &amp;nbsp;stops the stream and returns the error code EIO&lt;BR /&gt;if &amp;nbsp;there is no interrupt for ten seconds.&lt;/P&gt;&lt;P&gt;Probably the interrupts do not work for some reason in our system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cat /proc/interrupts&lt;BR /&gt; CPU0&lt;BR /&gt; 16: 7709 GPC 55 Level i.MX Timer Tick&lt;BR /&gt; 19: 1412 GPC 26 Level 2020000.serial&lt;BR /&gt; 20: 0 GPC 98 Level sai&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any extra ideas ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Vitaliy, Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jul 2017 07:41:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Need-audio-support-for-i-MX6UltraLite-Eval-kit/m-p/685481#M106039</guid>
      <dc:creator>vitaliyavramenk</dc:creator>
      <dc:date>2017-07-29T07:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need audio support for i.MX6UltraLite Eval kit</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Need-audio-support-for-i-MX6UltraLite-Eval-kit/m-p/685482#M106040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vitaliy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;probably alsa was not properly installed, one can try to rebuild whole image&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/353311"&gt;YOCTO project clean&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Jul 2017 23:13:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Need-audio-support-for-i-MX6UltraLite-Eval-kit/m-p/685482#M106040</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-07-30T23:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need audio support for i.MX6UltraLite Eval kit</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Need-audio-support-for-i-MX6UltraLite-Eval-kit/m-p/685483#M106041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Igor,&lt;/P&gt;&lt;P&gt;here is a list of all installed packages related to ALSA&lt;/P&gt;&lt;P&gt;opkg list-installed | grep alsa&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;alsa-lib - 1.0.28-1&lt;BR /&gt;alsa-utils - 1.0.28-2&lt;BR /&gt;alsa-utils-seq - 1.0.28-2&lt;BR /&gt;alsa-utils-tests - 1.0.28-2&lt;BR /&gt;baresip-mod-alsa - 0.4.14-1&lt;BR /&gt;gst1-mod-alsa - 1.4.5-1&lt;BR /&gt;yate-mod-alsachan - 5.5.0-1-1&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Also, I have attached &amp;nbsp;my current Linux .config file.&lt;/P&gt;&lt;P&gt;Do you see any &amp;nbsp;potential problems with Linux configuration ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vitaliy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 09:41:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Need-audio-support-for-i-MX6UltraLite-Eval-kit/m-p/685483#M106041</guid>
      <dc:creator>vitaliyavramenk</dc:creator>
      <dc:date>2017-07-31T09:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need audio support for i.MX6UltraLite Eval kit</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Need-audio-support-for-i-MX6UltraLite-Eval-kit/m-p/685484#M106042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Igor,&lt;/P&gt;&lt;P&gt;finally I &amp;nbsp;could find and install&amp;nbsp;fsl-image-gui-x11-imx6ulevk.sdcard image.&lt;/P&gt;&lt;P&gt;Everything started to work. This image provides Linux core, device tree&amp;nbsp;&lt;/P&gt;&lt;P&gt;and&amp;nbsp;Freescale i.MX Release Distro 4.1.15-1.1.0 &amp;nbsp;roofs.&lt;/P&gt;&lt;P&gt;I have replaced Linux core and device tree . Everything worked again.&lt;/P&gt;&lt;P&gt;It means I don't have problems with hardware, Linux core and device tree.&lt;/P&gt;&lt;P&gt;And the problem comes from OpenWRT distro rootfs.&lt;/P&gt;&lt;P&gt;When the system boots I can see only one different message that appears in the Freescale log&lt;/P&gt;&lt;P&gt;ALSA: Restoring mixer settings...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any experience with ALSA on openWRT systems?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vitaliy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 11:52:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Need-audio-support-for-i-MX6UltraLite-Eval-kit/m-p/685484#M106042</guid>
      <dc:creator>vitaliyavramenk</dc:creator>
      <dc:date>2017-07-31T11:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need audio support for i.MX6UltraLite Eval kit</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Need-audio-support-for-i-MX6UltraLite-Eval-kit/m-p/685485#M106043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Igor,&lt;/P&gt;&lt;P&gt;finally I could solve the issue. I have copied asound.state file from Freescale distro.&lt;/P&gt;&lt;P&gt;Then, in OpenWRT I executed&lt;/P&gt;&lt;P&gt;&amp;nbsp;alsactl --file asound.state restore&lt;/P&gt;&lt;P&gt;Finally, I can play the sound in OpenWRT system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;Vitaliy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 12:14:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Need-audio-support-for-i-MX6UltraLite-Eval-kit/m-p/685485#M106043</guid>
      <dc:creator>vitaliyavramenk</dc:creator>
      <dc:date>2017-07-31T12:14:52Z</dc:date>
    </item>
  </channel>
</rss>

