<?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: WIfi/Bluetooth not working on clean demo Yocto image iMX8Mplus in Wi-Fi® + Bluetooth® + 802.15.4</title>
    <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/WIfi-Bluetooth-not-working-on-clean-demo-Yocto-image-iMX8Mplus/m-p/1813356#M170</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229533"&gt;@dvega&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can check&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ifconfig -a&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The interface is not active, you need issue&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ifconfig mlan0 up&lt;/LI-CODE&gt;
&lt;P&gt;to enable interface.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Shaun&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Feb 2024 03:25:44 GMT</pubDate>
    <dc:creator>shaun_wu</dc:creator>
    <dc:date>2024-02-22T03:25:44Z</dc:date>
    <item>
      <title>WIfi/Bluetooth not working on clean demo Yocto image iMX8Mplus</title>
      <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/WIfi-Bluetooth-not-working-on-clean-demo-Yocto-image-iMX8Mplus/m-p/1813256#M169</link>
      <description>&lt;P&gt;I been having issues building a Yocto image with working wifi and bluetooth. I followed the instructions on the pdf tutorial&lt;BR /&gt;&lt;BR /&gt;Clone the repo and sync:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;$ repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-mickledore -m imx-6.1.36-2.1.0.xml

$ repo sync&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Initialize the build:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;$ DISTRO="fsl-imx-wayland" MACHINE="imx8mp-lpddr4-evk" source imx-setup-release.sh -b imx-builds&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Build the image (no changes where made into the local.conf file):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;$ bitbake imx-image-full&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This generated an image with 18 warnings that doesn't seem important, such as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;WARNING: cinematicexperience-rhi-1.0-r0 do_package_qa: QA Issue: File /usr/src/debug/cinematicexperience-rhi/1.0-r0/.rcc/qrc_cinematic-shaders.cpp in package cinematicexperience-rhi-src contains reference to TMPDIR
WARNING: onnxruntime-1.16.1-r0 do_package_qa: QA Issue: File /usr/bin/onnxruntime-1.16.1/tests/onnxruntime_test_all in package onnxruntime-tests contains reference to TMPDIR [buildpaths]
WARNING: qtbase-6.5.0-r0 do_package_qa: QA Issue: File /usr/lib/qtbase/ptest/tests/auto/dbus/qdbusabstractinterface/pinger_interface.h in package qtbase-ptest contains reference to TMPDIR
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On eMMC mode. I enter the u-boot console and mounted the eMMC memory into my system&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;u-boot=&amp;gt; ums 0 mmc 2
UMS: LUN 0, dev mmc 2, hwpart 0, sector 0x0, count 0x3a68000&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once mounted it. I flashed the memory with the generated image:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$ zstdcat imx-image-full-imx8mp-lpddr4-evk.wic.zst | sudo dd of=/dev/sdc bs=1M conv=fsync status=progress
8934785024 bytes (8.9 GB, 8.3 GiB) copied, 377 s, 23.7 MB/s8938585088 bytes (8.9 GB, 8.3 GiB) copied, 377.181 s, 23.7 MB/s&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once it booted I enter the root user and tried to enable the wifi module:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$ modprobe moal mod_para=nxp/wifi_mod_para.conf
[   48.145268] mlan: loading out-of-tree module taints kernel.
[   48.172891] wlan: Loading MWLAN driver
[   48.177259] wlan: Register to Bus Driver...
[   48.181718] wlan_pcie 0000:01:00.0: enabling device (0000 -&amp;gt; 0002)
[   48.187991] PCI memory map Virt0: 00000000816126a8 PCI memory map Virt2: 0000000003b32c17
[   48.196219] Attach moal handle ops, card interface type: 0x204
[   48.202092] rps set to 0 from module param
[   48.207182] PCIE8997: init module param from usr cfg
[   48.212315] card_type: PCIE8997, config block: 0
[   48.217064] cfg80211_wext=0xf
[   48.220418] max_vir_bss=1
[   48.223236] cal_data_cfg=none
[   48.226238] ps_mode = 1
[   48.228688] auto_ds = 1
[   48.231160] host_mlme=enable
[   48.234059] fw_name=nxp/pcieuart8997_combo_v4.bin
[   48.238793] rx_work=1 cpu_num=4
[   48.241950] Enable moal_recv_amsdu_packet
[   48.245985] Attach mlan adapter operations.card_type is 0x204.
[   48.253868] Request firmware: nxp/pcieuart8997_combo_v4.bin
[   48.861714] FW download over, size 622824 bytes

