The camera in port3 area is lit, why is there no picture?

Hi All,
I use 2 imx390 to light up the camera using port 3, why can’t I get a picture? All other ports are ok, please help me check, thank you.

test command:

v4l2-ctl -d /dev/gmsl5 --set-ctrl sensor_mode=0 --set-fmt-video=width=1920,height=1080,pixelformat=YUYV --stream-mmap=3 --stream-skip=3 --stream-count=1 --stream-poll --stream-to=-|ffmpeg -loglevel quiet -f rawvideo -s 1920x1080 -pix_fmt yuyv422 -i - /tmp/gmsl5_output.jpeg

soft version:

root@tegra:/sys/kernel/debug/dynamic_debug# cat /etc/nv_tegra_release
# R35 (release), REVISION: 4.1, GCID: 33958178, BOARD: t186ref, EABI: aarch64, DATE: Tue Aug  1 19:57:35 UTC 2023

dmesg.txt (9.6 KB)
trace.txt (85.4 KB)
dts.txt (485.1 KB)

What’s the port 3 connected to? CSI-C?
The trace log tell receive FS/FE looks like no problem. Maybe increase the timeout in the vi5_fops.c to try.

Hi,
1.Port 3 Use 2LAN connection DPHY;
2.To increase the time, where should I modify it and what should be the appropriate setting?

It’s kernel vi driver at …/kernel/nvidia/drivers/media/platform/tegra/camera/vi/vi5_fops.c

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