<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error while running autorun-v4l2.sh in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Error-while-running-autorun-v4l2-sh/m-p/439638#M67464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chaitanya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;issues not related to each other. Flip irq is discussed on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/413087"&gt;Re: imx6q mxc_sdc_fb timeout when waiting for flip irq&lt;/A&gt; &lt;/P&gt;&lt;P&gt;and caused by improper IPU reinitialization, if uboot initialize IPU&lt;/P&gt;&lt;P&gt;for logo then kernel initializes it again. One can disable uboot logo.&lt;/P&gt;&lt;P&gt;Second "v4l2 capture" error is due to camera: it is not connected or&lt;/P&gt;&lt;P&gt;different than one used on Sabre SD boards (OV5640,OV5642). New camera&lt;/P&gt;&lt;P&gt;should be ported, examples can be found on Community, like&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-172999"&gt;Porting ov5645 to android jb4.2.2&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/308771"&gt;i.MX6 DualLite + OV5653&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Sep 2015 13:18:35 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2015-09-10T13:18:35Z</dc:date>
    <item>
      <title>Error while running autorun-v4l2.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-while-running-autorun-v4l2-sh/m-p/439637#M67463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm getting the following error when I run autorun-v4l2.sh. My board is based on IMX6 Solo. My kernel version is 3.14.28. PLease find the error log below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@imx6-solo:/unit_tests# ./autorun-v4l2.sh&lt;/P&gt;&lt;P&gt;=============== test start from Thu Jan 1 00:01:08 UTC 1970 ==============================&lt;/P&gt;&lt;P&gt;Checking for devnode: /dev/video0&lt;/P&gt;&lt;P&gt;autorun-v4l2.sh: PASS devnode found: /dev/video0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Checking for devnode: /dev/video16&lt;/P&gt;&lt;P&gt;autorun-v4l2.sh: PASS devnode found: /dev/video16&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Checking for devnode: /dev/video17&lt;/P&gt;&lt;P&gt;autorun-v4l2.sh: PASS devnode found: /dev/video17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;imx-ipuv3 2400000.ipu: WARNING: adapt panel end blank lines&lt;/P&gt;&lt;P&gt;Display in U:800x480p-0&lt;/P&gt;&lt;P&gt;Running test case: ./mxc_v4l2_output.out -iw 1024 -ih 768 -ow 800 -oh 480 -d /dev/video17 -r 0 -vf 0 -hf 0 -fr 60&lt;/P&gt;&lt;P&gt;g_in_width = 1024, g_in_height = 768&lt;/P&gt;&lt;P&gt;g_display_width = 800, g_display_height = 480&lt;/P&gt;&lt;P&gt;driver=mxc_vout, card=DISP3 FG, bus=, version=0x00030e1c, capabilities=0x04000002&lt;/P&gt;&lt;P&gt;fmt RGB565: fourcc = 0x50424752&lt;/P&gt;&lt;P&gt;fmt BGR24: fourcc = 0x33524742&lt;/P&gt;&lt;P&gt;fmt RGB24: fourcc = 0x33424752&lt;/P&gt;&lt;P&gt;fmt RGB32: fourcc = 0x34424752&lt;/P&gt;&lt;P&gt;fmt BGR32: fourcc = 0x34524742&lt;/P&gt;&lt;P&gt;fmt NV12: fourcc = 0x3231564e&lt;/P&gt;&lt;P&gt;fmt UYVY: fourcc = 0x59565955&lt;/P&gt;&lt;P&gt;fmt YUYV: fourcc = 0x56595559&lt;/P&gt;&lt;P&gt;fmt YUV422 planar: fourcc = 0x50323234&lt;/P&gt;&lt;P&gt;fmt YUV444: fourcc = 0x34343459&lt;/P&gt;&lt;P&gt;fmt YUV420: fourcc = 0x32315559&lt;/P&gt;&lt;P&gt;fmt YVU420: fourcc = 0x32315659&lt;/P&gt;&lt;P&gt;fmt TILED NV12P: fourcc = 0x50564e54&lt;/P&gt;&lt;P&gt;fmt TILED NV12F: fourcc = 0x46564e54&lt;/P&gt;&lt;P&gt;fmt YUV444 planar: fourcc = 0x50343434&lt;/P&gt;&lt;P&gt;cropcap.bounds.width = 800&lt;/P&gt;&lt;P&gt;cropcap.bound.height = 480&lt;/P&gt;&lt;P&gt;cropcap.defrect.width = 800&lt;/P&gt;&lt;P&gt;cropcap.defrect.height = 480&lt;/P&gt;&lt;P&gt;v4l2_output test: Allocated 4 buffers&lt;/P&gt;&lt;P&gt;VIDIOC_QUERYBUF: length = 1179648, offset = 0&lt;/P&gt;&lt;P&gt;VIDIOC_QUERYBUF: length = 1179648, offset = 1179648&lt;/P&gt;&lt;P&gt;VIDIOC_QUERYBUF: length = 1179648, offset = 2359296&lt;/P&gt;&lt;P&gt;VIDIOC_QUERYBUF: length = 1179648, offset = 3538944&lt;/P&gt;&lt;P&gt;start time = 78 s, 963763 us&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mxc_sdc_fb fb.18: timeout when waiting for flip irq&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mxc_sdc_fb fb.18: timeout when waiting for flip irq&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mxc_sdc_fb fb.18: timeout when waiting for flip irq&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mxc_sdc_fb fb.18: timeout when waiting for flip irq&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mxc_sdc_fb fb.18: timeout when waiting for flip irq&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mxc_sdc_fb fb.18: timeout when waiting for flip irq&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is the lines highlighted. Also when I run any code to capture images from camera I get the following logs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;VIDIOC_DQBUF failed.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are the two issues related to each other ? Is there any fix for these issues ? My kernel version is 3.14.28&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chaitanya Dhere&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 12:00:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-while-running-autorun-v4l2-sh/m-p/439637#M67463</guid>
      <dc:creator>chaitanyadhere</dc:creator>
      <dc:date>2015-09-10T12:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running autorun-v4l2.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-while-running-autorun-v4l2-sh/m-p/439638#M67464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chaitanya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;issues not related to each other. Flip irq is discussed on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/413087"&gt;Re: imx6q mxc_sdc_fb timeout when waiting for flip irq&lt;/A&gt; &lt;/P&gt;&lt;P&gt;and caused by improper IPU reinitialization, if uboot initialize IPU&lt;/P&gt;&lt;P&gt;for logo then kernel initializes it again. One can disable uboot logo.&lt;/P&gt;&lt;P&gt;Second "v4l2 capture" error is due to camera: it is not connected or&lt;/P&gt;&lt;P&gt;different than one used on Sabre SD boards (OV5640,OV5642). New camera&lt;/P&gt;&lt;P&gt;should be ported, examples can be found on Community, like&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-172999"&gt;Porting ov5645 to android jb4.2.2&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/308771"&gt;i.MX6 DualLite + OV5653&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 13:18:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-while-running-autorun-v4l2-sh/m-p/439638#M67464</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-09-10T13:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running autorun-v4l2.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-while-running-autorun-v4l2-sh/m-p/439639#M67465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The flip irq issue is solved. Thanks for your help. However, the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;VIDIOC_DQBUF failed.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;issue is till remaining. The &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;autorun-v4l2.sh test is successfully running. &lt;/SPAN&gt;The camera driver has been written for our custom camera. The same driver was working with 3.10.17 kernel. It is showing us the above error in 3.14.28 kernel.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;What can be the issue ?&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Chaitanya Dhere &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2015 06:12:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-while-running-autorun-v4l2-sh/m-p/439639#M67465</guid>
      <dc:creator>chaitanyadhere</dc:creator>
      <dc:date>2015-09-16T06:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running autorun-v4l2.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-while-running-autorun-v4l2-sh/m-p/439640#M67466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Are there any solutions on the same ? Kindly let us know what can be the possible causes when an error like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;VIDIOC_DQBUF failed.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;shows up ?&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Chaitanya Dhere&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 10:21:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-while-running-autorun-v4l2-sh/m-p/439640#M67466</guid>
      <dc:creator>chaitanyad</dc:creator>
      <dc:date>2015-09-29T10:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running autorun-v4l2.sh</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-while-running-autorun-v4l2-sh/m-p/439641#M67467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this error does not point to any specific misconfiguration,&lt;/P&gt;&lt;P&gt;probably you can try to compare IPU settings or sources with working 3.10.17 test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 10:37:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-while-running-autorun-v4l2-sh/m-p/439641#M67467</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-09-29T10:37:09Z</dc:date>
    </item>
  </channel>
</rss>

