imx93 evk wifi image add in core-image-minimal

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx93 evk wifi image add in core-image-minimal

ソリューションへジャンプ
2,082件の閲覧回数
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 件の賞賛
返信
1 解決策
1,817件の閲覧回数
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 件の賞賛
返信
7 返答(返信)
2,037件の閲覧回数
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 件の賞賛
返信
2,019件の閲覧回数
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 件の賞賛
返信
2,017件の閲覧回数
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 件の賞賛
返信
2,013件の閲覧回数
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 件の賞賛
返信
1,969件の閲覧回数
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 件の賞賛
返信
1,913件の閲覧回数
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 件の賞賛
返信
1,818件の閲覧回数
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 件の賞賛
返信