Hello,
I contacted some time before on hardware setup for ADV7280m, which is an analog to mipi csi 2 (1 lane) decoder. As per the information in this answer, I modified my hardware. Now I can see the device as per the following responses:
Media controller API version 5.15.148
Media device information
------------------------
driver tegra-camrtc-ca
model NVIDIA Tegra Video Input Device
serial
bus info
hw revision 0x3
driver version 5.15.148
Device topology
- entity 1: 13e00000.host1x:nvcsi@15a00000- (2 pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
pad0: Sink
<- "adv7180 10-0021":0 [ENABLED]
pad1: Source
-> "vi-output, adv7180 10-0021":0 [ENABLED]
- entity 4: 13e00000.host1x:nvcsi@15a00000- (2 pads, 0 link)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev1
pad0: Sink
pad1: Source
- entity 7: adv7180 10-0021 (1 pad, 1 link)
type V4L2 subdev subtype Decoder flags 0
device node name /dev/v4l-subdev2
pad0: Source
[fmt:UYVY8_2X8/720x480@1001/30000 field:none colorspace:smpte170m]
-> "13e00000.host1x:nvcsi@15a00000-":0 [ENABLED]
- entity 9: vi-output, adv7180 10-0021 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
<- "13e00000.host1x:nvcsi@15a00000-":1 [ENABLED]
and
$ v4l2-ctl --list-devices
NVIDIA Tegra Video Input Device (platform:tegra-camrtc-ca):
/dev/media0
vi-output, adv7180 10-0021 (platform:tegra-capture-vi:0):
/dev/video0
,
However, I’m getting a green screen when I try to run the video:
~$ gst-launch-1.0 v4l2src device=/dev/video0 ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Signal lost
Additional debug info:
../sys/v4l2/gstv4l2src.c(556): gst_v4l2src_query_preferred_size (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
No input source was detected - video frames invalid
Redistribute latency...
Using oscilloscope, I verified that the analog video is being input, but there’s no activity on the MIPI CSI lines (clk and data both).
Any idea how to solve this?
Thank you.