Hi NXP Team,
I want to test the wifi module of imx93 evk but with core-image-minimal image how can I add and build the wifi image with core-image-minimal?
Please help with this.
Thanks.
Solved! Go to Solution.
Hi,
I was able to bringup WIFI module in the core-image-minimal image by following the below steps:
1. loaded the moal.ko.
Added the nxp-wlan-sdk in the local.conf.
2. Added the "sduart_nw61x_v1.bin.se" and "wifi_mod_para.conf" in the "lib/firmware/nxp".
3. Added the "wpa_supplicant.conf" file in /etc folder.
Thanks
Shubham.
Dear @sbmd_1234 ,
Try the following steps, please!
1. DISTRO=fsl-imx-xwayland MACHINE=imx93-11x11-lpddr4x-evk source imx-setup-release.sh -b build-core-image
2. vim conf/local.conf
add the line :
IMAGE_INSTALL:append = " nxp-wlan-sdk"
3. bitbake core-image-minimal
Regards,
weidong
Hi @weidong_sun,
I've added the line in local.conf as you suggested and I am trying to load the wifi drivers to test the WIFI but can't load it,
I am running the below command :
modprobe moal mod_para=nxp/wifi_mod_para.conf
Also, I can't find the below conf file
./firmware/nxp/wifi_mod_para.conf
Please tell me how can I test wifi because still I can't load the driver.
Thanks.
Dear @sbmd_1234 ,
wifi_mod_para.conf file should be at /lib/firmware/nxp directory, not current path.
you can also download it from the link:
https://github.com/nxp-imx/imx-firmware/tree/lf-6.6.36_2.1.0/nxp
Regards,
weidong
Hi,
This nxp folder is not there in /lib/firmware.
I am getting the below logs :
root@imx93-11x11-lpddr4x-evk:/lib/firmware# modprobe moal mod_para=nxp/wifi_mod_para.conf
modprobe: FATAL: Module moal not found in directory /lib/modules/6.1.55+g2e28c2c9fbe0
Please help.
Thanks.
Hi,
Please suggest what to do next regarding this I need to bring up WIFI with core-image-minimal.
Thanks for your understanding.
Thanks.
Dear @sbmd_1234 ,
By default, core-image-minimal doesn't include wifi driver.
if we add nxp-wlan-sdk to local.conf, wifi driver will be built. See below, please!
But they can't be deployed into fixed path in rootfs.
you can copy mlan.ko & moal.ko to your board. then use insmod command to load them.
# insmod mlan.ko
# insmod moal.ko mod_para=nxp/wifi_mod_para.conf
Before loading driver, you should copy wifi_mod_para.conf & firmware to /lib/firmare/nxp directory, if no nxp directory, create it, please!
Thanks!
Regards,
weidong
Hi,
I was able to bringup WIFI module in the core-image-minimal image by following the below steps:
1. loaded the moal.ko.
Added the nxp-wlan-sdk in the local.conf.
2. Added the "sduart_nw61x_v1.bin.se" and "wifi_mod_para.conf" in the "lib/firmware/nxp".
3. Added the "wpa_supplicant.conf" file in /etc folder.
Thanks
Shubham.