We are trying to use ISL79985-EVAL evaluation board from Renesas Electronics for AGX Orin Dev Kit. In this Jetson, we have flashed JetPack-5.0.2 in it.
For the device tree side, we have included the tegra234-p3737-0000-camera-isl79987-a00.dtsi to the tegra234-p3701-0000-p3737-0000.dts file and removed “cvb/tegra234-p3737-camera-modules.dtsi” in it. You can find the generated binaries (Image and tegra234-p3701-0000-p3737-0000.dtb)
For the test side, we are running the following commands to access the camera and save the frames in a RAW file:
$ sudo ./isl79987_script.sh $ v4l2-ctl -d /dev/v4l-subdev1 --set-ctrl test_pattern=1 $ v4l2-ctl --device /dev/video0 --stream-mmap --stream-to=video.raw --stream-count=100
However, we could not access any frames from the camera (the video.raw file’s size is 0).
For debugging this problem we added some printk lines to the kernel/nvidia/drivers/media/platform/tegra/camera/csi/csi.c and the kernel/nvidia/drivers/media/platform/tegra/camera/nvcsi/csi5_fops.c files. Then, we saved the “sudo dmesg” output to the dmesg_logs.txt file and the “cat /sys/kernel/debug/tracing/trace” output to the trace_logs.txt file
dmesg_logs.txt (135.2 KB)
isl79987_script.sh (1.1 KB)
tegra234-p3737-0000-camera-isl79987-a00.dtsi (4.5 KB)
trace_logs.txt (30.4 KB)
device_tree_kernel_for_isl79987.zip (12.3 MB)