Hi,
I’m trying to display video sampled from an FGPA connected to a TX2 Jetson.
I’ve modified the imx185 driver to comply with the relevant resolution: 1920x1080x30 RGB888. but not CSI data is sampled by the Jetson.
The driver, device tree, booting terminal, video tracing and v4l2-ctl output is attached.
Did you enable the trace and run the v4l2-ctl and cat the trace again the log didn’t show the information after the CSI power enable. If yes that tell the NVCSI/VI didn’t receive any validate data from MIPI bus you may need to probe the MIPI signal to confirm it.
Why does the trace shows CSI power enable and disable for all availabe channels and not only the one that actualy running within the gstreamer command?
The CHANSEL_FAULT field states that the line is too short 0x00000200. Is it possible that although I was told that the input is rgb888 I need to set the input pixel size as 10 (in the DT): dynamic_pixel_bit_depth , csi_pixel_bit_depth ?
Thanks, modified, yet the line is too short…
any other parameters might affect the FAULT?
I’ve attached the commands that I apply and the tracing log. TraceVid0 (593 Bytes) video0.txt (309.1 KB)
Current the driver report 1920 lines and got short line error.
You can modify the table to report less than 1920 lines to check if trace log like 1900, 1800 … to narrow down it.
I have changed to 1800 and still getting the line too short.
If I see that: “tegra_chanel_capture_setup: vnc_id 0 W 1800…” it prooves that the width was actually changed?
shouldn’t I change te full line length and not only the active one?
when I set the width to 720 I got line too long…I definitely was told that the video input from the FPGA is 1920x1080p30…
Eventualy I found the width: 1280
now the failure is PIXEL_RUN_AWAY on line 1080…
Isn’t it possible that I provided incorrect clocks?
Suppose don’t matter with the clocks, I mean the output size doesn’t matter with the clocks as my experience for general sensors, but I can’t tell for the FPGA.
So, all the following clock definition fields are used to generate a clock for an external device and not for the CSI internal clocks?: clock-frequency, mclk_khz, mclk_multiplier, pix_clk_hz
hi,
I’d like to verify a documentation issue I’m having with this issue.
On the Jetson/l4t/Camera BringUp - eLinux.org site it states that the CHANSEL_FAULT 0x40 means PIXEL_RUNAWAY while in the TRM | DP-07281-001_v1.0p the only place PIXEL_RUNAWAY is indicated is in section 27.24.21 as a notifying mask . Does it means that the 32 bit value provided in the debug log is a reconstructed structure which summarizes all recently received events?
Another question is, the Jetson/l4t/Camera BringUp - eLinux.org site also states that “CHANSEL_FAULT of PIXEL_RUNAWAY means VI receives more lines than expected” so I reduced the numbe of lines in the DT from 720 down to 100 and yet getting the same CHANSEL_FAULT. Could you please elaborate?