<?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>i.MX ProcessorsのトピックRe: Parallel camera i.mx6QUAD</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Parallel-camera-i-mx6QUAD/m-p/650066#M99467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seba,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if you solved your issue, but I had the same problem initially when connecting a parallel ov5640 to the Hummingboard2. In case you have not fixed your issue, you need to remove (or comment out) the GPIO configuration lines that you mention in imx6qdl-hummingboard2.dtsi. These do conflict with the IO configuration you are adding for the camera.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you fixed that, I also found that if you have removed the MIPI camera from the dtsi, you must also add the CKO2 signal to your IO mux configuration. If you left the MIPI camera, it already configures that clock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am now able to get some output from the camera using gstreamer, unfortunately the image is discolored (very pink), scrolling vertically on the screen and pixelated. At least one problem seems to be the clock signal quality, which on my setup is connected through a fairly long flex cable and adapter from the MIPI port on the board. I am trying to improve this, but I think there must be other issues as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Were you able to get your camera working? If so, I would like to know what camera module you tested with, and any other steps that helped you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Mar 2017 00:11:16 GMT</pubDate>
    <dc:creator>mhilt</dc:creator>
    <dc:date>2017-03-11T00:11:16Z</dc:date>
    <item>
      <title>Parallel camera i.mx6QUAD</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Parallel-camera-i-mx6QUAD/m-p/650063#M99464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I am using i.m6QUAD with hummingboard2 (hummingboard Gate) with 3.14.79 linux kernel from this site &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FSolidRun%2Flinux-fslc" rel="nofollow" target="_blank"&gt;GitHub - SolidRun/linux-fslc: Linux kernel source tree&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's been a loong time since i am playing with ov5642 parallel camera and I can't get it to work...&lt;/P&gt;&lt;P&gt;As i see on schematic of hummingboard I can use parallel camera using IPU2_CSI1.&lt;/P&gt;&lt;P&gt;I set up device tree as this:&lt;/P&gt;&lt;P&gt;-in file "imx6qdl-hummingboard2.dtsi" (this file contains common part fo quad and dual-lite) I set up v4l2 to use IPU2/CSI1:&lt;/P&gt;&lt;P&gt;v4l2_cap_0 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;compatible = "fsl,imx6q-v4l2-capture";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;ipu_id = &amp;lt;1&amp;gt;;&amp;nbsp;&amp;nbsp; //default was &amp;lt;0&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;csi_id = &amp;lt;1&amp;gt;;&amp;nbsp;&amp;nbsp; //default was &amp;lt;0&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;mclk_source = &amp;lt;0&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;/*mipi_camera = &amp;lt;1&amp;gt;; */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;/*default_input = &amp;lt;0&amp;gt;; */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;status = "okay";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;- Then in file "imx6q-hummingboard2.dts" I add following settings:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;amp;iomuxc{&lt;BR /&gt;hummingboard2{&lt;BR /&gt;pinctrl_hummingboard2_parallel: hummingboard2_parallel{&lt;BR /&gt;fsl,pins= &amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //SHOULD BE fsl,pins or different ??&lt;BR /&gt;MX6QDL_PAD_EIM_A24__IPU2_CSI1_DATA19 0x0b0b1&lt;BR /&gt;MX6QDL_PAD_EIM_A23__IPU2_CSI1_DATA18 0x0b0b1&lt;BR /&gt;MX6QDL_PAD_EIM_A22__IPU2_CSI1_DATA17 0x0b0b1&lt;BR /&gt;MX6QDL_PAD_EIM_A21__IPU2_CSI1_DATA16 0x0b0b1&lt;BR /&gt;MX6QDL_PAD_EIM_A20__IPU2_CSI1_DATA15 0x0b0b1&lt;BR /&gt;MX6QDL_PAD_EIM_A19__IPU2_CSI1_DATA14 0x0b0b1&lt;BR /&gt;MX6QDL_PAD_EIM_A18__IPU2_CSI1_DATA13 0x0b0b1&lt;BR /&gt;MX6QDL_PAD_EIM_A17__IPU2_CSI1_DATA12 0x0b0b1&lt;BR /&gt;MX6QDL_PAD_EIM_DA11__IPU2_CSI1_HSYNC 0x0b0b1&lt;BR /&gt;MX6QDL_PAD_EIM_DA12__IPU2_CSI1_VSYNC 0x0b0b1&lt;BR /&gt;MX6QDL_PAD_EIM_A16__IPU2_CSI1_PIXCLK 0x0b0b1&lt;/P&gt;&lt;P&gt;MX6QDL_PAD_EIM_DA10__GPIO3_IO10 0x400130b1&amp;nbsp; //pwn&lt;BR /&gt;MX6QDL_PAD_EIM_DA15__GPIO3_IO15 0x400130b1 //rst&lt;BR /&gt;&amp;gt;;&lt;/P&gt;&lt;P&gt;};&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;amp;i2c3{&lt;BR /&gt;ov5642: ov5642@3c{&lt;BR /&gt;compatible = "ovti,ov5642";&lt;BR /&gt;reg = &amp;lt;0x3c&amp;gt;;&lt;BR /&gt;clocks = &amp;lt;&amp;amp;clks IMX6QDL_CLK_CKO2&amp;gt;;&lt;BR /&gt;clock-names = "csi_mclk";&lt;/P&gt;&lt;P&gt;pwn-gpios = &amp;lt;&amp;amp;gpio3 10 GPIO_ACTIVE_LOW&amp;gt;;&lt;BR /&gt;rst-gpios = &amp;lt;&amp;amp;gpio3 15 GPIO_ACTIVE_LOW&amp;gt;;&lt;BR /&gt;ipu_id = &amp;lt;1&amp;gt;;&amp;nbsp; //the same as in v4l2&lt;BR /&gt;csi_id = &amp;lt;1&amp;gt;;&amp;nbsp; //the same as in v4l2&lt;BR /&gt;mclk = &amp;lt;24000000&amp;gt;;&lt;BR /&gt;mclk_source=&amp;lt;0&amp;gt;;&amp;nbsp;&amp;nbsp; //the same as in v4l2&lt;/P&gt;&lt;P&gt;pinctrl-names = "default";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_hummingboard2_parallel&amp;gt;;&lt;/P&gt;&lt;P&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I reboot my system and do "sudo modprobe ov5642_camera" i got in "dmesg":&lt;/P&gt;&lt;P&gt;"pin MX6Q_PAD_EIM_A24 already requested by 20e0000.iomuxc; cannot claim for 2-003c. "&lt;/P&gt;&lt;P&gt;The same error is for other pins dafined in "pinctrl_hummingboard2_parallel"&lt;/P&gt;&lt;P&gt;But when I change "fsl,pins" to "fsl,ipu" error disapears but gstreamer shows only a black screen and after some while turns off. Pipeline I use:&lt;/P&gt;&lt;P&gt;gst-launch-1.0 imxv4l2videosrc device=/dev/video0 imx-capture-mode=3 ! decodebin ! autovideosink&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dmesg messages when I use "fsl,pins" are shown in attached pisture "fls,pins-dmesg" and when I use "fsl,ipu" in picture "fsl,ipu-dmesg". I also attach device tree files and a file "imx6qdl.dtsi" - there is a declaration of iomuxc: &lt;A class="jive-link-email-small" href="mailto:iomuxc@20e0000"&gt;iomuxc@20e0000&lt;/A&gt;. the same iomuxc is also used in imx6qdl-hummingboard2.dtsi file.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone hepl me to run this camera ??&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-336066"&gt;imx6qdl.dtsi.zip&lt;/A&gt;&lt;/STRONG&gt;&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-336066"&gt;imx6q-hummingboard2.dts.zip&lt;/A&gt;&lt;/STRONG&gt;&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-336066"&gt;imx6qdl-hummingboard2.dtsi.zip&lt;/A&gt;&lt;/STRONG&gt;&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-336066"&gt;imx6q.dtsi.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 08:49:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Parallel-camera-i-mx6QUAD/m-p/650063#M99464</guid>
      <dc:creator>sebaseba</dc:creator>
      <dc:date>2017-01-27T08:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel camera i.mx6QUAD</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Parallel-camera-i-mx6QUAD/m-p/650064#M99465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seba&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems pin MX6Q_PAD_EIM_A24 is already used by some other modules.&lt;/P&gt;&lt;P&gt;For&amp;nbsp;parallel camera example one can look at imx6qdl-sabresd.dtsi&lt;BR /&gt;pinctrl_ipu1_2: ipu1grp-2 { /* parallel camera */&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/tree/arch/arm/boot/dts/imx6qdl-sabresd.dtsi?id=rel_imx_4.1.15_2.0.0_ga" title="http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/tree/arch/arm/boot/dts/imx6qdl-sabresd.dtsi?id=rel_imx_4.1.15_2.0.0_ga"&gt;linux-imx.git - i.MX Linux Kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In general this could be posted on meta-fsl-arm mailing list, so that someone familiar with&lt;/P&gt;&lt;P&gt;hummingboard could try to assist you.&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescale" rel="nofollow" target="_blank"&gt;https://lists.yoctoproject.org/listinfo/meta-freescale&lt;/A&gt;&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>Sat, 28 Jan 2017 00:52:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Parallel-camera-i-mx6QUAD/m-p/650064#M99465</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-01-28T00:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel camera i.mx6QUAD</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Parallel-camera-i-mx6QUAD/m-p/650065#M99466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Igor for Your reply.&lt;/P&gt;&lt;P&gt;I have followed egsample of sabreboard. In addition, settings of device tree I use are proposed by hummingboard manufacturer - so I strongly think they should be correct. Pin MX6Q_PAD_EIM_A24 only appears in imx6qdl-hummingboard2.dtsi file in line 354 in "&amp;amp;iomuxc{..." node but nowhere else. It is in default configured as GPIO pin which is available on board 36-pins connector. If I set in &amp;amp;iomuxc{... "status" property to "disabled" my system does not boot.&lt;/P&gt;&lt;P&gt;Is there a way to check which module is using this pad at the same time (if any) ??&lt;/P&gt;&lt;P&gt;Or it could be a problem with overlays of "fsl,pins" settings ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 14:50:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Parallel-camera-i-mx6QUAD/m-p/650065#M99466</guid>
      <dc:creator>sebaseba</dc:creator>
      <dc:date>2017-01-30T14:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel camera i.mx6QUAD</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Parallel-camera-i-mx6QUAD/m-p/650066#M99467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seba,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if you solved your issue, but I had the same problem initially when connecting a parallel ov5640 to the Hummingboard2. In case you have not fixed your issue, you need to remove (or comment out) the GPIO configuration lines that you mention in imx6qdl-hummingboard2.dtsi. These do conflict with the IO configuration you are adding for the camera.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you fixed that, I also found that if you have removed the MIPI camera from the dtsi, you must also add the CKO2 signal to your IO mux configuration. If you left the MIPI camera, it already configures that clock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am now able to get some output from the camera using gstreamer, unfortunately the image is discolored (very pink), scrolling vertically on the screen and pixelated. At least one problem seems to be the clock signal quality, which on my setup is connected through a fairly long flex cable and adapter from the MIPI port on the board. I am trying to improve this, but I think there must be other issues as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Were you able to get your camera working? If so, I would like to know what camera module you tested with, and any other steps that helped you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Mar 2017 00:11:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Parallel-camera-i-mx6QUAD/m-p/650066#M99467</guid>
      <dc:creator>mhilt</dc:creator>
      <dc:date>2017-03-11T00:11:16Z</dc:date>
    </item>
  </channel>
</rss>

