Linux R35.5.0 (Jetpack 5.1.3) with custom carrier board
I have modified the device tree and ov5693 driver to support camera capture from an FPGA. The Xilinx FPGA is sending yuv8 1920x1080 frames at 60fps, MIPI data rate 1400 Mbps, continous clock and 2 lanes .
I run the following v4l2-ctl command and then disconnect and then reconnect the 1080p60 source resulting in a kernel panic as per attached log,
Use-case is avionics DVR. DVR has to be tolerant of input disconnect/reconnect and video input format changes. If disconnect does not result in kernel panic I can terminate v4l and this happens:
And this prints in the kernel log:
root@xavier:~# [ 475.839695] tegra194-vi5 15c10000.vi: capture control message timed out
[ 475.841500] tegra-camrtc-capture-vi tegra-capture-vi: vi capture setup failed
[ 476.863688] tegra194-vi5 15c10000.vi: capture control message timed out
[ 476.865352] tegra194-vi5 15c10000.vi: csi_stream_release: failed to disable nvcsi tpg on stream 0 virtual channel 0
Semaphore patch seems to have improved matters. I still have no recovery on a disconnect/reconnect but on v4l terminate and restart it recovers. However after doing that a few times I still got a kernel oops. See attached log. Any ideas on how to fix crash? minicom351.txt (15.9 KB)