I am Trying to enbale 3rd-CSI Camera in L4T 35.1, and Modified the device-tree configurations for that .Its a 2-Lane CSI Camera and
reffered the link to add port-index :- Tegra Linux Driver
In dmesg getting the following error,
jetson@jetson-desktop:~$ sudo dmesg | grep “imx219”
[sudo] password for jetson:
[ 11.564068] imx219 0-0010: Failed to find port info.
[ 11.564231] imx219 0-0010: Failed to initialize imx219
[ 11.564353] imx219 0-0010: tegra camera driver registration failed
[ 11.598952] imx219: probe of 0-0010 failed with error -61
your port bindings looks incorrect.
you should use CSI-G, and it’s connected to VI-5.
it means… the port index should be port-index=6 for nvcsi, whereas tegra-capture-vi using port-index=5.
BTW,
could you please moving to latest release, which also include bug fixes for camera functions.
Thanks for the update, I have tried the port-Index = 6 for nvcsi and checked the status of CSI Camera in “ls /dev/video”,(device nodes) Now its Camera- 3 is detecting and blank screen is appearing while previewing the Camera and the system is hanging at this stage and rebooting automatically.
may I know the kernel logs while the camera stream enabled?
so, you meant you cannot terminate the pipeline to recover that until watchdog timeout to reboot the system?
it’s reported an invalid NVCSI stream ID, hence the stream is not initialized.
please double check your device tree settings, especially the port bindings.
may I know how your migrate the driver from r32.6 to r35.1?
you may see-also reference driver for comparison,
for example, $public_sources/r35.1/Linux_for_Tegra/source/public/hardware/nvidia/platform/t19x/jakku/kernel-dts/common/tegra194-camera-rbpcv2-imx219.dtsi
may I know how many cameras on your camera board?
do you have all of three cameras well connected, or, it’s only single camera connected for 3rd-CSI verification?
please also share your revised device tree for review again, thanks
There are 3-imx219 - CSI Camera’s Supports to Camera board and all the camera ports are working fine. I have tegra194-camera-rbpcv2-imx219.dtsi (26.3 KB)
verified it and as of now, I have connected only one camera to the 3rd port.
And related to the Revised device tree for CSI Camera (includes CSI-1, CSI-2 and CSI-3)
There are 3-imx219 - CSI Camera’s Supports to Camera board and all the camera ports are working fine. I have verified it and as of now, I have connected only one camera to the 3rd port.
And related to the Revised device tree for CSI Camera (includes CSI-1, CSI-2 and CSI-3)
please also check Port Index session for reference.
since there’re only 5 VI steams available, you should define the camera using CSI-G as following.
i.e. sensor → CSI-G (port-index=6) → VI stream (port-index=5).