I am working with an i.MX93 EVK board. I had flashed the latest NXPs defualt image into the board, it boots correctly and loads kernel modules (like the moal WiFi driver).
I cloned the linux-imx repository (https://github.com/nxp-imx/linux-imx.git) (tag lf-6.6.52), applied custom DTS and menuconfig changes, and built the Image, DTB, and modules manually. After flashing these to the board and transferring the modules via SCP, the system boots, but modprobe fails with 'Module not found.' I noticed under the /lib/modules directory names differs in default and custom image. my custom build is missing the updates folder .
root@imx93evk:/lib/modules# modprobe moal mod_para=nxp/wifi_mod_para.conf
modprobe: FATAL: Module moal not found in directory /lib/modules/6.6.52-g5a0a5e71d2bd
i have used example_kernel_emmc.uuu script file to flash the board, and to build the dtb file and kernel build.sh script file also used. I will share that please have a look at those files.
In the evk board after flashing the custom dtb file and image file we want all the peripherals working (Wi-Fi, BLE, Display everything) to work similarly when we flash the default image.
Can you please help me with this, how to move forward, did i missed some procedure for that.
Is there official documentation or a reference flow for:
* Custom kernel + DTS + rootfs generation for i.MX93