I follow all steps in https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf with
DISTRO=fsl-imx-wayland MACHINE=imx8mm-lpddr4-evk source imx-setup-release.sh -b build
and then I build the core-image-base image and write it to an SD card and boot.
Once booted I try to load the moal driver
modprobe moal mod_para=nxp/wifi_mod_para.conf
and I get the following output
[ 60.611524] mlan: loading out-of-tree module taints kernel.
[ 60.658550] wlan: Loading MWLAN driver
[ 60.663632] wlan: Register to Bus Driver...
[ 60.667985] wlan: Register to Bus Driver Done
[ 60.672444] wlan: Driver loaded successfully
but no wifi interfaces show up.
root@imx8mm-lpddr4-evk:~# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq qlen 1000
link/ether 00:04:9f:06:ae:9a brd ff:ff:ff:ff:ff:ff
Am I missing some crucial step? Why can't I see any wifi interfaces?
Solved! Go to Solution.
Hi @maffan!
The difference is on the wifi module, please check the attached images.
Yes, the wifi works with older bsp versions but the new versions of the BSP do not support the wifi device on older imx8mm-evk.
Sorry for the mistake!
Best Regards!
Chavira
Hi @maffan!
Thank you for contacting NXP Support!
The NXP release package already includes all NXP, Wi-Fi/Bluetooth firmware. It requires to accept NXP
license.
To run Wi-Fi, execute the following commands first and follow the common commands below:
• For the following steps, execute these commands using connman
# For all the Wi-Fi modules:
modprobe moal mod_para=nxp/wifi_mod_para.conf
$connmanctl
connmanctl> enable wifi
connmanctl> scan wifi
connmanctl> services /* This should list of the network. For example
wifi_c0e4347f5053_4a62726f_managed_psk*/
connmanctl> agent on
connmanctl> connect wifi_c0e4347f5053_4a62726f_managed_psk /* Enter Passphrase
*/
Agent RequestInput wifi_c0e4347f5053_4a62726f_managed_psk
Passphrase = [ Type=psk, Requirement=mandatory ]
Passphrase?
connmanctl> quit
What version of BSP are you using?
What version of the board do you have?
There are two versions of the board, if you have the version with NXP wifi 88W8987 follow the instructions that I previously I purpose, if you have the old version you don´t have wifi support.
I attached the images of the two versions of the board.
Best Regards!
Chavira
Hi @Chavira and thanks for your reply,
Here's the result from following the commands you provided
root@imx8mm-lpddr4-evk:~# modprobe moal mod_para=nxp/wifi_mod_para.conf
[ 47.124921] mlan: loading out-of-tree module taints kernel.
[ 47.170700] wlan: Loading MWLAN driver
[ 47.174915] wlan: Register to Bus Driver...
[ 47.179316] wlan: Register to Bus Driver Done
[ 47.183714] wlan: Driver loaded successfully
root@imx8mm-lpddr4-evk:~# connmanctl
connmanctl> enable wifi
wifi is not available
I'm using the Mickledore bsp
repo init -u https://github.com/nxp-imx/imx-manifest
-b imx-linux-mickledore -m imx-6.1.36-2.1.0.xml
I don't see any differences between the two pictures you attached, what should I be looking for? I know that WiFi has worked on this board in the past.
Hi @maffan!
The difference is on the wifi module, please check the attached images.
Yes, the wifi works with older bsp versions but the new versions of the BSP do not support the wifi device on older imx8mm-evk.
Sorry for the mistake!
Best Regards!
Chavira
Hi again @Chavira, and thank you for your clarification!
We are indeed using old evaluation kits. Are there any workarounds for this, or are we simply forced to use old BSP versions if we want to use WiFi on these boards?
At which BSP version was support for the old boards dropped?
Kind regards
Marcus
Hi @maffan !
The BSP compatible with the old board with wifi support is the version "L5.4.24_2.1.0" and " L5.4.3_1.0.0"
You can download the pre-compiled image and the documentation by following the link:
Best Regards!
Chavira