On Mon, May 17, 2021 at 5:58 PM Fabio Estevam <festevam@xxxxxxxxx> wrote: > > Hi, > > I am trying to capture from an adv7280-m (via MIPI-CSI2 interface) on > an imx6q board. > > Here is the configuration: Decided to try to transmit to the ipu1_csi0 (virtual channel 0) instead: media-ctl -l "'adv7180 2-0020':0 -> 'imx6-mipi-csi2':0[1]" media-ctl -l "'imx6-mipi-csi2':1 -> 'ipu1_csi0_mux':0[1]" media-ctl -l "'ipu1_csi0_mux':2 -> 'ipu1_csi0':0[1]" media-ctl -l "'ipu1_csi0':1 -> 'ipu1_vdic':0[1]" media-ctl -l "'ipu1_vdic':2 -> 'ipu1_ic_prp':0[1]" media-ctl -l "'ipu1_ic_prp':2 -> 'ipu1_ic_prpvf':0[1]" media-ctl -l "'ipu1_ic_prpvf':1 -> 'ipu1_ic_prpvf capture':0[1]" media-ctl -V "'adv7180 2-0020':0 [fmt:UYVY2X8/720x576 field:seq-tb]" media-ctl -V "'imx6-mipi-csi2':1 [fmt:UYVY2X8/720x576]" media-ctl -V "'ipu1_csi0_mux':2 [fmt:UYVY2X8/720x576]" media-ctl -V "'ipu1_csi0':1 [fmt:AYUV32/720x576]" media-ctl -V "'ipu1_vdic':2 [fmt:AYUV32/720x576 field:none]" media-ctl -V "'ipu1_ic_prp':2 [fmt:AYUV32/720x576 field:none]" media-ctl -V "'ipu1_ic_prpvf':1 [fmt:AYUV32/720x576 field:none]" # Configure "ipu1_ic_prpvf capture" interface (assumed at /dev/video2) v4l2-ctl -d2 --set-fmt-video=field=none gst-launch-1.0 v4l2src device=/dev/video2 ! kmssink Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock [ 11.745511] imx6-mipi-csi2: LP-11 wait timeout, likely a sensor driver bug, expect capture failures. [ 11.754956] imx6-mipi-csi2: phy_state = 0x00000200 [ 12.259957] imx6-mipi-csi2: clock lane timeout, phy_state = 0x00000200 [ 12.266630] ipu1_ic_prpvf: upstream stream on failed: -110 [ 12.274082] ipu1_ic_prpvf: pipeline start failed with -110 ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory. Additional debug info: ../sys/v4l2/gstv4l2src.c(659): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Buffer pool activation failed Execution ended after 0:00:01.072478334 Setting pipeline to NULL ... Freeing pipeline ... Not sure why I am getting LP-11 and clock lane timeouts though. Thanks