Hi All,
I’m adding a custom camera driver for TX2 NX module on a custom carrier board that works well with Xavier NX. For that purpose, I inspired from camera-rbpcv2-imx219 and added following dtsi :
kernel_src/hardware/nvidia/platform/t18x/lanai/kernel-dts/common/tegra186-camera-toto.dtsi
kernel_src/hardware/nvidia/platform/t18x/lanai/kernel-dts/common/tegra186-camera-lanai-toto.dtsi
Then modified kernel_src/hardware/nvidia/platform/t18x/lanai/kernel-dts/tegra186-p3636-0001-p3509-0000-a01.dts as below :
//#include "common/tegra186-camera-lanai-rbpcv2-imx219.dtsi"
#include "common/tegra186-camera-lanai-toto.dtsi"
Then I transferred new kernel’s Image, modules, and tegra186-p3636-0001-p3509-0000-a01.dtb to the running board and overrode the existing one to get the new camera registered to the system (under /boot folder).
After rebooting 1st time, the new sensor node did not appear, but the old one (which is the default rbpcv2-imx219 continued to be loaded).
Next I added the FDT entry into /boot/extlinux/extlinux.conf :
LABEL primary
MENU LABEL primary kernel
LINUX /boot/Image
INITRD /boot/initrd
APPEND ${cbootargs} quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 isolcpus=1-2
FDT /boot/tegra186-p3636-0001-p3509-0000-a01.dtb
But after rebooting 2nd time, the system hung at Nvidia logo.
Therefore, I would like to know how to correctly update the dtb of the board, please ?
Thanks and best regards,
K.