<?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: Camera Support For RAW10 Format</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883493#M133887</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you resolve this? I am in the same situation. I am working with IMX214 which outputs in RAW10 only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Mar 2019 23:50:22 GMT</pubDate>
    <dc:creator>paul_soucy</dc:creator>
    <dc:date>2019-03-15T23:50:22Z</dc:date>
    <item>
      <title>Camera Support For RAW10 Format</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883489#M133883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using the following software packages&lt;/P&gt;&lt;P&gt;kernel version - 4.9.88&lt;/P&gt;&lt;P&gt;Yacto Distribution - Rocko&lt;/P&gt;&lt;P&gt;I need to connect the monochrome camera to IMX8M. The camera supports only RAW10 bit data so I made the following changes in kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In mx6s_capture.c file&amp;nbsp; i add following under mx6s_configure_csi function&lt;/P&gt;&lt;P&gt;switch (csi_dev-&amp;gt;fmt-&amp;gt;pixelformat) {&lt;BR /&gt; case V4L2_PIX_FMT_YUV32:&lt;BR /&gt; case V4L2_PIX_FMT_SBGGR8:&lt;BR /&gt; width = pix-&amp;gt;width;&lt;BR /&gt; break;&lt;BR /&gt; case V4L2_PIX_FMT_UYVY:&lt;BR /&gt; case V4L2_PIX_FMT_YUYV:&lt;BR /&gt; if (csi_dev-&amp;gt;csi_mipi_mode == true)&lt;BR /&gt; width = pix-&amp;gt;width;&lt;BR /&gt; else&lt;BR /&gt; /* For parallel 8-bit sensor input */&lt;BR /&gt; width = pix-&amp;gt;width * 2;&lt;BR /&gt; break;&lt;BR /&gt; &lt;EM&gt;&lt;STRONG style="text-decoration: underline; "&gt;case V4L2_PIX_FMT_SBGGR10:&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG style="text-decoration: underline; "&gt; width = pix-&amp;gt;width * 2;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG style="text-decoration: underline; "&gt; break;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt; default:&lt;BR /&gt; pr_debug(" case not supported\n");&lt;BR /&gt; return -EINVAL;&lt;BR /&gt; }&lt;BR /&gt; csi_set_imagpara(csi_dev, width, pix-&amp;gt;height);&lt;/P&gt;&lt;P&gt;if (csi_dev-&amp;gt;csi_mipi_mode == true) {&lt;BR /&gt; cr1 = csi_read(csi_dev, CSI_CSICR1);&lt;BR /&gt; cr1 &amp;amp;= ~BIT_GCLK_MODE;&lt;BR /&gt; csi_write(csi_dev, cr1, CSI_CSICR1);&lt;/P&gt;&lt;P&gt;cr18 = csi_read(csi_dev, CSI_CSICR18);&lt;BR /&gt; cr18 &amp;amp;= BIT_MIPI_DATA_FORMAT_MASK;&lt;BR /&gt; cr18 |= BIT_DATA_FROM_MIPI;&lt;/P&gt;&lt;P&gt;switch (csi_dev-&amp;gt;fmt-&amp;gt;pixelformat) {&lt;BR /&gt; case V4L2_PIX_FMT_UYVY:&lt;BR /&gt; case V4L2_PIX_FMT_YUYV:&lt;BR /&gt; cr18 |= BIT_MIPI_DATA_FORMAT_YUV422_8B;&lt;BR /&gt; break;&lt;BR /&gt; case V4L2_PIX_FMT_SBGGR8:&lt;BR /&gt; cr18 |= BIT_MIPI_DATA_FORMAT_RAW8;&lt;BR /&gt; break;&lt;BR /&gt; &lt;STRONG&gt;&lt;EM style="text-decoration: underline; "&gt;case V4L2_PIX_FMT_SBGGR10:&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM style="text-decoration: underline; "&gt; cr18 |= BIT_MIPI_DATA_FORMAT_RAW10;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM style="text-decoration: underline; "&gt; break;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt; default:&lt;BR /&gt; pr_debug(" fmt not supported\n");&lt;BR /&gt; return -EINVAL;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;csi_write(csi_dev, cr18, CSI_CSICR18);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After enable the support in kernel i can able to receive some image data but its corrupted and also i received 10 frames per second out of 60. so my question is&lt;/P&gt;&lt;P&gt;1.How the RAW10 format is arranged in buffer?&lt;/P&gt;&lt;P&gt;1.what is the default mipi clock in imx8m and how to change the mipi clock?&lt;/P&gt;&lt;P&gt;2.Did i miss anything to add in kernel to enable raw10 support?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Vimal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2019 15:16:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883489#M133883</guid>
      <dc:creator>vimalan_93</dc:creator>
      <dc:date>2019-02-04T15:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Camera Support For RAW10 Format</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883490#M133884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vimal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Supported cameras and formats are described in AN12187 Quick Start Guide&lt;/P&gt;&lt;P&gt;for MINISASTOCSI for i.MX 8M Evaluation Kit&lt;/P&gt;&lt;P&gt;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN12187.pdf" rel="nofollow" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN12187.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately porting raw sensor&amp;nbsp;doc guide on imx8 currently not available, sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;P&gt;The clocks are MIPI CSI host clocks, they are not related to external camera inpu signal.&lt;/P&gt;&lt;P&gt;The host can support 1, 2,3 and 4 lanes camera, so 1 lane camera can be supported. The lane number is set from device tree, "data-lanes = &amp;lt;1 2&amp;gt;;" means 2 lanes are used:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;amp;mipi_csi_1 {&lt;BR /&gt;&amp;nbsp;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;&amp;nbsp;#size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt;&amp;nbsp;status = "okay";&lt;BR /&gt;&amp;nbsp;port {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;mipi1_sensor_ep: endpoint1 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;remote-endpoint = &amp;lt;&amp;amp;ov5640_mipi1_ep&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;data-lanes = &amp;lt;1 2&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;csi1_mipi_ep: endpoint2 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;remote-endpoint = &amp;lt;&amp;amp;csi1_ep&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;};&lt;BR /&gt;&amp;nbsp;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 17:00:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883490#M133884</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2019-02-06T17:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Camera Support For RAW10 Format</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883491#M133885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;1. I referred the mentioned Document and it says that, the IMX8M supports RAW format. and IMX8MDQLQRM document mentioned the IMX8M supports the RAW10 format.&lt;/P&gt;&lt;P&gt;Can you please explain how the RAW10 data is arranged in Buffer. I attached the screenshot from IMX6 datasheet for RAW10 data arrangements. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot from 2019-02-07 11-04-06.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/71362iD12914476DFCF55E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2019-02-07 11-04-06.png" alt="Screenshot from 2019-02-07 11-04-06.png" /&gt;&lt;/span&gt; &amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Yes, I talked about MIPI-CSI host clock the IMX8M supports 1.5GB per lane so what is the default operating clock? Because i received very low frame rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Questions&lt;/P&gt;&lt;P&gt;1. The RAW10 data arrangement for IMX6 &amp;amp; IMX8 is same or not?&lt;/P&gt;&lt;P&gt;2. What is the default mipi csi host clock and how can i increase the MIPI CSI host clock?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 05:47:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883491#M133885</guid>
      <dc:creator>vimalan_93</dc:creator>
      <dc:date>2019-02-07T05:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Camera Support For RAW10 Format</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883492#M133886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your Support&lt;/P&gt;&lt;P&gt;Now I can able to receive the raw10 format successfully,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2019 14:53:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883492#M133886</guid>
      <dc:creator>vimalan_93</dc:creator>
      <dc:date>2019-02-14T14:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Camera Support For RAW10 Format</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883493#M133887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you resolve this? I am in the same situation. I am working with IMX214 which outputs in RAW10 only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2019 23:50:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883493#M133887</guid>
      <dc:creator>paul_soucy</dc:creator>
      <dc:date>2019-03-15T23:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Camera Support For RAW10 Format</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883494#M133888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please explain your problem in brief. what is your exact problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2019 10:14:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883494#M133888</guid>
      <dc:creator>vimalan_93</dc:creator>
      <dc:date>2019-03-26T10:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Camera Support For RAW10 Format</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883495#M133889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you tell me what command did you use to save raw camera capture ?&lt;BR /&gt;I tried many gstreamer commands to save the .raw file but all failed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 08:25:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883495#M133889</guid>
      <dc:creator>hiectai</dc:creator>
      <dc:date>2019-05-14T08:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Camera Support For RAW10 Format</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883496#M133890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you solved the problem yet? We have the same problem with ov9282.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 06:16:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883496#M133890</guid>
      <dc:creator>jefferyli</dc:creator>
      <dc:date>2019-06-11T06:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Camera Support For RAW10 Format</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883497#M133891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vimal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me how did u resolve the issue.&lt;/P&gt;&lt;P&gt;Are you saving it in raw format?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;IMG class="jive_emoji" src="https://community.nxp.com/images/emojis/1f60a.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2019 09:54:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883497#M133891</guid>
      <dc:creator>wasim_nazir</dc:creator>
      <dc:date>2019-08-26T09:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Camera Support For RAW10 Format</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883498#M133892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vimal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; background-color: #ffffff; font-size: 14px;"&gt;We are trying to integrate&amp;nbsp;&lt;STRONG&gt;Sony IMX412&lt;/STRONG&gt; camera sensor for iMX8m platform.&amp;nbsp;IMX412 is a &lt;STRONG&gt;Bayer sensor&lt;/STRONG&gt; and it is configured as &lt;STRONG&gt;RAW10&lt;/STRONG&gt; mode, 1280x720 &lt;STRONG&gt;15fps 2 lanes, 300Mbps/lane setting&lt;/STRONG&gt;. The sensor was properly configured as per the settings. We are also facing "Base address switching change err." issue. If I disable "Base address switching" in the mx6s_capture.c and I was not getting a proper image.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; background-color: #ffffff; font-size: 14px;"&gt;Q:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; background-color: #ffffff; font-size: 14px;"&gt;1. We are facing the same issue. How did you solve this problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; background-color: #ffffff; font-size: 14px;"&gt;2. What are changes required on iMX8m mipi CSI side?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; background-color: #ffffff; font-size: 14px;"&gt;3. Can you please explain it briefly for resolving this issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2019 13:43:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/883498#M133892</guid>
      <dc:creator>pranesh</dc:creator>
      <dc:date>2019-09-10T13:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Camera Support For RAW10 Format</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/1557149#M197767</link>
      <description>&lt;P&gt;i have added raw 10 in my driver code(mipi_csi and mx6s_capture). i couldn't able to stream properly.can you pls tell me which gstreamer command did you use for you and what is the pipeline for your camera?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 11:38:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/1557149#M197767</guid>
      <dc:creator>udhayamoorthi</dc:creator>
      <dc:date>2022-11-21T11:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Camera Support For RAW10 Format</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/1558244#M197881</link>
      <description>&lt;P&gt;but how? i have tried the same process to add raw 10 and my pipeline doesn't support for this&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 06:35:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Camera-Support-For-RAW10-Format/m-p/1558244#M197881</guid>
      <dc:creator>udhayamoorthi</dc:creator>
      <dc:date>2022-11-23T06:35:50Z</dc:date>
    </item>
  </channel>
</rss>

