<?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のトピックRe: L4.19.35 sdma load firmware timeout</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/L4-19-35-sdma-load-firmware-timeout/m-p/1607437#M202175</link>
    <description>&lt;P&gt;Another option is to change the default firmware_callback_config loading_timeout/old_timeout.&lt;/P&gt;&lt;P&gt;drivers/base/firmware_loader/fallback_table.c&lt;/P&gt;&lt;P&gt;This doesn't avoid the timeout message, it does however mean that the 2nd attempt to load the firmware can be made to happen without waiting 1 minute. So you can set a timeout that ensures that the rootfs is mounted first, in our case 3 seconds.&lt;/P&gt;&lt;P&gt;This solution avoids integrating the firmware into the kernel.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Mar 2023 07:55:00 GMT</pubDate>
    <dc:creator>matthewmckay-da</dc:creator>
    <dc:date>2023-03-01T07:55:00Z</dc:date>
    <item>
      <title>L4.19.35 sdma load firmware timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/L4-19-35-sdma-load-firmware-timeout/m-p/1089422#M159714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The sdma need to load firmware about&amp;nbsp;imx/sdma/sdma-imx7d.bin, and set the timeout.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Mounting file system slowly will cause sdma to load firmware timeout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;sdma_probe-&amp;gt;sdma_get_firmware-&amp;gt;request_firmware_nowait-&amp;gt;request_firmware_work_func-&amp;gt;_request_firmware-&amp;gt;_request_firmware_prepare-&amp;gt;fw_state_wait-&amp;gt;__fw_state_wait_common(fw_priv, &lt;STRONG&gt;MAX_SCHEDULE_TIMEOUT&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; when the system boot up, I can see the time about 6s&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;[ 1.766634] imx-sdma 30bd0000.sdma: no iram assigned, using external mem&lt;BR /&gt;[ 1.773170] _reuest [imx/sdma/sdma-imx7d.bin]&lt;BR /&gt;[ 1.777900] imx-sdma 302c0000.sdma: no iram assigned, using external mem&lt;BR /&gt;[ 1.784403] _reuest [imx/sdma/sdma-imx7d.bin]&lt;BR /&gt;[ 4.939451] fw_state_wait sdma in&lt;BR /&gt;[ 5.318315] imx-sdma 30bd0000.sdma: Falling back to syfs fallback for: imx/sdma/sdma-imx7d.bin&lt;BR /&gt;[ 6.399701] fw_state_wait sdma out&lt;BR /&gt;[ 6.399799] _reuest out [imx/sdma/sdma-imx7d.bin]&lt;BR /&gt;[ 6.403122] _reuest out [imx/sdma/sdma-imx7d.bin]&lt;BR /&gt;[ 6.403125] begin to cont [imx/sdma/sdma-imx7d.bin]&lt;BR /&gt;[ &lt;STRONG&gt;6.403132&lt;/STRONG&gt;] imx-sdma 302c0000.sdma: external firmware not found, using ROM firmware&lt;BR /&gt;[ 6.431282] begin to cont [imx/sdma/sdma-imx7d.bin]&lt;BR /&gt;[ 6.441618] imx-sdma 30bd0000.sdma: external firmware not found, using ROM firmware&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If i use ubuntu rootfs, it will cast 2s to mount rootfs parition, lead to the load firmware timeout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/106875i4D2ADFADAAF85D67/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Is it possible to load firmware like L4.9.88 does not depend on the file system？&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2020 08:40:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/L4-19-35-sdma-load-firmware-timeout/m-p/1089422#M159714</guid>
      <dc:creator>coindu</dc:creator>
      <dc:date>2020-04-28T08:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: L4.19.35 sdma load firmware timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/L4-19-35-sdma-load-firmware-timeout/m-p/1089423#M159715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi coin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try to reproduce issue on i.MX7D Sabre SD reference board&lt;/P&gt;&lt;P&gt;with Demo Image&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=L4.19.35_1.1.0_MX7D&amp;amp;appType=license" target="_blank"&gt;Linux Binary Demo Files - i.MX 7Dual SabreSD&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If there is special need for fast firmware loading may be recommended to&lt;/P&gt;&lt;P&gt;perform customizations with help of &lt;A class="link-titled" href="https://www.nxp.com/support/support/nxp-engineering-services:SW-SUPPORT" title="https://www.nxp.com/support/support/nxp-engineering-services:SW-SUPPORT"&gt;Commercial Support and Engineering Services | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&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>Sun, 03 May 2020 15:15:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/L4-19-35-sdma-load-firmware-timeout/m-p/1089423#M159715</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-05-03T15:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: L4.19.35 sdma load firmware timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/L4-19-35-sdma-load-firmware-timeout/m-p/1089424#M159716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the way to deal with it， only need build the firmware into kernel image。&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 06:14:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/L4-19-35-sdma-load-firmware-timeout/m-p/1089424#M159716</guid>
      <dc:creator>coindu</dc:creator>
      <dc:date>2020-05-12T06:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: L4.19.35 sdma load firmware timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/L4-19-35-sdma-load-firmware-timeout/m-p/1089425#M159717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi coin ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've met similar problem , and how to build this firmware into kernel image ? Which file should be changed ?&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ida&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 03:16:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/L4-19-35-sdma-load-firmware-timeout/m-p/1089425#M159717</guid>
      <dc:creator>ida_jiang</dc:creator>
      <dc:date>2020-05-26T03:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: L4.19.35 sdma load firmware timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/L4-19-35-sdma-load-firmware-timeout/m-p/1089426#M159718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For your reference&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 04:47:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/L4-19-35-sdma-load-firmware-timeout/m-p/1089426#M159718</guid>
      <dc:creator>coindu</dc:creator>
      <dc:date>2020-05-26T04:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: L4.19.35 sdma load firmware timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/L4-19-35-sdma-load-firmware-timeout/m-p/1089427#M159719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks ! !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 06:19:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/L4-19-35-sdma-load-firmware-timeout/m-p/1089427#M159719</guid>
      <dc:creator>ida_jiang</dc:creator>
      <dc:date>2020-05-26T06:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: L4.19.35 sdma load firmware timeout</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/L4-19-35-sdma-load-firmware-timeout/m-p/1607437#M202175</link>
      <description>&lt;P&gt;Another option is to change the default firmware_callback_config loading_timeout/old_timeout.&lt;/P&gt;&lt;P&gt;drivers/base/firmware_loader/fallback_table.c&lt;/P&gt;&lt;P&gt;This doesn't avoid the timeout message, it does however mean that the 2nd attempt to load the firmware can be made to happen without waiting 1 minute. So you can set a timeout that ensures that the rootfs is mounted first, in our case 3 seconds.&lt;/P&gt;&lt;P&gt;This solution avoids integrating the firmware into the kernel.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 07:55:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/L4-19-35-sdma-load-firmware-timeout/m-p/1607437#M202175</guid>
      <dc:creator>matthewmckay-da</dc:creator>
      <dc:date>2023-03-01T07:55:00Z</dc:date>
    </item>
  </channel>
</rss>

