<?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: How to configure Yocto to enable WiFi/BT on the i.MX8 Mini EVK in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-Yocto-to-enable-WiFi-BT-on-the-i-MX8-Mini-EVK/m-p/1378411#M183682</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm not sure if your problem could be related to the image you are generating (&lt;STRONG&gt;core-image-full-cmdline&lt;/STRONG&gt;). You can try with the ones provided by &lt;EM&gt;Table 1&lt;/EM&gt; in&amp;nbsp;&lt;EM&gt;IMXLXYOCTOUG&lt;/EM&gt;, page 8/22:&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf" target="_blank"&gt;i.MX Yocto Project User's Guide (nxp.com).&lt;/A&gt; I suggest you try&amp;nbsp;&lt;STRONG&gt;imx-image-full&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just posted this article, you may find it helpful:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-use-Bluetooth-on-i-MX8M-boards/ta-p/1378407" target="_blank"&gt;How to use Bluetooth on i.MX8M boards - NXP Community&lt;/A&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Nov 2021 22:33:19 GMT</pubDate>
    <dc:creator>alberto_alvarez</dc:creator>
    <dc:date>2021-11-29T22:33:19Z</dc:date>
    <item>
      <title>How to configure Yocto to enable WiFi/BT on the i.MX8 Mini EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-Yocto-to-enable-WiFi-BT-on-the-i-MX8-Mini-EVK/m-p/1378405#M183681</link>
      <description>&lt;P&gt;I am starting to work with the i.MX8 Mini EVK ( 8MMINILPD4-EVKB ). I can build an image for the device and flash it's eMMC with the &lt;STRONG&gt;uuu&lt;/STRONG&gt; tool. I use the latest meta-imx with linux-imx version &lt;STRONG&gt;5.10.52-lts&lt;/STRONG&gt; and Yocto &lt;STRONG&gt;hardknott&lt;/STRONG&gt; branch. The MACHINE target in Yocto is &lt;STRONG&gt;'&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;imx8mmevk'&amp;nbsp;&lt;/STRONG&gt;and the image is based on '&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;core-image-full-cmdline&lt;/STRONG&gt;'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The &lt;A title="datasheet" href="https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/evaluation-kit-for-the-i-mx-8m-mini-applications-processor:8MMINILPD4-EVK" target="_self"&gt;datasheet&lt;/A&gt;&amp;nbsp;&amp;nbsp;says that this EVK contains the following radio:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SDIO Wi-Fi/Bluetooth: AW-CM358SM (NXP 88W8987), Wi-Fi5 (802.11ac) 1x1 Dual-Band (2.4/5 GHz) and Bluetooth 5.1&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The&amp;nbsp;&lt;A title="Linux User's Guide" href="https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf" target="_self"&gt;Linux User's Guide&lt;/A&gt;&amp;nbsp;claims that this radio is supported in linux-imx by the&amp;nbsp;&lt;STRONG&gt;moal&lt;/STRONG&gt; driver.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@device:~# modprobe moal mod_para=nxp/wifi_mod_para.conf&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I run menuconfig for the kernel, there is no radio driver by that name.&lt;/P&gt;&lt;P&gt;I have included the 'linux-firmware' bitbake target and my device has the following files on the root file system:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@device:/lib/firmware/nxp# ls -lrt
