<?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: MIPI camera through IPU2 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/MIPI-camera-through-IPU2/m-p/699467#M108611</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for dts IPU numbers one can look at "ipu_id" usage, as in examples on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-328548"&gt;iMX6DQ MAX9286 MIPI CSI2 720P camera surround view solution for Linux BSP&lt;/A&gt;&amp;nbsp;&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>Thu, 05 Oct 2017 23:49:57 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2017-10-05T23:49:57Z</dc:date>
    <item>
      <title>MIPI camera through IPU2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIPI-camera-through-IPU2/m-p/699466#M108610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suppose I have a MIPI camera connected to my i.MX 6 board and I want to route the video signal through IPU2, what changes do I have to make to the device tree?&lt;/P&gt;&lt;P&gt;Do I have to make any other changes? e.g explicitly enable IPU2 clock?&lt;/P&gt;&lt;P&gt;As it stands, with the supplied device tree I can capture image data through IPU1.&amp;nbsp; However, all the changes I have made so far end up with:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Setting pipeline to PLAYING ...&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;New clock: GstSystemClock&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ERROR: from element /GstPipeline:pipeline0/GstImxV4l2VideoSrc:imxv4l2videosrc0: Internal data flow error.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Additional debug info:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;../../../../gstreamer-1.8.3/libs/gst/base/gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstImxV4l2VideoSrc:imxv4l2videosrc0:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;streaming task paused, reason error (-5)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Execution ended after 0:00:10.097194002&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;As if something is not switched on or not configured correctly.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-335858"&gt;TestMIPI_IPU2.patch.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 14:38:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIPI-camera-through-IPU2/m-p/699466#M108610</guid>
      <dc:creator>richardwoodham</dc:creator>
      <dc:date>2017-10-05T14:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: MIPI camera through IPU2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIPI-camera-through-IPU2/m-p/699467#M108611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for dts IPU numbers one can look at "ipu_id" usage, as in examples on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-328548"&gt;iMX6DQ MAX9286 MIPI CSI2 720P camera surround view solution for Linux BSP&lt;/A&gt;&amp;nbsp;&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>Thu, 05 Oct 2017 23:49:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIPI-camera-through-IPU2/m-p/699467#M108611</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-10-05T23:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: MIPI camera through IPU2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIPI-camera-through-IPU2/m-p/699468#M108612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I forgot to mention the camera chip I am using.&amp;nbsp; It is OV5640.&amp;nbsp; As it turns out there is a bug in the driver ov5640_mipi.c&amp;nbsp;in the function&amp;nbsp;&lt;EM&gt;ov5640_set_virtual_channel &lt;/EM&gt;which uses csi_id (0 or 1) as the argument.&amp;nbsp; When there are 2 IPUs there are 4 virtual channels and 2 bits in register 0x4814 to be set.&amp;nbsp; If I hard-code the driver to use vc 2 or 3 I get:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pic_09_44_14.jpeg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14029i0888119BF9AC1479/image-size/large?v=v2&amp;amp;px=999" role="button" title="pic_09_44_14.jpeg" alt="pic_09_44_14.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;which is progress, but not exactly what I wanted.&amp;nbsp; The image is the right size (720p).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 10:03:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIPI-camera-through-IPU2/m-p/699468#M108612</guid>
      <dc:creator>richardwoodham</dc:creator>
      <dc:date>2017-10-10T10:03:36Z</dc:date>
    </item>
  </channel>
</rss>

