Bring up wifi/BT with Imx8mp-evk with yocto Linux

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

Bring up wifi/BT with Imx8mp-evk with yocto Linux

Jump to solution
2,136 Views
rathom3
Contributor II

Hello, 

I am working with imx8mp-evk with Yocto Linux. 

I pull the Yocto linux from “repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-kirkstone -m imx-5.15.71-2.2.0.xml 

I compiled core-image-minimal, and I tested with imx8mp-evk. 

With core-image-minimal I am not able to access wifi/BT. 

Can you suggest how I can bring up WIFI/BT with imx8mp-evk with Yocto Linux minimal OS. 

 

Thanks, in Advanced. 

 

0 Kudos
Reply
1 Solution
2,111 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @rathom3 

To enable Wifi/BT for minimal OS, you need to manually compile its drivers and load it, also including firmware.

You can get driver from: http://source.codeaurora.org/external/imx/mwifiex.git

git checkout to newest tag.

firmware: https://github.com/NXP/imx-firmware/tree/lf-5.10.72_2.2.0/nxp

If you meet issue about compiling and need further support, please raise a new case with documenting compiling Wifi/BT for minimal yocto image. then the case will be got support from our Wifi/BT team's support.

 

Best regards

Harvey

View solution in original post

0 Kudos
Reply
5 Replies
2,112 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @rathom3 

To enable Wifi/BT for minimal OS, you need to manually compile its drivers and load it, also including firmware.

You can get driver from: http://source.codeaurora.org/external/imx/mwifiex.git

git checkout to newest tag.

firmware: https://github.com/NXP/imx-firmware/tree/lf-5.10.72_2.2.0/nxp

If you meet issue about compiling and need further support, please raise a new case with documenting compiling Wifi/BT for minimal yocto image. then the case will be got support from our Wifi/BT team's support.

 

Best regards

Harvey

0 Kudos
Reply
2,093 Views
rathom3
Contributor II

Hello @Harvey021

I am able to compile the driver moal.ko and mlan.ko  with the help of "UM11675
How to Download and Build NXP Wi-Fi Drivers"
 Document and I downloaded the firmware according to my kernel version.

but I am unable to install modules to my core-image-minimal

Can you help me out in that area to install my modules to minimal image.

Thanks

0 Kudos
Reply
2,081 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi 

You can refer to the document (https://www.nxp.com/webapp/Download?colCode=UM11483) to bring up respective of Wifi/BT module.

The document might be helpful for you: How to Integrate 88W8997 to iMX8MM-EVK & L5.4.24_2... - NXP Community

 

Best regards

Harvey

0 Kudos
Reply
2,068 Views
rathom3
Contributor II

Hello @Harvey021 ,

i followed the steps and when i am trying to load the modules with command "modprobe moal mod_para=nxp/wifi_mod_para.conf "

Then i am getting below error

"[ 1705.120012] mlan: unknown parameter 'mod_para' ignored"

 

looks like module is loaded but ignoring the mod_para

 

Thanks,

0 Kudos
Reply
2,032 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi 

Not sure what error it is. Can you check if there is directory /lib/firmware/nxp/ and then any difference comparing with normal wifi_mod_para.conf.

 

Best regards

Harvey

0 Kudos
Reply