wifi not working imx8m-mini evk on custom yocto-linux

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

wifi not working imx8m-mini evk on custom yocto-linux

Jump to solution
972 Views
vivek338
Contributor IV

Hi !

I am working on imx8m-mini evk board, wifi is not working. No wlan0 device found error. Please find below commands output.

 

root@imx8mmevk:~# ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:04:9f:06:41:cc 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

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
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

root@imx8mmevk:~# ifup wlan0
Successfully initialized wpa_supplicant
rfkill: Cannot get wiphy information
Could not read interface wlan0 flags: No such device
WEXT: Could not set interface 'wlan0' UP
wlan0: Failed to initialize driver interface
wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Cannot find device "wlan0"

 

Please help !!!!!!!!!!!

Thanks in advance !!!!!!!!!!

 

0 Kudos
1 Solution
756 Views
vivek338
Contributor IV

Hi

Issue resolved as I am using older board of IMX8MMINI and I found answer in another forum that the older versions are using Qualcomm wifi chip i.e. QCA9377 and the supported linux version is L5.4.24 . But my question is, is that ok to use older version of linux for further development? if not then how I can install QCA9377 driver in latest linux version.

View solution in original post

0 Kudos
7 Replies
757 Views
vivek338
Contributor IV

Hi

Issue resolved as I am using older board of IMX8MMINI and I found answer in another forum that the older versions are using Qualcomm wifi chip i.e. QCA9377 and the supported linux version is L5.4.24 . But my question is, is that ok to use older version of linux for further development? if not then how I can install QCA9377 driver in latest linux version.

0 Kudos
915 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @vivek338 

Please refer to the document for imx8m-mini evk (How to Integrate 88W8997 to iMX8MM-EVK & L5.4.24_2... - NXP Community)

 

Best regards

Harvey

0 Kudos
896 Views
vivek338
Contributor IV
Thanks for reply !
The document you shared explains integration of 88W8997 external wifi card but imx8mmini have built in wifi chip 88W8987 which is not working.

Please help !
0 Kudos
869 Views
Harvey021
NXP TechSupport
NXP TechSupport

You can use modprobe to load driver and firmware then use wifi. Images from Yocto and Prebuild both should include them in it.

 

Best regards

Harvey

0 Kudos
861 Views
vivek338
Contributor IV
Hi !
Please view below outputs, still wifi not working.

root@imx8mmevk:~# modprobe moal mod_para=nxp/wifi_mod_para.conf

[ 900.979713] wlan: Loading MWLAN driver
[ 900.984431] wlan: Register to Bus Driver...
[ 900.988786] wlan: Register to Bus Driver Done
[ 900.993199] wlan: Driver loaded successfully


root@imx8mmevk:~# ifconfig -a
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:04:9f:06:41:cc 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

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 816 bytes 52012 (50.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 816 bytes 52012 (50.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
0 Kudos
846 Views
Harvey021
NXP TechSupport
NXP TechSupport

From the log, there seem no wifi related drivers and firmware loaded from your current image. 

You can try the document that I shared with you or try our prebuild (Embedded Linux for i.MX Applications Processors | NXP Semiconductors) or build it by yocto.

 

Best regards

Harvey

0 Kudos
796 Views
vivek338
Contributor IV
Hi !
I tried imx-image-full but still wifi not working, please help !
0 Kudos