I am trying to port 88w8987 based wifi/bt modem with sdio interface.
I've added IMAGE_INSTALL += " firmware-nxp-wifi"
But for the generated image with yocto project, which I use the latest BSP. I don't see any kernel objects should be built with this recipe such as moal.ko.
root@imx8mp-lpddr4-evk:/# ls lib/firmware/
jailhouse.bin tee-header_v2.bin tee-pageable_v2.bin tee-pager_v2.bin tee-raw.bin tee.bin tee.elf
I don't even have a nxp directory on the firmware folder.
What could be the reason?
Thank you in advance!
Best Regards.
Solved! Go to Solution.
You have to push the 2 drivers .ko and the fw .bin from the building machine to the target.
You will find these files here :
wlan_src/*.ko (ex : mlan.ko et moal.ko)
FwImage/*.bin (ex : sduart8987_combo_v0.bin)
fw .bin has to be put in target directory /lib/firmware/nxp/
Then kernel modules have to be loaded as explained in doc UM11483 (chap "5 Bring-up of Wi-Fi") you will find on product page https://www.nxp.com/products/wireless-connectivity/wi-fi-plus-bluetooth-plus-802-15-4/2-4-5-ghz-dual...
Here is the direct link : https://www.nxp.com/webapp/Download?colCode=UM11483
Could you have a look at NXP doc UM11675 (especially chapter "6.1 i.MX 8M evaluation platform with Yocto"), please ?
Yes, that's the manual I've followed when cross-compiling the firmware, my problem is how I can import these generated binaries and kernel objects from the cross-compilation with the image I've been building with Yocto image.
Thanks!
You have to push the 2 drivers .ko and the fw .bin from the building machine to the target.
You will find these files here :
wlan_src/*.ko (ex : mlan.ko et moal.ko)
FwImage/*.bin (ex : sduart8987_combo_v0.bin)
fw .bin has to be put in target directory /lib/firmware/nxp/
Then kernel modules have to be loaded as explained in doc UM11483 (chap "5 Bring-up of Wi-Fi") you will find on product page https://www.nxp.com/products/wireless-connectivity/wi-fi-plus-bluetooth-plus-802-15-4/2-4-5-ghz-dual...
Here is the direct link : https://www.nxp.com/webapp/Download?colCode=UM11483
Did you follow explanations from doc UM11675 How to Download and Build NXP Wi-Fi Drivers - User manual that you will find on product page https://www.nxp.com/products/wireless-connectivity/wi-fi-plus-bluetooth-plus-802-15-4/2-4-5-ghz-dual... ?
Hello, I’ve cross compiled the driver but to deploy the binaries to the board with the custom image on yocto environment I need a recipe.