AnsweredAssumed Answered

imx6 adv7180 video capture

Question asked by Angelo Dureghello on Jun 9, 2015
Latest reply on Jun 15, 2015 by Angelo Dureghello

Dear Gentlemen,

 

i have imx6q board with adv7180 mounted with same schematic of sabreauto. With one exception: input is Y-C (Ain1 and Ain4).

I work with kernel 3.10.17.

 

So, used same adv7180 devicetree as in sabreauto, but adapting the driver to use Y-C input (just set adv7180 input mask as 0110).

 

Capturing, using a composite to Y-C adapter, i have this error:

 

MFW_GST_V4LSRC_PLUGIN 3.0.11 build on Apr 29 2015 10:07:23.

mxc_v4l_open: Mxc Camera no sensor ipu0/csi1

MFW_GST_V4LSINK_PLUGIN 3.0.11 build on Apr 29 2015 10:07:19.

Setting pipeline to PAUSED ...

/GstPipeline:pipeline0/MFWGstV4LSrc:mfwgstv4lsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)720, height=(int)576, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1

Pipeline is live and does not need PREROLL ...

Setting pipeline to PLAYING ...

New clock: GstSystemClock

ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0

ERROR: from element /GstPipeline:pipeline0/MFWGstV4LSrc:mfwgstv4lsrc0: Internal data flow error.

Additional debug info:

gstbasesrc.c(2625): gst_base_src_loop (): /GstPipeline:pipeline0/MFWGstV4LSrc:mfwgstv4lsrc0:

streaming task paused, reason error (-5)

Execution ended after 9999460335 ns.

Setting pipeline to PAUSED ...

Setting pipeline to READY ...

/GstPipeline:pipeline0/MFWGstV4LSrc:mfwgstv4lsrc0.GstPad:src: caps = NULL

Setting pipeline to NULL ...

Total rendered:0

Freeing pipeline ...

[--->FINALIZE v4l_sink

bash-3.2# power_down_callback: ipu0/csi0

 

 

I already searched the forum for "ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0" without any useful result.

I am capturing a small 9'' TV output converted from composite to Y-C, and also from a small camera.

 

I add some more info:

I see clock correctly generated while capturing (on ADV7081 ext crystal pins)

I see Y-C signals correctly arriving on ADV7081 Ain1 and Ain4

I don't see any data bit ouput on DA4/19 while capturing.

 

Every help is appreciated. Thanks

Outcomes