total 2780
-rw-r--r-- 1 root root   4261 Mar  9  2018 wifi_mod_para.conf
-rw-r--r-- 1 root root  28376 Mar  9  2018 txpwrlimit_cfg_9098.conf
-rw-r--r-- 1 root root  25516 Mar  9  2018 txpwrlimit_cfg_8997.conf
-rw-r--r-- 1 root root  20963 Mar  9  2018 txpwrlimit_cfg_8987.conf
-rw-r--r-- 1 root root 481712 Mar  9  2018 sdiouartiw416_combo_v0.bin
-rw-r--r-- 1 root root 548308 Mar  9  2018 sdiouart8997_combo_v4.bin
-rw-r--r-- 1 root root 530240 Mar  9  2018 sdiouart8987_combo_v0.bin
-rw-r--r-- 1 root root 620764 Mar  9  2018 pcieuart9098_combo_v1.bin
-rw-r--r-- 1 root root 554644 Mar  9  2018 pcieuart8997_combo_v4.bin
-rw-r--r-- 1 root root   1049 Mar  9  2018 ed_mac_ctrl_V3_909x.conf
-rw-r--r-- 1 root root   1058 Mar  9  2018 ed_mac_ctrl_V3_8997.conf
-rw-r--r-- 1 root root   1058 Mar  9  2018 ed_mac_ctrl_V3_8987.conf&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried enabling the '&lt;STRONG&gt;mwifiex&lt;/STRONG&gt;' driver in the Linux &lt;STRONG&gt;menuconfig&lt;/STRONG&gt;, since it claims to support this radio, but the driver fails to use the provided firmware:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CONFIG_MWIFIEX=m
CONFIG_MWIFIEX_SDIO=m&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@device:/permanent-storage# dmesg
[   78.704225] mwifiex_sdio mmc0:0001:1: info: FW download over, size 623240 bytes
[   94.912462] mwifiex_sdio mmc0:0001:1: FW failed to be active in time
[   94.912480] mwifiex_sdio mmc0:0001:1: info: _mwifiex_fw_dpc: unregister device
[  123.876607] imx-sdma 302b0000.dma-controller: external firmware not found, using ROM firmware&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;How do I configure Yocto to support this radio so that I get a '&lt;STRONG&gt;wlan0&lt;/STRONG&gt;' device? Is the driver I should use called '&lt;STRONG&gt;moal&lt;/STRONG&gt;' or '&lt;STRONG&gt;mwifiex&lt;/STRONG&gt;'? If it is '&lt;STRONG&gt;moal'&lt;/STRONG&gt;, how do I build that driver?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 21:56:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-Yocto-to-enable-WiFi-BT-on-the-i-MX8-Mini-EVK/m-p/1378405#M183681</guid>
      <dc:creator>pclass_sensonix</dc:creator>
      <dc:date>2021-11-29T21:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Yocto to enable WiFi/BT on the i.MX8 Mini EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-Yocto-to-enable-WiFi-BT-on-the-i-MX8-Mini-EVK/m-p/1378411#M183682</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm not sure if your problem could be related to the image you are generating (&lt;STRONG&gt;core-image-full-cmdline&lt;/STRONG&gt;). You can try with the ones provided by &lt;EM&gt;Table 1&lt;/EM&gt; in&amp;nbsp;&lt;EM&gt;IMXLXYOCTOUG&lt;/EM&gt;, page 8/22:&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf" target="_blank"&gt;i.MX Yocto Project User's Guide (nxp.com).&lt;/A&gt; I suggest you try&amp;nbsp;&lt;STRONG&gt;imx-image-full&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just posted this article, you may find it helpful:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-use-Bluetooth-on-i-MX8M-boards/ta-p/1378407" target="_blank"&gt;How to use Bluetooth on i.MX8M boards - NXP Community&lt;/A&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 22:33:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-Yocto-to-enable-WiFi-BT-on-the-i-MX8-Mini-EVK/m-p/1378411#M183682</guid>
      <dc:creator>alberto_alvarez</dc:creator>
      <dc:date>2021-11-29T22:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Yocto to enable WiFi/BT on the i.MX8 Mini EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-Yocto-to-enable-WiFi-BT-on-the-i-MX8-Mini-EVK/m-p/1378432#M183684</link>
      <description>&lt;P&gt;Hi Phil&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;also may be useful UM11483&amp;nbsp; &lt;A id="relatedDocsClick_2" href="https://www.nxp.com/webapp/Download?colCode=UM11483" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Linux OS - User manual (public)&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 00:04:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-Yocto-to-enable-WiFi-BT-on-the-i-MX8-Mini-EVK/m-p/1378432#M183684</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-11-30T00:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Yocto to enable WiFi/BT on the i.MX8 Mini EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-Yocto-to-enable-WiFi-BT-on-the-i-MX8-Mini-EVK/m-p/1378486#M183694</link>
      <description>&lt;P&gt;Thanks for the support. I looked through the meta-freescale and found these:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;nxp-wlan-sdk&lt;/LI&gt;&lt;LI&gt;kernel-module-nxp89xx&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I enabled them in my image and now I have the device!&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@device:/lib/modules/5.10.52-lts-5.10.y+ga11753a89ec6/extra# modprobe moal mod_para=nxp/wifi_mod_para.conf
[  165.897233] wlan: Loading MWLAN driver
[  165.902739] vendor=0x02DF device=0x9149 class=0 function=1
[  165.908602] Attach moal handle ops, card interface type: 0x105
[  165.916088] SD8987: init module param from usr cfg
[  165.920942] card_type: SD8987, config block: 0
[  165.925422] cfg80211_wext=0xf
[  165.928420] wfd_name=p2p
[  165.930963] max_vir_bss=1
[  165.933625] cal_data_cfg=none
[  165.936635] drv_mode = 7
[  165.939176] ps_mode = 2
[  165.941663] auto_ds = 2
[  165.944136] fw_name=nxp/sdiouart8987_combo_v0.bin
[  165.948900] SDIO: max_segs=128 max_seg_size=65535
[  165.953642] rx_work=1 cpu_num=4
[  165.960074] Request firmware: nxp/sdiouart8987_combo_v0.bin
[  167.364415] WLAN FW is active
[  167.367397] on_time is 167363436500
[  167.423278] wlan: version = SD8987----16.92.10.p210.1-MM5X16266.p4-GPL-(FP92) 
[  167.432713] wlan: Driver loaded successfully&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 30 Nov 2021 02:11:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-Yocto-to-enable-WiFi-BT-on-the-i-MX8-Mini-EVK/m-p/1378486#M183694</guid>
      <dc:creator>pclass_sensonix</dc:creator>
      <dc:date>2021-11-30T02:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Yocto to enable WiFi/BT on the i.MX8 Mini EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-Yocto-to-enable-WiFi-BT-on-the-i-MX8-Mini-EVK/m-p/1379028#M183756</link>
      <description>&lt;P&gt;Thank you, I tracked down the requirements in meta-freescale. If I enable the following packages, then wifi works:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# Add WiFi/Bluetooth kernel modules
IMAGE_INSTALL += "\
    nxp-wlan-sdk \
    kernel-module-nxp89xx \
"&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 30 Nov 2021 14:10:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-configure-Yocto-to-enable-WiFi-BT-on-the-i-MX8-Mini-EVK/m-p/1379028#M183756</guid>
      <dc:creator>pclass_sensonix</dc:creator>
      <dc:date>2021-11-30T14:10:15Z</dc:date>
    </item>
  </channel>
</rss>

