i'm trying to build a android image to IMX8QXP and i'm getting the error bellow
I'm using:
Android automotive-13.0.0_1.3.0
IMX8QXP-CPU with MCIMX8-8XBB
kernel 5.15.74
make[2]: Leaving directory '/home/bsp/builder/android_build/out/target/product/mek_8q/obj/KERNEL_OBJ'
make[1]: Leaving directory '/home/bsp/builder/android_build/vendor/nxp-opensource/kernel_imx'
make: Leaving directory '/home/bsp/builder/android_build'
make: Entering directory '/home/bsp/builder/android_build'
mkdir -p /home/bsp/builder/android_build/out/target/product/mek_8q/obj/MXMWIFI_OBJ
echo 'export KERNEL_src=/home/bsp/builder/android_build/out/target/product/mek_8q/obj/KERNEL_OBJ' > /home/bsp/builder/android_build/out/target/product/mek_8q/obj/MXMWIFI_OBJ/kernelenv.sh
echo 'export CROSS_COMPILE=aarch64-linux-gnu-' >> /home/bsp/builder/android_build/out/target/product/mek_8q/obj/MXMWIFI_OBJ/kernelenv.sh
echo 'export ARCH=arm64' >> /home/bsp/builder/android_build/out/target/product/mek_8q/obj/MXMWIFI_OBJ/kernelenv.sh
make[1]: Entering directory '/home/bsp/builder/android_build/vendor/nxp-opensource/nxp-mwifiex/mxm_wifiex/wlan_src'
find . -name "*.o" -exec rm {} \;
find . -name "*.ko" -exec rm {} \;
find . -name ".*.cmd" -exec rm {} \;
find . -name "*.mod.c" -exec rm {} \;
find . -name "Module.symvers" -exec rm {} \;
find . -name "Module.markers" -exec rm {} \;
find . -name "modules.order" -exec rm {} \;
find . -name ".*.dwo" -exec rm {} \;
find . -name "*dwo" -exec rm {} \;
rm -rf .tmp_versions
make -C mapp/mlanutl clean
make[2]: Entering directory '/home/bsp/builder/android_build/vendor/nxp-opensource/nxp-mwifiex/mxm_wifiex/wlan_src'
make[2]: *** mapp/mlanutl: No such file or directory. Stop.
make[2]: Leaving directory '/home/bsp/builder/android_build/vendor/nxp-opensource/nxp-mwifiex/mxm_wifiex/wlan_src'
Makefile:694: recipe for target 'clean' failed
make[1]: *** [clean] Error 2
make[1]: Leaving directory '/home/bsp/builder/android_build/vendor/nxp-opensource/nxp-mwifiex/mxm_wifiex/wlan_src'
vendor/nxp-opensource/nxp-mwifiex/mxm_wifiex/mxmwifi.mk:34: recipe for target 'mxmwifi' failed
make: *** [mxmwifi] Error 2
make: Leaving directory '/home/bsp/builder/android_build'
Hello,
Please download the NXP Wi-Fi Driver Features and Release Notes for Android on you android it looks like they are missing.
For generic arm platform, I suggest you to download their real Linux kernel source code and finish building kernel Image before building Wi-Fi driver. I.MX is also working on arm platform based on Linux OS, so the building method should be similar, please have a try followed my steps.
After building kernel image, the steps of building Wi-Fi Driver is same.
Regards