Re: [RFC] media: imx.rst: Fix the links/pads configuration for imx6qsabresd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Steve,

On Tue, Apr 7, 2020 at 8:01 PM Steve Longerbeam <slongerbeam@xxxxxxxxx> wrote:
>
> Hi Fabio,
>
> I do believe the problem you're having is that the OV5640 by default
> transmits on virtual channel 0, not channel 1 as is given in the
> instructions in imx.rst.
>
> But I do agree the instructions are now misleading because of the OV5640
> defaults, and probably should be changed for the virtual channel 0 pipeline.
>
> Can you try the virtual channel 0 pipeline:
>
>      media-ctl -l "'ov5640 1-003c':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_ic_prp':0[1]"
>      media-ctl -l "'ipu1_ic_prp':1 -> 'ipu1_ic_prpenc':0[1]"
>      media-ctl -l "'ipu1_ic_prpenc':1 -> 'ipu1_ic_prpenc capture':0[1]"
>
>      media-ctl -V "'ov5640 1-003c':0 [fmt:UYVY2X8/640x480]"
>      media-ctl -V "'imx6-mipi-csi2':1 [fmt:UYVY2X8/640x480]"
>      media-ctl -V "'ipu1_csi0_mux':2 [fmt:UYVY2X8/640x480]"
>      media-ctl -V "'ipu1_csi0':0 [fmt:UYVY2X8/640x480]"
>      media-ctl -V "'ipu1_csi0':1 [fmt:AYUV32/640x480]"
>      media-ctl -V "'ipu1_ic_prp':1 [fmt:AYUV32/640x480]"
>      media-ctl -V "'ipu1_ic_prpenc':0 [fmt:AYUV32/640x480]"
>      media-ctl -V "'ipu1_ic_prpenc':1 [fmt:AYUV32/640x480]"

Thanks! By running the lines above I can get the streaming to work
successfully with:

v4l2-ctl --stream-mmap -d /dev/video1

and also:

gst-launch-1.0 v4l2src device=/dev/video1! kmssink

I will submit a formal patch with these instructions.

Thanks for your help.



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux