I am trying to port the camera driver to launch 12 camera modules on Xavier-Industrial platform.
When I validate the driver behavior for 4 and 8 cameras, everything is good, but some crashed messages occurs when testing 12 cameras.
Below files are the crashed log and my device tree settings.
Please help to provide me some ideas.
may I know which Jetpack release youāre working with? you may check release tag, $ cat /etc/nv_tegra_release for confirmation.
besides, please also narrow down this by refer to Applications Using V4L2 IOCTL Directly for using V4L2 IOCTL to verify basic camera functionality.
R35 (release), REVISION: 2.1, GCID: 32413640, BOARD: t186ref, EABI: aarch64, DATE: Tue Jan 24 23:38:33 UTC 2023
Regarding the V4L2 IOCTL commands, I think it is impossible because the device nodes, /dev/video*, are not generated since nvcsi@15a00000 is not probed successfully.
please check $ ls /dev/video*, it should register video nodes since kernel has reported Detected AR0233 sensor during its initialization stage.
furthermore, please also share the camera device tree settings within tegra-camera-platform {} for checking.
Regarding the sensor detection, yes I can probe the device from camera driver, but the device node can not be generated because the subdev should be relative to nvcsi@15a00000, and the system fails to probe nvcsi.
And I did check and confirmed the device nodes did not exist.
From the log, I notice that tegra_camera_isomgr_register shows some errors for isomgr client of camera before crashed messages, and it seems to be relative to the 15c10000.vi probe.
Is it related with this issue?
Regarding the device tree settings for tegra-camera-platform, I config num_csi_lanes to 24 for 12 camera modules and some crashed messages occur.
However, after changing the value to 16 from 24, I can see the camera nodes without crashed messages, but I donāt know what it meansā¦
Can you give me some suggestions?
wistron@ubuntu:~$ ls /dev/video* -l
crw-rw----+ 1 root video 81, 0 ä¹ 8 17:58 /dev/video0
crw-rw----+ 1 root video 81, 14 ä¹ 8 17:58 /dev/video1
crw-rw----+ 1 root video 81, 32 ä¹ 8 17:59 /dev/video10
crw-rw----+ 1 root video 81, 34 ä¹ 8 17:59 /dev/video11
crw-rw----+ 1 root video 81, 16 ä¹ 8 17:58 /dev/video2
crw-rw----+ 1 root video 81, 18 ä¹ 8 17:58 /dev/video3
crw-rw----+ 1 root video 81, 20 ä¹ 8 17:58 /dev/video4
crw-rw----+ 1 root video 81, 22 ä¹ 8 17:58 /dev/video5
crw-rw----+ 1 root video 81, 24 ä¹ 8 17:58 /dev/video6
crw-rw----+ 1 root video 81, 26 ä¹ 8 17:59 /dev/video7
crw-rw----+ 1 root video 81, 28 ä¹ 8 17:59 /dev/video8
crw-rw----+ 1 root video 81, 30 ä¹ 8 17:59 /dev/video9
letās taking this as an example,
youāve enable 2 CSI bricks, thereāre total 8-lane enabled for your SerDes chip use-case.
hence, you should configured num_csi_lanes = 8; accordingly.