imx93 evk wifi image add in core-image-minimal

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

imx93 evk wifi image add in core-image-minimal

Jump to solution
2,079 Views
sbmd_1234
Contributor III

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.

0 Kudos
Reply
1 Solution
1,814 Views
sbmd_1234
Contributor III

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.

View solution in original post

0 Kudos
Reply
7 Replies
2,034 Views
weidong_sun
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply
2,016 Views
sbmd_1234
Contributor III

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.

0 Kudos
Reply
2,014 Views
weidong_sun
NXP TechSupport
NXP TechSupport

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

weidong_sun_0-1731910732904.png

 

Regards,

weidong

0 Kudos
Reply
2,010 Views
sbmd_1234
Contributor III

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.

0 Kudos
Reply
1,966 Views
sbmd_1234
Contributor III

Hi,

Please suggest what to do next regarding this I need to bring up WIFI with core-image-minimal.

Thanks for your understanding.


Thanks.

0 Kudos
Reply
1,910 Views
weidong_sun
NXP TechSupport
NXP TechSupport

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!

weidong_sun_0-1732169541349.png

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

0 Kudos
Reply
1,815 Views
sbmd_1234
Contributor III

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.

0 Kudos
Reply