ISL79987 MIPI-CSI Problem on AGX Orin

Hello,

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)

Thanks

The trace log tell didn’t receive any validate data from MIPI bus.
Did you probe to confirm if any output dat to MIPI bus?

How can we probe this?

We have tried video strem by v4l2-ctl. However, we could not access any frames (the RAW file was 0 bytes)
v4l2-ctl --device /dev/video0 --stream-mmap --stream-to=video.raw --stream-count=100

Also do you see any problems for the driver implementation?

Using scope to probe the MIPI signal to confirm it.

Thanks

Should we see a data there anyway after boot up? Or should we run a command to see the data such as the one above v4l2-ctl?
Thanks

Yes, need run the v4l2-ctl to start the sensor streaming to probe by scope to confirm.

Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.