A MIPI CSI camera driver development has been carried out on a Jetson Orin NX platform running JetPack 6.2.1. The camera is a block-type device that continuously streams image data and does not use any I²C-based control interface.
In the initial phase, the device tree configuration was derived from the existing imx219-A reference design. On the driver side, a custom driver was created by modifying the ov5693.c driver and removing all I²C-related functionality.
As a result of these changes, the driver successfully probes and binds to the device tree. However, no image frames are received at the video capture stage. According to the camera specifications, the incoming stream is 1920×1080 resolution at 50 FPS.
Relevant kernel and NVCSI/VI logs have been attached for further analysis.
did you have sensor node register to linux kernel?
you may see-also developer guide, To verify the port binding result
please also check.. $ v4l2-ctl -d /dev/video0 --list-formats-ext
let’s test with v4l2 standard IOCTL for fetching camera frames.
for instance, $ v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=UYVY --set-ctrl bypass_mode=0 --stream-mmap --stream-count=100
Thanks for the answer. The given v4l2 command just waits and we still cannot capture frames. The dmesg and trace logs did not change. I am still getting the same error messages shown below.
it’s fetch timeout, which means there’s no validate frames on the CSI channel.
did you have hardware resources to examine the MIPI signaling? please check the high-speed signaling if that’s possible.
this error indicates that the D-PHY data-lanes are not properly aligned. this is a synchronization issue.
this typically occurs when the sensor is sending data on multiple D-PHY lanes but they’re not time-aligned, or, there’s signal integrity issues causing skew between lanes, or, the D-PHY deskew calibration failed or wasn’t performed.
you may check deskew calibration if you’re running with data-rate above 1.5Gbps,
please also review sensor initialization sequence.