I m trying to load one of the camera driver on Nvidia Xavier Nx module. To do this,
I have made toolchain setup and extracted source codes
Placed .c file and edited Makefile and Kconfig under path /nx/source/Linux_for_Tegra/source/public/kernel
/nvidia/drivers/media/i2c/
Then i wanted to disable the default imx219 camera driver. To disable imx219, i commented out the #include “tegra194-camera-jakku-rbpcv2-imx219.dtsi”
line in “tegra194-p3509-0000-a00.dtsi” file
And added my camera dtsi file and included my dtsi in
“tegra194-p3668-common.dtsi” file
but, even after doing this, i notice imx219 dtsi file properties in /proc/device-tree directory
Could you please help me to disable imx219 completely and guide me where and all i have to make changes to include my driver files?
for driver layer, you may update defconfig to disable built this driver, then, its *.o file will not created for your kernel image.
for example, $public_sources/kernel_src/kernel/kernel-5.10/arch/arm64/configs/tegra_defconfig CONFIG_NV_VIDEO_IMX219=n
and… there’re by default some device tree overlay (*.dtbo) files under /boot/, you may delete those imx219 dtbo files if you would like to disable imx219 completely.
removing that include of IMX219 from jakku/kernel-dts/common/tegra194-p3509-0000-a00.dtsi should be enough.
you may not update the customize device tree correctly. please share your steps for reference, thanks
IIRC, Xavier with r32.5 release version was loading device tree binary via kernel-dtb partition.
that you may perform partition flash to update the binary file to this partition individually.