Hi,
As a proof of concept of our project we are using IMX8QXP-MEK board. We are using Yocto as build system and managed to launch core-image-base onto the target with no issues (DISTRO=fsl-imx-wayland and imx8qxp-mek-root.dtb). Now, what we are struggling to launch is st60-2230c wi-fi module (i know that NXP supports Murata, but my supervisors chose this module, so I have to make it work :)). I would like to point out that i am not an expert in integrating of such modules with Linux.
From what I've seen there are no drivers for laird modules in kernel 5.4, only generic Marvel 88W8997 driver. Loading it from menuconfig did not do the trick. I've also loaded kernel-module-pcie8997 present in meta-img/meta-bsp/recipes-kernel/kernel-modules. Upon loading them from within linux system there was no wlan present.
Integration with the use of this guide:
https://www.mouser.com/pdfDocs/CS-AN-ST60-BackportsIntegrationv1_0.pdf
Has lead me to an error:
make: *** [Makefile:41: defconfig-sterling60] Error 1
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/mnt/Yocto/imx-yocto-bsp/build/tmp/work/imx8qxpmek-poky-linux/sterling-backports-laird/8.2.0.17-r0/temp/run.do_compile.2253815' failed with exit code 1:
| /--------------
| | Your kernel headers are incomplete/not installed.
| | Please install kernel headers, including a .config
| | file or use the KLIB/KLIB_BUILD make variables to
| | set the kernel to build against, e.g.
| | make KLIB=/lib/modules/3.1.7/
| | to compile/install for the installed kernel 3.1.7
| | (that isn't currently running.)
| \--
| make: *** [Makefile:41: defconfig-sterling60] Error 1
| WARNING: exit code 1 from a shell command.
Then I've tried to simply integrate laird's layer to my build system:
https://github.com/LairdCP/meta-laird-cp
This lead me to another error:
he recipe sterling-backports-laird is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/mnt/Yocto/imx-yocto-bsp/build/tmp/pkgdata/imx8qxpmek/runtime/kernel-module-btusb-5.4.47-2.2.0+g5ec03d06f54e.packaged
(matched in manifest-imx8qxpmek-linux-imx.packagedata)
/mnt/Yocto/imx-yocto-bsp/build/tmp/pkgdata/imx8qxpmek/runtime/kernel-module-btusb-5.4.47-2.2.0+g5ec03d06f54e
(matched in manifest-imx8qxpmek-linux-imx.packagedata)
Please verify which recipe should provide the above files.
I've tried to remove "wifi bluetooth" options from configuration files as well as kernel modules that come with meta-imx to hopefully exlude kernel-module-btusb.
README section of meta-laird-cp states:
1. Remove cfg80211 and mac80211 from the kernel config
2. Explicitly add the cfg80211 and mac80211 dependencies to the kernel config
I am however not sure what it means, how does one "explicitly add kernel config ?" -> for now it is chosen with make menuconfig.
Could any option chosen in kernel config interfere with this build ?
Does anyone have any experience with integration of such modules and could point me in the right direction?