<?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: Capturing camera frame via user space</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-camera-frame-via-user-space/m-p/619315#M93854</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/alexandrechartrand"&gt;alexandrechartrand&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Did you solve the capture problem about imx278 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Nov 2017 13:50:18 GMT</pubDate>
    <dc:creator>mustafabakircio</dc:creator>
    <dc:date>2017-11-03T13:50:18Z</dc:date>
    <item>
      <title>Capturing camera frame via user space</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-camera-frame-via-user-space/m-p/619311#M93850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We car currently trying to integrate an unsupported camera (IMX278) to our custom board built with an IMX6D. The camera uses 4 lanes CSI connection. We use linux kernel 3.14.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we have done right now is initializing the camera via I2C and generating the pixel clock in user space and everything seems to work fine. Then, I try the unit test mxc_v4l2_capture.out and when I run it I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unable to open /dev/video0&lt;BR /&gt;Unable to create y frame recording file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I run : dmesg | grep v4l&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got this output:&lt;/P&gt;&lt;P&gt;ERROR: v4l2 capture: slave not found!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen that the mxc_v4l2_capture driver only supports some specific cameras. So, here's my questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do I have to modify in the unit test or in the mxc_v4l2 driver to add support for my camera?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to do everything in user space or do I need to write a driver?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there another way to get the camera frame from user space?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alexandre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 14:44:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-camera-frame-via-user-space/m-p/619311#M93850</guid>
      <dc:creator>alexandrechartr</dc:creator>
      <dc:date>2017-03-03T14:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing camera frame via user space</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-camera-frame-via-user-space/m-p/619312#M93851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexandre&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next steps could be configuring i.MX6 MIPI phy and checking its MIPI_CSI_PHY_STATE&lt;/P&gt;&lt;P&gt;as described in Debug steps for customer MIPI sensor.docx&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fcommunity.freescale.com%2Fdocs%2FDOC-94312" rel="nofollow" target="_blank"&gt;https://community.freescale.com/docs/DOC-94312&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AN5305 MIPI-CSI2 Peripheral on i.MX6 MPU&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcache.nxp.com%2Ffiles%2F32bit%2Fdoc%2Fapp_note%2FAN5305.pdf" rel="nofollow" target="_blank"&gt;http://cache.nxp.com/files/32bit/doc/app_note/AN5305.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is camera format, one can try to find similar examples on community.&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, 04 Mar 2017 00:51:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-camera-frame-via-user-space/m-p/619312#M93851</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-03-04T00:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing camera frame via user space</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-camera-frame-via-user-space/m-p/619313#M93852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The camera we use is the imx278 and I haven't found any example that use this camera.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I have to use the v4l2 driver to capture frame or is there another way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Alexandre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 14:38:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-camera-frame-via-user-space/m-p/619313#M93852</guid>
      <dc:creator>alexandrechartr</dc:creator>
      <dc:date>2017-03-06T14:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing camera frame via user space</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-camera-frame-via-user-space/m-p/619314#M93853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexandre&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems it supports raw format, one can look at example mipi raw data format in&lt;BR /&gt;&lt;A href="https://community.freescale.com/message/386809#386809"&gt;https://community.freescale.com/message/386809#386809&lt;/A&gt;&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>Mon, 06 Mar 2017 23:47:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-camera-frame-via-user-space/m-p/619314#M93853</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-03-06T23:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing camera frame via user space</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-camera-frame-via-user-space/m-p/619315#M93854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/alexandrechartrand"&gt;alexandrechartrand&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Did you solve the capture problem about imx278 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 13:50:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-camera-frame-via-user-space/m-p/619315#M93854</guid>
      <dc:creator>mustafabakircio</dc:creator>
      <dc:date>2017-11-03T13:50:18Z</dc:date>
    </item>
  </channel>
</rss>

