<?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: Yocto build external firmware error</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1232438#M169636</link>
    <description>&lt;P&gt;Please try : bitbake core-image-minimal -f&lt;/P&gt;</description>
    <pubDate>Thu, 18 Feb 2021 01:58:52 GMT</pubDate>
    <dc:creator>jimmychan</dc:creator>
    <dc:date>2021-02-18T01:58:52Z</dc:date>
    <item>
      <title>Yocto build external firmware error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1227957#M169152</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; We are using imx8m mini evk board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BSP Version - 5.4.24 linux bsp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yocto compilation everything was successful but after flashed image file to emmc after booting we are getting error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;NXP i.MX Release Distro 5.4-zeus eht3pt ttymxc1

eht3pt login: root
[   11.873939] audit: type=1006 audit(1609762368.660:2): pid=637 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
root@eht3pt:~# 
root@eht3pt:~# [   60.383197] imx-sdma 302c0000.dma-controller: external firmware not found, using ROM firmware
[   60.383352] imx-sdma 302b0000.dma-controller: external firmware not found, using ROM firmware
[   60.397676] imx-sdma 30bd0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[   60.410759] imx-sdma 30bd0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin

root@eht3pt:~# 
root@eht3pt:~# 
root@eht3pt:~# [   64.479176] cfg80211: failed to load regulatory.db

root@eht3pt:~# 
root@eht3pt:~# 
root@eht3pt:~# 
root@eht3pt:~# [  121.823175] imx-sdma 30bd0000.dma-controller: external firmware not found, using ROM firmware&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Firmware module added into yocto conf file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Why we are getting above errors ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Because of these error reboot also not happening.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please help us to solve this issue.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Vasu&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 12:11:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1227957#M169152</guid>
      <dc:creator>Dhevan</dc:creator>
      <dc:date>2021-02-08T12:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto build external firmware error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1228199#M169168</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;please compile the i.MX SDMA driver as a kernel module (instead of static linking). For further explanation please see my existing answers to the same question.&lt;/P&gt;&lt;P&gt;regards&lt;BR /&gt;Christian&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 19:32:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1228199#M169168</guid>
      <dc:creator>ceggers1</dc:creator>
      <dc:date>2021-02-08T19:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto build external firmware error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1229320#M169303</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/167397"&gt;@ceggers1&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181541"&gt;@Dhevan&lt;/a&gt; , this is the solution from ceggers1&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/imx6-linux-imx-sdma-firmware-load-failed-error/m-p/1193538" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/imx6-linux-imx-sdma-firmware-load-failed-error/m-p/1193538&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 14:01:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1229320#M169303</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2021-02-10T14:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto build external firmware error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1229680#M169361</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Solution 2: Build the imx-sdma driver as a kernel module. At the time when the module is loaded, also the SDMA firmware file will be available.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I had followed above steps but getting same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Followed Steps :&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;bitbake linux-imx -c menuconfig&lt;/LI&gt;&lt;LI&gt;Drivers -&amp;gt; DMA Engine Support -&amp;gt; i.MX SDMA support&amp;nbsp; [M]&lt;/LI&gt;&lt;LI&gt;bitbake linux-imx -f -c compile&lt;/LI&gt;&lt;LI&gt;bitbake core-image-minimal&lt;/LI&gt;&lt;/OL&gt;&lt;LI-CODE lang="markup"&gt;root@eht3pt:~# [   33.763442] VSD_3V3: disabling

root@eht3pt:~# 
root@eht3pt:~# 
root@eht3pt:~# 
root@eht3pt:~# 
root@eht3pt:~# 
root@eht3pt:~# 
root@eht3pt:~# 
root@eht3pt:~# [   64.483565] cfg80211: failed to load regulatory.db
[   66.531570] imx-sdma 302c0000.dma-controller: external firmware not found, using ROM firmware
[   66.531735] imx-sdma 30bd0000.dma-controller: external firmware not found, using ROM firmware
[   66.531778] imx-sdma 302b0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[   66.531784] imx-sdma 302b0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Vasu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 06:38:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1229680#M169361</guid>
      <dc:creator>Dhevan</dc:creator>
      <dc:date>2021-02-11T06:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto build external firmware error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1229705#M169365</link>
      <description>&lt;P&gt;Hi Vasu,&lt;/P&gt;&lt;P&gt;please check&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The kernel config (zgrep SDMA /proc/config.gz)&lt;/LI&gt;&lt;LI&gt;The firmware file (should be located here: /lib/firmware/imx/sdma/sdma-imx7d.bin)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;regards&lt;BR /&gt;Christian&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 07:29:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1229705#M169365</guid>
      <dc:creator>ceggers1</dc:creator>
      <dc:date>2021-02-11T07:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto build external firmware error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1229786#M169379</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/167397"&gt;@ceggers1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The firmware file (should be located here: /lib/firmware/imx/sdma/sdma-imx7d.bin).&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; - bin file not present in the above location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; local.conf added&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; - linux-firmware&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - firmware-imx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Anything else needs to add ?&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Vasu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 09:53:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1229786#M169379</guid>
      <dc:creator>Dhevan</dc:creator>
      <dc:date>2021-02-11T09:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto build external firmware error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1230522#M169448</link>
      <description>&lt;P&gt;Hi Vasu,&lt;/P&gt;&lt;P&gt;does the SDMA firmware file now exist on you file system. If it's still missing, you can download it here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/imx/sdma" target="_blank"&gt;https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/imx/sdma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Do you still have firmware loading problems now?&lt;/P&gt;&lt;P&gt;regards,&lt;BR /&gt;Christian&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 18:24:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1230522#M169448</guid>
      <dc:creator>ceggers1</dc:creator>
      <dc:date>2021-02-12T18:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto build external firmware error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1230821#M169490</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/167397"&gt;@ceggers1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Manually copied into /lib/firmware/imx/sdma/ location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now not showing missing bin file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@eht3pt:~# [   33.759426] VSD_3V3: disabling
root@eht3pt:~# [   64.706124] cfg80211: failed to load regulatory.db&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Why above two line is printing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; How to solve above two line issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Vasu&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 05:51:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1230821#M169490</guid>
      <dc:creator>Dhevan</dc:creator>
      <dc:date>2021-02-15T05:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto build external firmware error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1230823#M169491</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/1422"&gt;@jimmychan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/167397"&gt;@ceggers1&lt;/a&gt; mentioned manually adding method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have added linux-firmware in yocto conf but sdma not added.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; We are using imx8m mini evk board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BSP Version - 5.4.24 linux bsp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Which yocto stable version we need to use ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Latest yocto version also having same issue ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Vasu&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 05:55:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1230823#M169491</guid>
      <dc:creator>Dhevan</dc:creator>
      <dc:date>2021-02-15T05:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto build external firmware error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1232438#M169636</link>
      <description>&lt;P&gt;Please try : bitbake core-image-minimal -f&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 01:58:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-build-external-firmware-error/m-p/1232438#M169636</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2021-02-18T01:58:52Z</dc:date>
    </item>
  </channel>
</rss>

