I am getting a lot of help from the forum.
Thank you for always.
I want to receive input as follows using FPGA.
HDMI → FPGA → CSI-2 → NX
A message is displayed in the KERNEL with the following contents and is not bypassed.
[ 324.861556] tegra194-vi5 15c10000.vi: no reply from camera processor [ 324.861723] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms [ 324.861881] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel [ 324.864241] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
My development environment is as follows.
- Hardware Platform - Jetson Xavier NX devkit P3518
- Module Info - NX EMMC
- JetPack Version - 4.5
- L4T - 32.5
- HDMI resolution 1920x1080 30frame
And I modified the source with the following contents.
- Write FPGA driver without I2C communication.
- Writing DTS for FPGA.
And I checked the devnode.
nvidia@linux:~/log$ ls -al /dev/vi* crw-rw----+ 1 root video 81, 0 Nov 30 08:33 /dev/video0
Bypass was performed as follows.
v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1
The Kernel message is:
Behavior for bypass is included.
fpga_bypass_dmesg.log (74.6 KB)
I also checked the trace.
echo 1 > /sys/kernel/debug/tracing/tracing_on echo 30720 > /sys/kernel/debug/tracing/buffer_size_kb echo 1 > /sys/kernel/debug/tracing/events/tegra_rtcpu/enable echo 1 > /sys/kernel/debug/tracing/events/freertos/enable echo 2 > /sys/kernel/debug/camrtc/log-level echo 1 > /sys/kernel/debug/tracing/events/camera_common/enable echo > /sys/kernel/debug/tracing/trace cat /sys/kernel/debug/tracing/trace
fpga_bypass_trace.log (32.2 MB)
When the bypass command is input, the frame does not flow.
May I know what is the problem?
Can I get help?
Thanks in advance for the reply.