Hello Team,
I downloaded kernel source from 5.10.35 from https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.10.35.tar.gz
I built this kernel (cross-compile) and obtained the driver module
panel-ilitek-ili9881c.ko.
I also downloaded 5.10.35 BSP from:
And uuu to my i.MX 8M Nano DDR4 EVK board successfully with:
uuu -b emmc_all imx-boot-imx8mnddr4evk-sd.bin-flash_ddr4_evk imx-image-multimedia-imx8mnevk.wic
Booted it ok. But when I tried to load the module panel-ilitek-ili9881c.ko I was getting these error messages:
[ 3478.914984] panel_ilitek_ili9881c: disagrees about version of symbol regulator_enable
[ 3478.922953] panel_ilitek_ili9881c: Unknown symbol regulator_enable (err -22)
[ 3478.930104] panel_ilitek_ili9881c: disagrees about version of symbol devm_regulator_get
[ 3478.938260] panel_ilitek_ili9881c: Unknown symbol devm_regulator_get (err -22)
[ 3478.945573] panel_ilitek_ili9881c: disagrees about version of symbol regulator_disable
[ 3478.953505] panel_ilitek_ili9881c: Unknown symbol regulator_disable (err -22)
insmod: ERROR: could not insert module panel-ilitek-ili9881c.ko: Invalid parameters
What do I need to do at this point in order to load my driver module panel-ilitek-ili9881c.ko successfully?
Hi,
1. downloading linux documents
2. decompressing it.
3. Getting / compiling linux source code ( u-boot/kernel/rootfs)
According to i.MX_Yocto_Project_User's_Guide.pdf, download yocto bsp and compile it.
Have a good day!
Regards,
weidong
Hi,
5.10.35_2.0.0 kernel source should be downloaded by the command:
# git clone https://source.codeaurora.org/external/imx/linux-imx -b lf-5.10.35-2.0.0
Thanks weidong.
Can you kindly provide the link for the root file system (rootfs) that corresponds to the kernel you indicated in your reply:
5.10.35_2.0.0 kernel source
Regards,
JP