[   49.566289] WLAN FW is active
[   49.569271] on_time is 49567624625
[   49.610443] FW country code WW does not match with US
[   49.615691] fw_cap_info=0x587c7fa3, dev_cap_mask=0xffffffff
[   49.621295] max_p2p_conn = 8, max_sta_conn = 8
[   49.636091] Register NXP 802.11 Adapter mlan0
[   49.640609] wlan: uap%d set max_mtu 2000
[   49.646391] Register NXP 802.11 Adapter uap0
[   49.656925] Register NXP 802.11 Adapter wfd0
[   49.661291] wlan: version = PCIE8997--16.92.21.p84.4-MM6X16423.p6-GPL-(FP92) 
[   49.671821] wlan: Register to Bus Driver Done
[   49.676455] wlan: Driver loaded successfully&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;After this I was expecting to see the wifi module loaded but to my surprise is not there&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$ ifconfig
eth0: flags=4099&amp;lt;UP,BROADCAST,MULTICAST&amp;gt;  mtu 1500
        ether 00:04:9f:08:3c:8e  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth1: flags=4099&amp;lt;UP,BROADCAST,MULTICAST&amp;gt;  mtu 1500
        ether 00:04:9f:08:3c:8f  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 222  

lo: flags=73&amp;lt;UP,LOOPBACK,RUNNING&amp;gt;  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10&amp;lt;host&amp;gt;
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 104  bytes 8628 (8.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 104  bytes 8628 (8.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why the wifi module is not there? I tried following &lt;A target="_self"&gt;this guide&lt;/A&gt; about wifi modules. The module I have is the AW-CM276MA.&lt;/P&gt;&lt;P&gt;I tried enabling SDIO on M.2 connector by doing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;u-boot=&amp;gt; setenv fdtfile imx8mq-evk-usdhc2-m2.dtb
u-boot=&amp;gt; saveenv
Saving Environment to MMC... Writing to MMC(2)... OK
u-boot=&amp;gt; reset
resetting ...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;But when I do that the os doesn't boot anymore.&lt;/P&gt;&lt;P&gt;I checked other post such as:&lt;/P&gt;&lt;P&gt;&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" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-use-Bluetooth-on-i-MX8M-boards/ta-p/1378407&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="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" target="_blank" rel="noopener"&gt;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&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/Bring-up-wifi-BT-with-Imx8mp-evk-with-yocto-Linux/m-p/1606010" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors/Bring-up-wifi-BT-with-Imx8mp-evk-with-yocto-Linux/m-p/1606010&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I also tried downloading the official &lt;A href="https://www.nxp.com/webapp/Download?colCode=L6.1.22_2.0.0_MX8MP&amp;amp;appType=license" target="_self"&gt;demo image&lt;/A&gt; from NXP Same thing happens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing copy some file?&lt;/P&gt;&lt;P&gt;Do I need to enable something in Yocto?&lt;/P&gt;&lt;P&gt;Do I need to enable something on the kernel config?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 01:19:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/WIfi-Bluetooth-not-working-on-clean-demo-Yocto-image-iMX8Mplus/m-p/1813256#M169</guid>
      <dc:creator>dvega</dc:creator>
      <dc:date>2024-02-22T01:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: WIfi/Bluetooth not working on clean demo Yocto image iMX8Mplus</title>
      <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/WIfi-Bluetooth-not-working-on-clean-demo-Yocto-image-iMX8Mplus/m-p/1813356#M170</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229533"&gt;@dvega&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can check&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ifconfig -a&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The interface is not active, you need issue&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ifconfig mlan0 up&lt;/LI-CODE&gt;
&lt;P&gt;to enable interface.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Shaun&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 03:25:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/WIfi-Bluetooth-not-working-on-clean-demo-Yocto-image-iMX8Mplus/m-p/1813356#M170</guid>
      <dc:creator>shaun_wu</dc:creator>
      <dc:date>2024-02-22T03:25:44Z</dc:date>
    </item>
  </channel>
</rss>

