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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
2,389 次查看
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 项奖励
回复
1 解答
2,364 次查看
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 项奖励
回复
5 回复数
2,365 次查看
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 项奖励
回复
2,346 次查看
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 项奖励
回复
2,334 次查看
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 项奖励
回复
2,321 次查看
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 项奖励
回复
2,285 次查看
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 项奖励
回复