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,381 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
2,116 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,336 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,318 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,316 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,312 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
2,268 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
2,212 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
2,117 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
%3CLINGO-SUB%20id%3D%22lingo-sub-1995231%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eimx93%20evk%20wifi%20image%20add%20in%20core-image-minimal%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1995231%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20NXP%20Team%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EI%20want%20to%20test%20the%20wifi%20module%20of%20imx93%20evk%20but%20with%20core-image-minimal%20image%20how%20can%20I%20add%20and%20build%20the%20wifi%20image%20with%20core-image-minimal%3F%3CBR%20%2F%3E%3CBR%20%2F%3EPlease%20help%20with%20this.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2002505%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20evk%20wifi%20image%20add%20in%20core-image-minimal%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2002505%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20was%20able%20to%20bringup%20WIFI%20module%20in%20the%20core-image-minimal%20image%20by%20following%20the%20below%20steps%3A%3CBR%20%2F%3E%3CBR%20%2F%3E1.%20loaded%20the%20moal.ko.%3CBR%20%2F%3E%3CBR%20%2F%3EAdded%20the%26nbsp%3Bnxp-wlan-sdk%20in%20the%20local.conf.%3C%2FP%3E%3CP%3E2.%20Added%20the%20%22sduart_nw61x_v1.bin.se%22%20and%20%22wifi_mod_para.conf%22%26nbsp%3B%20in%20the%20%22lib%2Ffirmware%2Fnxp%22.%3CBR%20%2F%3E3.%20Added%20the%20%22wpa_supplicant.conf%22%20file%20in%20%2Fetc%20folder.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%3CBR%20%2F%3EShubham.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1998552%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20evk%20wifi%20image%20add%20in%20core-image-minimal%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1998552%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F229463%22%20target%3D%22_blank%22%3E%40sbmd_1234%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBy%20default%2C%20core-image-minimal%20doesn't%20include%20wifi%20driver.%3C%2FP%3E%0A%3CP%3Eif%20we%20add%20nxp-wlan-sdk%20to%20local.conf%2C%20wifi%20driver%20will%20be%20built.%20See%20below%2C%20please!%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22weidong_sun_0-1732169541349.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22weidong_sun_0-1732169541349.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F311610i143D66EE92B825BB%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22weidong_sun_0-1732169541349.png%22%20alt%3D%22weidong_sun_0-1732169541349.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EBut%20they%20can't%20be%20deployed%20into%20fixed%20path%20in%20rootfs.%3C%2FP%3E%0A%3CP%3Eyou%20can%20copy%20mlan.ko%20%26amp%3B%20moal.ko%20to%20your%20board.%20then%20use%20insmod%20command%20to%20load%20them.%3C%2FP%3E%0A%3CP%3E%23%20insmod%20mlan.ko%3C%2FP%3E%0A%3CP%3E%23%20insmod%20moal.ko%20mod_para%3Dnxp%2Fwifi_mod_para.conf%3C%2FP%3E%0A%3CP%3EBefore%20loading%20driver%2C%20you%20should%20copy%26nbsp%3Bwifi_mod_para.conf%20%26amp%3B%20firmware%20to%20%2Flib%2Ffirmare%2Fnxp%20directory%2C%20if%20no%20nxp%20directory%2C%20create%20it%2C%20please!%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThanks!%3C%2FP%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3Eweidong%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1997728%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20evk%20wifi%20image%20add%20in%20core-image-minimal%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1997728%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3EPlease%20suggest%20what%20to%20do%20next%20regarding%20this%20I%20need%20to%20bring%20up%20WIFI%20with%20core-image-minimal.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20for%20your%20understanding.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1996055%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20evk%20wifi%20image%20add%20in%20core-image-minimal%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1996055%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThis%20%3CSTRONG%3Enxp%3C%2FSTRONG%3E%20folder%20is%20not%20there%20in%26nbsp%3B%3CSTRONG%3E%2Flib%2Ffirmware.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSTRONG%3EI%20am%20getting%20the%20below%20logs%20%3A%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3Eroot%40imx93-11x11-lpddr4x-evk%3A%2Flib%2Ffirmware%23%20modprobe%20moal%20mod_para%3Dnxp%2Fwifi_mod_para.conf%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Emodprobe%3A%20FATAL%3A%20Module%20moal%20not%20found%20in%20directory%20%2Flib%2Fmodules%2F6.1.55%2Bg2e28c2c9fbe0%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSTRONG%3EPlease%20help.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1996023%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20evk%20wifi%20image%20add%20in%20core-image-minimal%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1996023%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F229463%22%20target%3D%22_blank%22%3E%40sbmd_1234%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3Ewifi_mod_para.conf%20file%20should%20be%20at%20%2Flib%2Ffirmware%2Fnxp%20directory%2C%20not%20current%20path.%3C%2FP%3E%0A%3CP%3Eyou%20can%20also%20download%20it%20from%20the%20link%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-imx%2Fimx-firmware%2Ftree%2Flf-6.6.36_2.1.0%2Fnxp%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-imx%2Fimx-firmware%2Ftree%2Flf-6.6.36_2.1.0%2Fnxp%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22weidong_sun_0-1731910732904.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22weidong_sun_0-1731910732904.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F310942iD4AC5ADF646845C1%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22weidong_sun_0-1731910732904.png%22%20alt%3D%22weidong_sun_0-1731910732904.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3Eweidong%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1996011%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20evk%20wifi%20image%20add%20in%20core-image-minimal%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1996011%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F26366%22%20target%3D%22_blank%22%3E%40weidong_sun%3C%2FA%3E%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI've%20added%20the%20line%20in%20local.conf%20as%20you%20suggested%20and%20I%20am%20trying%20to%20load%20the%20wifi%20drivers%20to%20test%20the%20WIFI%20but%20can't%20load%20it%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20running%20the%20below%20command%20%3A%26nbsp%3B%3CBR%20%2F%3E%3CSTRONG%3Emodprobe%20moal%20mod_para%3Dnxp%2Fwifi_mod_para.conf%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAlso%2C%20I%20can't%20find%20the%20below%20conf%20file%26nbsp%3B%26nbsp%3B%3CBR%20%2F%3E%3CSTRONG%3E.%2Ffirmware%2Fnxp%2Fwifi_mod_para.conf%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSTRONG%3EPlease%20tell%20me%20how%20can%20I%20test%20wifi%20because%20still%20I%20can't%20load%20the%20driver.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1995909%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20evk%20wifi%20image%20add%20in%20core-image-minimal%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1995909%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F229463%22%20target%3D%22_blank%22%3E%40sbmd_1234%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ETry%20the%20following%20steps%2C%20please!%3C%2FP%3E%0A%3CP%3E1.%26nbsp%3BDISTRO%3Dfsl-imx-xwayland%20MACHINE%3Dimx93-11x11-lpddr4x-evk%20source%20imx-setup-release.sh%20-b%20build-core-image%3C%2FP%3E%0A%3CP%3E2.%20vim%20conf%2Flocal.conf%3C%2FP%3E%0A%3CP%3Eadd%20the%20line%20%3A%3C%2FP%3E%0A%3CP%3E%3CEM%3EIMAGE_INSTALL%3C%2FEM%3E%3CSPAN%3E%3A%3C%2FSPAN%3E%3CEM%3Eappend%20%3D%20%22%20nxp-wlan-sdk%22%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E3.%26nbsp%3Bbitbake%20core-image-minimal%3C%2FEM%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CEM%3ERegards%2C%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3Eweidong%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E