<?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>i.MX ProcessorsのトピックAlsa sound card not found when setting Linux kernel configratuon CONFIG_IMX_SDMA=m</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Alsa-sound-card-not-found-when-setting-Linux-kernel-configratuon/m-p/1501266#M193449</link>
    <description>&lt;P&gt;Hi NXP support,&lt;/P&gt;&lt;P&gt;I faced the problem about ALSA sound card detection issue. The reference yocto BSP is imx-yocto-L5.15.32-2.0.0. My board uses iMX6dp and sgtl5000 audio codec.&lt;/P&gt;&lt;P&gt;When I set CONFIG_IMX_SDMA=m or do not set CONFIG_IMX_SDMA the Linux kernel detected sgtl5000 codec, but ALSA device list complained "No soundcards found.". If I make CONFIG_IMX_SDMA=y the sgtl5000 codec is detected, and "ALSA device list" shows "#0: sgtl5000-audio".&lt;/P&gt;&lt;P&gt;On old Yocto BSP version, we set CONFIG_IMX_SDMA=m, and ALSA sound card was detected. I prefer to make CONFIG_IMX_SDMA=m, because we need iMX6 SDMA for the RS-485 communication.&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;Jerry&lt;/P&gt;</description>
    <pubDate>Thu, 04 Aug 2022 16:16:38 GMT</pubDate>
    <dc:creator>jerry_zeng1</dc:creator>
    <dc:date>2022-08-04T16:16:38Z</dc:date>
    <item>
      <title>Alsa sound card not found when setting Linux kernel configratuon CONFIG_IMX_SDMA=m</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Alsa-sound-card-not-found-when-setting-Linux-kernel-configratuon/m-p/1501266#M193449</link>
      <description>&lt;P&gt;Hi NXP support,&lt;/P&gt;&lt;P&gt;I faced the problem about ALSA sound card detection issue. The reference yocto BSP is imx-yocto-L5.15.32-2.0.0. My board uses iMX6dp and sgtl5000 audio codec.&lt;/P&gt;&lt;P&gt;When I set CONFIG_IMX_SDMA=m or do not set CONFIG_IMX_SDMA the Linux kernel detected sgtl5000 codec, but ALSA device list complained "No soundcards found.". If I make CONFIG_IMX_SDMA=y the sgtl5000 codec is detected, and "ALSA device list" shows "#0: sgtl5000-audio".&lt;/P&gt;&lt;P&gt;On old Yocto BSP version, we set CONFIG_IMX_SDMA=m, and ALSA sound card was detected. I prefer to make CONFIG_IMX_SDMA=m, because we need iMX6 SDMA for the RS-485 communication.&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;Jerry&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 16:16:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Alsa-sound-card-not-found-when-setting-Linux-kernel-configratuon/m-p/1501266#M193449</guid>
      <dc:creator>jerry_zeng1</dc:creator>
      <dc:date>2022-08-04T16:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Alsa sound card not found when setting Linux kernel configratuon CONFIG_IMX_SDMA=m</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Alsa-sound-card-not-found-when-setting-Linux-kernel-configratuon/m-p/1515950#M194647</link>
      <description>&lt;P&gt;Is there any error message during boot up?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 03:37:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Alsa-sound-card-not-found-when-setting-Linux-kernel-configratuon/m-p/1515950#M194647</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2022-09-02T03:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Alsa sound card not found when setting Linux kernel configratuon CONFIG_IMX_SDMA=m</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Alsa-sound-card-not-found-when-setting-Linux-kernel-configratuon/m-p/1519720#M194959</link>
      <description>&lt;P&gt;The following is the portion of kernel boot messages for your reference.&lt;/P&gt;&lt;P&gt;1. CONFIG_IMX_SDMA=m&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;[ 2.143352] mxc_vpu 2040000.vpu_fsl: VPU initialized&lt;BR /&gt;[ 2.151141] sgtl5000 0-000a: sgtl5000 revision 0x11&lt;BR /&gt;[ 2.180601] random: fast init done&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;[ 2.535362] fsl-ssi-dai 2028000.ssi: Unbalanced pm_runtime_enable!&lt;BR /&gt;[ 2.542383] ALSA device list:&lt;BR /&gt;[ 2.545397] No soundcards found.&lt;BR /&gt;[ 2.582753] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.&lt;BR /&gt;[ 2.592948] VFS: Mounted root (ext4 filesystem) on device 179:2.&lt;BR /&gt;[ 2.602724] devtmpfs: mounted&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;2. CONFIG_IMX_SDMA=y&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;[ 2.181997] mxc_vpu 2040000.vpu_fsl: VPU initialized&lt;BR /&gt;[ 2.189832] sgtl5000 0-000a: sgtl5000 revision 0x11&lt;BR /&gt;[ 2.219494] random: fast init done&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;[ 2.555106] hub 2-0:1.0: 1 port detected&lt;BR /&gt;[ 2.561200] imx_thermal 20c8000.anatop:tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C&lt;BR /&gt;[ 2.573154] ALSA device list:&lt;BR /&gt;[ 2.576133] #0: sgtl5000-audio&lt;BR /&gt;[ 2.608892] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.&lt;BR /&gt;[ 2.619079] VFS: Mounted root (ext4 filesystem) on device 179:2.&lt;BR /&gt;[ 2.628700] devtmpfs: mounted&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 05:03:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Alsa-sound-card-not-found-when-setting-Linux-kernel-configratuon/m-p/1519720#M194959</guid>
      <dc:creator>jerry_zeng1</dc:creator>
      <dc:date>2022-09-09T05:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Alsa sound card not found when setting Linux kernel configratuon CONFIG_IMX_SDMA=m</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Alsa-sound-card-not-found-when-setting-Linux-kernel-configratuon/m-p/1520923#M195053</link>
      <description>&lt;P&gt;"we need iMX6 SDMA for the RS-485 communication.".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; As you need the SDMA, why not set CONFIG_IMX_SDMA to "y".&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 06:05:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Alsa-sound-card-not-found-when-setting-Linux-kernel-configratuon/m-p/1520923#M195053</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2022-09-13T06:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Alsa sound card not found when setting Linux kernel configratuon CONFIG_IMX_SDMA=m</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Alsa-sound-card-not-found-when-setting-Linux-kernel-configratuon/m-p/1521506#M195092</link>
      <description>&lt;P&gt;When I set CONFIG_IMX_SDMA as "y" Linux kernel failed to load SDMA firmware. You can see it from the following boot messages.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;[ 0.292756] mxc_sdc_fb fb@0: registered mxc display driver ldb&lt;BR /&gt;[ 0.391028] Console: switching to colour frame buffer device 100x30&lt;BR /&gt;[ 0.431837] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with e2&lt;BR /&gt;[ 0.431860] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin&lt;BR /&gt;[ 0.433512] mxs-dma 110000.dma-apbh: initialized&lt;BR /&gt;[ 0.438043] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 30, base_baud = 5000000) is a IMX&lt;BR /&gt;[ 1.397003] printk: console [ttymxc0] enabled&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;My understanding is that the SDMA firmware (sdma-imx6q.bin) is not the part of Linux kernel image. It's why we need to set CONFIG_IMX_SDMA as "m" (kernel module)&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 00:22:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Alsa-sound-card-not-found-when-setting-Linux-kernel-configratuon/m-p/1521506#M195092</guid>
      <dc:creator>jerry_zeng1</dc:creator>
      <dc:date>2022-09-14T00:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Alsa sound card not found when setting Linux kernel configratuon CONFIG_IMX_SDMA=m</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Alsa-sound-card-not-found-when-setting-Linux-kernel-configratuon/m-p/1522635#M195178</link>
      <description>&lt;P&gt;The firmware is in the firmware-imx package.&lt;/P&gt;
&lt;P&gt;You could add "firmware-imx" package in your image building.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 06:55:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Alsa-sound-card-not-found-when-setting-Linux-kernel-configratuon/m-p/1522635#M195178</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2022-09-15T06:55:43Z</dc:date>
    </item>
  </channel>
</rss>

