On i.MX8MQ platform, how to find device driver in ADB shell?
For example, I compile a device driver "ti-sn65dsi86.c"(PATH: vendor/nxp-opensource/kernel_imx/drivers/gpu/drm/bridge/ti-sn65dsi86.c),
and build the following OBJ files successfully.
/out/target/product/chimera/obj/KERNEL_OBJ/drivers/gpu/drm/bridge/ti-sn65dsi86.o
/out/target/product/chimera/obj/KERNEL_OBJ/drivers/gpu/drm/bridge/ti-sn65dsi86.ko
Where is the OBJ files of the device driver I can find after enter ADB shell?
For example, after enter ADB shell, and type command "ls vendor/lib",
the result only show *.so and there is no ti-sn65dsi86.so ?
Would you please tell me the location of drm driver in ADB shell, thanks.
Thank you, I thought it is helpful.
I will study Android-13 document shared by you and do hands-on experiments on our i.MX8MQ EVB(Android-11).
I download reference design of Android Codebase version is imx-android-11.0.0_2.2.0.tar.gz, and i.MX8MQ reference design includes DRM_TI_SN65DSI86 driver.
The commands you provide can not find drm driver of TI SN65DSI86, and there is no /lib/modules directory.
Do you find ti-sn65dsi86 after using the below commands?
# adb shell ls /sys/module
# adb shell ls /lib/modules/
If Yes, could you please show the result of using the above commands, thank you.
Hi @KyleChang,
I hope you are doing well.
Please make sure that you have added drivers to SharedBoardConfig.mk file.
Please refer to 9.2 Changes after GKI enabled (Driver modules - bullet) and 9.3 How to add new drivers in Android User's Guide.
Thanks & Regards,
Dhruvit Vasavada
Hi @KyleChang,
I hope you are doing well.
One can use the below commands
# adb shell ls /sys/module
# adb shell ls /lib/modules/ => for loadable module