<?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: how to test csi parallel image sensor on imx6q, gstreamer or other tools? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/how-to-test-csi-parallel-image-sensor-on-imx6q-gstreamer-or/m-p/614966#M92985</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please refer to Chapter 6 Image Processing Unit (IPU) Drivers&lt;/P&gt;&lt;P&gt;attached Linux Manual.&lt;/P&gt;&lt;P&gt;For gstreamer gray format please post question on gstreamer forums.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Nov 2016 00:02:47 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2016-11-01T00:02:47Z</dc:date>
    <item>
      <title>how to test csi parallel image sensor on imx6q, gstreamer or other tools?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-test-csi-parallel-image-sensor-on-imx6q-gstreamer-or/m-p/614963#M92982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am testing&amp;nbsp;csi parallel CMOS sensor , 8 bit gray raw image, monochrome on imx6q, kernel version 3.14.52.&lt;BR /&gt;I have&amp;nbsp;modified some source&amp;nbsp;code to use CSI-MEM path according to this thread:&lt;BR /&gt;&lt;SPAN style="color: #000000; text-decoration: underline;"&gt;&lt;EM&gt;&lt;A class="jive-link-thread-small" data-containerid="2004" data-containertype="14" data-objectid="306822" data-objecttype="1" href="https://community.nxp.com/thread/306822"&gt;https://community.nxp.com/thread/306822&lt;/A&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;and when i modprobe my camera( mt9v034.ko), it seems ok(show below),&lt;/P&gt;&lt;P&gt;but we don't know how to use gstreamer ,or any other test tools to capture &amp;amp;&amp;nbsp;display images/video?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I type: gst-launch-1.0 imxv4l2src device=/dev/video0 , then it shows,&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;EM&gt;......&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;EM&gt;mxc_v4l_close: release resource&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;EM&gt;MVC: In mxc_free_frame_buf&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;EM&gt;In MVC:mxc_free_frames&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;EM&gt;Can't get caps from capture device, use the default setting.&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;EM&gt;Perhaps haven't capture device.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if I type: gst-launch-1.0 v4l2src device=/dev/video0 ,then it shows,&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;......&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;Addition[ 225.983933] MVC: In mxc_free_frame_buf&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;al debug info:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;/build/linuxdev/o[ 225.990515] In MVC:mxc_free_frames&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;e-core_V2.6b2/build/out-glibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/gstreamer1.0/1.4.5-r0/gstreamer-1.4.5/libs/gst/base/gstbasesrc.c(2933): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;streaming task paused, reason not-negotiated (-4)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;Execution ended after 0:00:00.295034666&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;Setting pipeline to PAUSED ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;Setting pipeline to READY ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;Setting pipeline to NULL ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;Freeing pipeline ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I find someone advise mxc_v4l2_capture.out &amp;nbsp;to test, but &amp;nbsp;where is this file and how to use it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;root@apalis-imx6:~# modprobe mt9v034_camera&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;[ 62.510235] In mt9v034_init&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;[ 62.514332] in mt9v034_probe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;[ 62.517581] mt9v034 3-0048: set io voltage ok&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;[ 62.522202] mt9v034 3-0048: set core voltage ok&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;[ 62.527182] mt9v034 3-0048: set analog voltage ok&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;[ 62.531981] In mt9v034_power_on&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;[ 62.535198] mt9v034 3-0048: mt9v034_write: writing 0x0001 to 0x0c of chip 0x48&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;[ 62.555767] In MVC: mxc_v4l2_master_attach&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;[ 62.559878] slave.name = mt9v034&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;[ 62.563402] master.name = mxc_v4l2_cap0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;[ 62.567505] In ioctl_dev_exit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;[ 62.570477] In ioctl_s_power&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;[ 62.573383] In mt9v034_power_off&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;[ 62.576617] In ioctl_g_fmt_cap&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;[ 62.579678] End of mxc_v4l2_master_attach: v2f pix widthxheight 288 x 352&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;[ 62.586491] End of mxc_v4l2_master_attach: crop_bounds widthxheight 640 x 480&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;[ 62.593666] End of mxc_v4l2_master_attach: crop_defrect widthxheight 640 x 480&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;[ 62.600895] End of mxc_v4l2_master_attach: crop_current widthxheight 640 x 480&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff6600;"&gt;[ 62.608150] mxc_v4l2_master_attach: ipu0:/csi0 parallel attached mt9v034:mxc_v4l2_cap0&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Oct 2016 13:57:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-test-csi-parallel-image-sensor-on-imx6q-gstreamer-or/m-p/614963#M92982</guid>
      <dc:creator>lampo</dc:creator>
      <dc:date>2016-10-30T13:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to test csi parallel image sensor on imx6q, gstreamer or other tools?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-test-csi-parallel-image-sensor-on-imx6q-gstreamer-or/m-p/614964#M92983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi glb&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gray camera is not supported in BSPs by default and code&lt;/P&gt;&lt;P&gt;modifications are needed. Please check&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fcommunity.freescale.com%2Fmessage%2F331888" rel="nofollow" target="_blank"&gt;https://community.freescale.com/message/331888&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://community.freescale.com/message/311613#311613" title="https://community.freescale.com/message/311613#311613"&gt;IPU - bayer pattern conversion | NXP Community&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/337689"&gt;Monochrome camera support in i.MX6&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IPU has not special processing for raw data, so nxp gstreamer plugins&lt;/P&gt;&lt;P&gt;do not support this format also. One can use common gstreamer gray format&lt;/P&gt;&lt;P&gt;support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Oct 2016 23:50:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-test-csi-parallel-image-sensor-on-imx6q-gstreamer-or/m-p/614964#M92983</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-10-30T23:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to test csi parallel image sensor on imx6q, gstreamer or other tools?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-test-csi-parallel-image-sensor-on-imx6q-gstreamer-or/m-p/614965#M92984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Appreciate &amp;nbsp;for your advice. &amp;nbsp;I have working on debugging&amp;nbsp;the image senor for nearly a &amp;nbsp;month, felt great pressure.&lt;SPAN style="background-color: #f2f2f2; color: #434343; font-size: 12px; line-height: 20.76px;"&gt;&amp;nbsp;&lt;/SPAN&gt;Could&amp;nbsp;u tell &amp;nbsp;me&amp;nbsp;&lt;/P&gt;&lt;P&gt;where is the &lt;STRONG&gt;buffer or memory address &amp;nbsp;that &amp;nbsp;stores&amp;nbsp;the&amp;nbsp; grey &amp;nbsp;image&amp;nbsp;&lt;/STRONG&gt;captured &amp;nbsp;by csi on imx6q?&lt;/P&gt;&lt;P&gt;&amp;nbsp;and how to type the &lt;STRONG&gt;command &amp;nbsp;as "&lt;/STRONG&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;&lt;STRONG&gt; gstreamer gray format"&lt;/STRONG&gt;? &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;thanks a lot!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 15:49:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-test-csi-parallel-image-sensor-on-imx6q-gstreamer-or/m-p/614965#M92984</guid>
      <dc:creator>lampo</dc:creator>
      <dc:date>2016-10-31T15:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to test csi parallel image sensor on imx6q, gstreamer or other tools?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-test-csi-parallel-image-sensor-on-imx6q-gstreamer-or/m-p/614966#M92985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please refer to Chapter 6 Image Processing Unit (IPU) Drivers&lt;/P&gt;&lt;P&gt;attached Linux Manual.&lt;/P&gt;&lt;P&gt;For gstreamer gray format please post question on gstreamer forums.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 00:02:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-test-csi-parallel-image-sensor-on-imx6q-gstreamer-or/m-p/614966#M92985</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-11-01T00:02:47Z</dc:date>
    </item>
  </channel>
</rss>

