<?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: Custom sensor V4L2 driver for HummingBoard-i2eX (i.MX6 Dual)-Issue</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487473#M78058</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Hi Rejeesh,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;From this&amp;nbsp; ( &lt;/SPAN&gt;&lt;A href="/legacyfs/online/5118_Debug steps for customer MIPI sensor.docx"&gt;Debug steps for customer MIPI sensor.docx&lt;/A&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt; ) &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;freescale debug document they mentioned that PLL CLK(Differential clock)range. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Feb 2016 04:55:58 GMT</pubDate>
    <dc:creator>aravinthkumarja</dc:creator>
    <dc:date>2016-02-13T04:55:58Z</dc:date>
    <item>
      <title>Custom sensor V4L2 driver for HummingBoard-i2eX (i.MX6 Dual)-Issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487468#M78053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I am developing V4L2 image sensor driver for a custom sensor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Platform details are:&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Board : HummingBoard-i2eX (i.MX6 Dual)&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;OS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Ubuntu, Linux Kernel 3.0.35&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Sensor details:&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;1. Supported MIPI lanes : 2 Lane/4 Lane (configured to use 2 lane mode)&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;2. Supported MIPI data format : RAW 10 /RAW8 (configured to use RAW10)&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;3. Virtual channel : configured to 0&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;4. Clock Frequency : 24MHz (This is actually sensor clock, MIPI clock is 114 MHz)&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;5. Resolution : 1280 x 720&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I am getting error "ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0" for&amp;nbsp; VIDIOC_DQBUF IOCTL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;To begin my trouble shooting, I would like to get my below board configuration file modifications reviewed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;//Sensor details&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;static struct fsl_mxc_camera_platform_data mipi_csi2_data = {&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp; .mclk = 24000000, // Is this OK ? Or should I put the MIPI clock(114 MHz) here?&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp; .mclk_source = 0, // Does this indicate HB MIPI clock source is sensor?&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp; .csi = 0, // Does this indicate camera sensor is using IPU #1/CSI0 ?&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp; .io_init = mx6q_csi0_io_init, // I use this function to Enable mipi to IPU1 CSI0 (mxc_iomux_set_gpr_register(1, 19, 1, 0))&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;}; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Since this structure definition doesn't have any documentation, I did not understand the meaning of these parameters. Please explain me these parameters if anybody is aware of. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;//Details of MIPI CSI2 interface&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;static struct mipi_csi2_platform_data mipi_csi2_pdata = {&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .ipu_id&amp;nbsp;&amp;nbsp; = 0,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .csi_id = 0,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .v_channel = 0,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .lanes =2,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .dphy_clk = "mipi_pllref_clk",&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .pixel_clk = "emi_clk",&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;/*Details of capture device*/&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;static struct fsl_mxc_capture_platform_data capture_data[] = {&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .csi = 0,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .ipu = 0,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .mclk_source = 0,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .is_mipi = 1,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Actually, I took these values from another sensor patch, i dont really know what these parameters are &lt;SPAN class="emoticon_happy emoticon-inline" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Now, assuming that my board configuration is ok, I went ahead with driver debugging. Below are the observations:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;1. I2C communication is ok&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;2. MIPI_CSI_PHY_STATE value is : 630,sometimes 330,300 also (Is this ok or is it indicating any clock related issue?)&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;3. MIPI_CSI_ERR1/2 both return 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Any hints to my issue? Can this be related to the format my sensor support (RAW 10)? Can someone direct me how to proceed with debugging?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Also, &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;in mxc_mipi driver, &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I saw apis to read MIPI_CSI_PHY_STATE and&amp;nbsp; MIPI_CSI_ERR1/2 registers,&lt;/SPAN&gt;&lt;/SPAN&gt;however, I didnt find any apis to read other registers&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;(MIPI_CSI_N_LANES ~ MIPI_CSI_DATA_IDS_2). Can someone guide me on how to read the other registers (also, IPU registers) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 08:08:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487468#M78053</guid>
      <dc:creator>rejeeshbabu</dc:creator>
      <dc:date>2016-02-04T08:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sensor V4L2 driver for HummingBoard-i2eX (i.MX6 Dual)-Issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487469#M78054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;I managed to read few registers related to IPU and MIPI. One thing I quickly noticed is that, value of&amp;nbsp; IPU1_CONF suggest that CSI0 if IPU1 is disabled (which is what I am trying to use!). Can somebdy let me know how to &lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;enable CSI0 if IPU1 (just writing to this bit from sensor driver is OK?). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;Also, it would be great if&amp;nbsp; someone could check the values of other registers as well and make more suggestions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;MIPI_CSI_N_LANES : 0x 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;MIPI_CSI_PHY_SHUTDOWNZ : 0x 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;MIPI_CSI_DPHY_RSTZ : 0x 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;MIPI_CSI_CSI2_RESETN : 0x 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;MIPI_CSI_PHY_STATE : 0x 630&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;MIPI_CSI_DATA_IDS_1 : 0x 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;MIPI_CSI_DATA_IDS_2 : 0x 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;IPU1_CONF : 0x660&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;IPUx_INT_STAT_1 : 0x800000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;IPUx_CSI0_DI : 0xffffffff&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;IPU1_CSI0_SENS_CONF : 0x 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;IPU1_CSI0_SENS_FRM_SIZE : 0x 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;IPU1_CSI0_ACT_FRM_SIZE : 0x1df027f&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 11:50:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487469#M78054</guid>
      <dc:creator>rejeeshbabu</dc:creator>
      <dc:date>2016-02-04T11:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sensor V4L2 driver for HummingBoard-i2eX (i.MX6 Dual)-Issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487470#M78055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rejeesh Babu,&lt;/P&gt;&lt;P&gt;In this file drivers/mxc/mipi/mxc_mipi_csi2.c &lt;/P&gt;&lt;P&gt;do the below change.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;mipi_csi2_write(info, 0x00000014, MIPI_CSI2_PHY_TST_CTRL1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;mipi_csi2_write(info, 0x00000002, CSI2_PHY_TST_CTRL1); /* 110-125MHz */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aravinth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 13:11:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487470#M78055</guid>
      <dc:creator>aravinthkumarja</dc:creator>
      <dc:date>2016-02-11T13:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sensor V4L2 driver for HummingBoard-i2eX (i.MX6 Dual)-Issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487471#M78056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It did not help Aravind; btw how did you get this value? Also how do I ensure that my PIX_CLK (and any other clock related to capturing) is correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 11:57:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487471#M78056</guid>
      <dc:creator>rejeeshbabu</dc:creator>
      <dc:date>2016-02-12T11:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sensor V4L2 driver for HummingBoard-i2eX (i.MX6 Dual)-Issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487472#M78057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Assuming that my problem is lack of RAW format support for freescale V4L2 framework, I went ahead and applied the patch mentioned in &lt;A _jive_internal="true" href="https://community.nxp.com/thread/307065"&gt;https://community.freescale.com/thread/307065&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my configuration regsiters look better, though I am getting the same error. i have enabled more logging and below is the output. Any tip from the log?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;In MVC: mxc_v4l_open&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; device name is Mxc Camera&lt;/P&gt;&lt;P&gt;End of mxc_v4l_open: v2f pix widthxheight 1280 x 720&lt;/P&gt;&lt;P&gt;End of mxc_v4l_open: crop_bounds widthxheight 1280 x 720&lt;/P&gt;&lt;P&gt;End of mxc_v4l_open: crop_defrect widthxheight 1280 x 720&lt;/P&gt;&lt;P&gt;End of mxc_v4l_open: crop_current widthxheight 1280 x 720&lt;/P&gt;&lt;P&gt;On Open: Input to ipu size is 1280 x 720&lt;/P&gt;&lt;P&gt;Pixel format is : IPU_PIX_FMT_GENERIC,0x32555049&lt;/P&gt;&lt;P&gt;Data written to CSI_SENS_CONF: 9b20&lt;/P&gt;&lt;P&gt;Sensor clock mode is: IPU_CSI_CLK_MODE_CCIR656_PROGRESSIVE&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: CSI_SENS_CONF = 0x00009B20&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: CSI_ACT_FRM_SIZE = 0x02CF04FF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mipi_reg during device init=330&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l_ioctl&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_do_ioctl 80685600&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; case VIDIOC_QUERYCAP&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l_ioctl&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_do_ioctl c02c563a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; case VIDIOC_CROPCAP&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l_ioctl&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_do_ioctl 4014563c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; case VIDIOC_S_CROP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Cropping Input to ipu size 1280 x 720&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l_ioctl&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_do_ioctl c0cc5604&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; case VIDIOC_G_FMT&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l2_g_fmt type=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; type is V4L2_BUF_TYPE_VIDEO_CAPTURE&lt;/P&gt;&lt;P&gt;End of mxc_v4l2_g_fmt: v2f pix widthxheight 1280 x 720&lt;/P&gt;&lt;P&gt;End of mxc_v4l2_g_fmt: crop_bounds widthxheight 1280 x 720&lt;/P&gt;&lt;P&gt;End of mxc_v4l2_g_fmt: crop_defrect widthxheight 1280 x 720&lt;/P&gt;&lt;P&gt;End of mxc_v4l2_g_fmt: crop_current widthxheight 1280 x 720&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l_ioctl&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_do_ioctl c0145608&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; case VIDIOC_REQBUFS&lt;/P&gt;&lt;P&gt;In MVC:mxc_streamoff&lt;/P&gt;&lt;P&gt;MVC: In mxc_free_frame_buf&lt;/P&gt;&lt;P&gt;mxc_free_frame_buf: allocated buffer count = 0&lt;/P&gt;&lt;P&gt;In MVC:mxc_allocate_frame_buf - size=921600&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l_ioctl&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_do_ioctl c0445609&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; case VIDIOC_QUERYBUF&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l2_buffer_status&lt;/P&gt;&lt;P&gt;In MVC:mxc_mmap&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; pgoff=0x18900, start=0x2aca3000, end=0x2ad84000&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l_ioctl&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_do_ioctl c0445609&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; case VIDIOC_QUERYBUF&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l2_buffer_status&lt;/P&gt;&lt;P&gt;In MVC:mxc_mmap&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; pgoff=0x18e00, start=0x2add6000, end=0x2aeb7000&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l_ioctl&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_do_ioctl c0445609&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; case VIDIOC_QUERYBUF&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l2_buffer_status&lt;/P&gt;&lt;P&gt;In MVC:mxc_mmap&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; pgoff=0x18f00, start=0x2aed5000, end=0x2afb6000&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l_ioctl&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_do_ioctl c0445609&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; case VIDIOC_QUERYBUF&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l2_buffer_status&lt;/P&gt;&lt;P&gt;In MVC:mxc_mmap&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; pgoff=0x19000, start=0x2b061000, end=0x2b142000&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l_ioctl&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_do_ioctl c044560f&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; case VIDIOC_QBUF&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l_ioctl&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_do_ioctl c044560f&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; case VIDIOC_QBUF&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l_ioctl&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_do_ioctl c044560f&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; case VIDIOC_QBUF&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l_ioctl&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_do_ioctl c044560f&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; case VIDIOC_QBUF&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l_ioctl&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_do_ioctl 40045612&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; case VIDIOC_STREAMON&lt;/P&gt;&lt;P&gt;In MVC:mxc_streamon with pixel format = 0x30314247&lt;/P&gt;&lt;P&gt;IPU:In csi_enc_enabling_tasks&lt;/P&gt;&lt;P&gt;In csi_enc_setup with format = 0x30314247, ipu = 0, csi = 0&lt;/P&gt;&lt;P&gt;cam-&amp;gt;csi =0&lt;/P&gt;&lt;P&gt;setting up ipu csi enc with mipi vc = 0&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: init channel = 15&lt;/P&gt;&lt;P&gt;Inside _ipu_csi_init&lt;/P&gt;&lt;P&gt;Destination is CSI_DATA_DEST_IDMAC&lt;/P&gt;&lt;P&gt;setting up ipu 0 from csi_enc_setup with pixel format = 0x30555049&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: initializing idma ch 0 @ c08c0000&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: ch 0 word 0 - 00000000 00000000 00000000 E0002800 000B3C9F&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: ch 0 word 1 - 03220000 00644000 00C7C000 00013FC0 00000000&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: PFS 0x6,&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: BPP 0x5,&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: NPB 0x1f&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: FW 1279,&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: FH 719,&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: EBA0 0x19100000&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: EBA1 0x19100000&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: Stride 1279&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: scan_order 0&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: uv_stride 0&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: u_offset 0x0&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: v_offset 0x0&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: Width0 0+1,&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: Width1 0+1,&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: Width2 0+1,&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: Width3 0+1,&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: Offset0 0,&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: Offset1 0,&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: Offset2 0,&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: Offset3 0&lt;/P&gt;&lt;P&gt;In MVC:mxc_poll&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l_ioctl&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_do_ioctl c0445611&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; case VIDIOC_DQBUF&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l_dqueue&lt;/P&gt;&lt;P&gt;In MVC:Dump Registers&lt;/P&gt;&lt;P&gt;In MVC:Inside Dump Registers&lt;/P&gt;&lt;P&gt;MIPI_CSI_N_LANES&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; : 1&lt;/P&gt;&lt;P&gt;MIPI_CSI_PHY_SHUTDOWNZ&amp;nbsp; : 1&lt;/P&gt;&lt;P&gt;MIPI_CSI_DPHY_RSTZ&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; : 1&lt;/P&gt;&lt;P&gt;MIPI_CSI_CSI2_RESETN&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1&lt;/P&gt;&lt;P&gt;MIPI_CSI_PHY_STATE&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; : 330&lt;/P&gt;&lt;P&gt;MIPI_CSI_DATA_IDS_1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0&lt;/P&gt;&lt;P&gt;MIPI_CSI_DATA_IDS_2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0&lt;/P&gt;&lt;P&gt;IPU1_CONF&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; : 10000761&lt;/P&gt;&lt;P&gt;IPUx_INT_STAT_1&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; : 800000&lt;/P&gt;&lt;P&gt;IPUx_CSI0_DI&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; : ffffff2b&lt;/P&gt;&lt;P&gt;IPU1_CSI0_SENS_CONF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 4009b20&lt;/P&gt;&lt;P&gt;IPU1_CSI0_SENS_FRM_SIZE : 2cf04ff&lt;/P&gt;&lt;P&gt;IPU1_CSI0_ACT_FRM_SIZE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 2cf04ff&lt;/P&gt;&lt;P&gt;ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0&lt;/P&gt;&lt;P&gt;In MVC:mxc_v4l_close&lt;/P&gt;&lt;P&gt;In MVC:mxc_streamoff&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: CSI stop timeout - 5 * 10ms&lt;/P&gt;&lt;P&gt;In MVC:mxc_free_frames&lt;/P&gt;&lt;P&gt;[520] : drivers/media/video/mxc/capture/imx219.c : ioctl_s_power() ENTER&lt;/P&gt;&lt;P&gt;[617] : drivers/media/video/mxc/capture/imx219.c : ioctl_s_power() EXIT&lt;/P&gt;&lt;P&gt;mxc_v4l_close: release resource&lt;/P&gt;&lt;P&gt;MVC: In mxc_free_frame_buf&lt;/P&gt;&lt;P&gt;mxc_free_frame_buf: allocated buffer count = -4&lt;/P&gt;&lt;P&gt;In MVC:mxc_free_frames&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 12:09:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487472#M78057</guid>
      <dc:creator>rejeeshbabu</dc:creator>
      <dc:date>2016-02-12T12:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sensor V4L2 driver for HummingBoard-i2eX (i.MX6 Dual)-Issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487473#M78058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Hi Rejeesh,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;From this&amp;nbsp; ( &lt;/SPAN&gt;&lt;A href="/legacyfs/online/5118_Debug steps for customer MIPI sensor.docx"&gt;Debug steps for customer MIPI sensor.docx&lt;/A&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt; ) &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;freescale debug document they mentioned that PLL CLK(Differential clock)range. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2016 04:55:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487473#M78058</guid>
      <dc:creator>aravinthkumarja</dc:creator>
      <dc:date>2016-02-13T04:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sensor V4L2 driver for HummingBoard-i2eX (i.MX6 Dual)-Issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487474#M78059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;1. I got the issue resolved by switching to latest kernel (3.14 FSL) and adding some basic RAW10 support in BSP.&lt;/P&gt;&lt;P&gt;2. Also, I had to set p-&amp;gt;if_type as V4L2_IF_TYPE_BT656 (V4L2_IF_TYPE_BT656_PROGRESSIVE did not work,don't know the reason ) in ioctl_g_ifparm of the sensor driver.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 06:58:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487474#M78059</guid>
      <dc:creator>rejeeshbabu</dc:creator>
      <dc:date>2016-03-09T06:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sensor V4L2 driver for HummingBoard-i2eX (i.MX6 Dual)-Issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487475#M78060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rejeesh Babu,&lt;/P&gt;&lt;P&gt;I'm new to this MIPI CSI interface and I have the custom camera, not able to get the a frame while running v4l2 application.&lt;/P&gt;&lt;P&gt;Can you please provide any suggestions on my issue ?&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/843732?commentID=843732#comment-843732" title="https://community.nxp.com/message/843732?commentID=843732#comment-843732"&gt;https://community.nxp.com/message/843732?commentID=843732#comment-843732&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Much appreciated on your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Oct 2016 10:11:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487475#M78060</guid>
      <dc:creator>titusstalin</dc:creator>
      <dc:date>2016-10-22T10:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sensor V4L2 driver for HummingBoard-i2eX (i.MX6 Dual)-Issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487476#M78061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rejeesh Babu,&lt;/P&gt;&lt;P&gt;1. I got the issue resolved by switching to latest kernel (3.14 FSL) and adding some basic RAW10 support in BSP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Raw10 data can be displayed on the imx6?（not use ISP/DSP）&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 06:18:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487476#M78061</guid>
      <dc:creator>kenmeng</dc:creator>
      <dc:date>2016-11-14T06:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sensor V4L2 driver for HummingBoard-i2eX (i.MX6 Dual)-Issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487477#M78062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have solved the problem.&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/437356"&gt;https://community.nxp.com/thread/437356&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 06:45:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487477#M78062</guid>
      <dc:creator>titusstalin</dc:creator>
      <dc:date>2016-11-14T06:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Custom sensor V4L2 driver for HummingBoard-i2eX (i.MX6 Dual)-Issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487478#M78063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi @&lt;A _jive_internal="true" data-content-finding="Community" data-userid="281719" data-username="kenmeng" href="https://community.nxp.com/people/kenmeng" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem;"&gt;ken meng&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have managed to store frames from ov9724 camera to memory using the following command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;./mxc_v4l2_capture.out -iw 1280 -ih 720 -ow 1280 -oh 720 -m 1 -i 1 -r 0 -c 10 -fr 30 -d /dev/video1 /mnt/4.data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also attaching the camera data&amp;nbsp;file here. How do I go about converting it to RGB? It is in the IPU Generic format.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, the camera streams it in RAW-10 format, but I configured the IPU for&amp;nbsp;&lt;STRONG&gt;V4L2_PIX_FMT_SBGGR10&lt;/STRONG&gt; format, which the IPU detects as&amp;nbsp;&lt;STRONG&gt;IPU_PIX_FMT_GENERIC&amp;nbsp;&lt;/STRONG&gt;format. I am unsure as to how to go about processing the raw images. How to verify if the data saved in the file is in the correct format?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching the hex dump of the data from the frame file. Seems that every 3rd and fourth lines (one line = 16byte) are the same. Does this look like a valid raw data image?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;00000000 89 24 07 1f c7 1f 88 21 c7 1e c8 22 48 20 c7 1f &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|.$.....!..."H ..|&lt;BR /&gt;00000010 c7 1e 4a 2b 48 22 09 26 48 20 49 26 c8 21 09 26 &amp;nbsp;&amp;nbsp;&amp;nbsp;|..J+H".&amp;amp;H I&amp;amp;.!.&amp;amp;|&lt;BR /&gt;00000020 d4 50 0b 2f 15 54 cd 34 91 47 8b 2f 11 46 4c 33 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|.P./.T.4.G./.FL3|&lt;BR /&gt;*&lt;BR /&gt;00000040 c7 1d 4a 29 48 22 49 27 48 22 08 20 88 23 88 21 &amp;nbsp;&amp;nbsp;&amp;nbsp;|..J)H"I'H". .#.!|&lt;BR /&gt;00000050 08 21 89 26 c8 21 09 25 48 20 08 21 86 1b c8 23 &amp;nbsp;&amp;nbsp;&amp;nbsp;|.!.&amp;amp;.!.%H .!...#|&lt;BR /&gt;00000060 13 4d 0e 38 11 46 4b 2d 51 47 4b 2c d0 41 4e 39 &amp;nbsp;&amp;nbsp;&amp;nbsp;|.M.8.FK-QGK,.AN9|&lt;BR /&gt;*&lt;BR /&gt;00000080 48 22 09 27 87 1d c8 22 c7 1c 49 24 87 1d 08 21 &amp;nbsp;&amp;nbsp;&amp;nbsp;|H".'..."..I$...!|&lt;BR /&gt;00000090 88 22 88 20 47 1f c8 21 c6 19 48 22 87 1e 87 1e &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|.". G..!..H"....|&lt;BR /&gt;000000a0 10 41 4a 2a 11 44 cb 2f 11 46 0c 30 0f 3d 8c 30 &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;|.AJ*.D./.F.0.=.0|&lt;BR /&gt;*&lt;BR /&gt;000000c0 c6 1a 87 1e c7 1c 46 1a 87 1f 89 24 07 1e c8 20 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|......F....$... |&lt;BR /&gt;000000d0 86 1b c7 1d c6 1a 08 23 47 1e 07 1d 47 1c 88 23 &amp;nbsp;&amp;nbsp;&amp;nbsp;|.......#G...G..#|&lt;BR /&gt;000000e0 4f 3f 4c 32 14 50 8b 2f 91 47 8e 39 d1 46 cd 34 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;|O?L2.P./.G.9.F.4|&lt;BR /&gt;*&lt;BR /&gt;00000100 c9 25 09 25 08 22 4b 2c 08 21 0a 2a c9 27 8b 2e &amp;nbsp;&amp;nbsp;&amp;nbsp;|.%.%."K,.!.*.'..|&lt;BR /&gt;00000110 49 26 cc 33 8a 2a 49 27 49 27 4a 29 c8 22 ca 29 &amp;nbsp;&amp;nbsp;&amp;nbsp;|I&amp;amp;.3.*I'I'J).".)|&lt;BR /&gt;00000120 d1 46 cd 35 94 51 8e 39 54 52 8c 33 51 46 4d 37 &amp;nbsp;&amp;nbsp;&amp;nbsp;|.F.5.Q.9TR.3QFM7|&lt;BR /&gt;*&lt;BR /&gt;00000140 07 1e 4a 2a 4a 29 89 25 09 26 8b 2d 49 25 ca 2a &amp;nbsp;&amp;nbsp;&amp;nbsp;|..J*J).%.&amp;amp;.-I%.*|&lt;BR /&gt;00000150 4a 28 8a 29 0a 28 49 26 8a 28 8b 2c 0a 29 49 27 &amp;nbsp;&amp;nbsp;&amp;nbsp;|J(.).(I&amp;amp;.(.,.)I'|&lt;BR /&gt;00000160 56 59 8e 38 94 51 0d 37 53 4f 8f 3c 14 51 4e 38 &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;|VY.8.Q.7SO.&amp;lt;.QN8|&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 09:45:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-sensor-V4L2-driver-for-HummingBoard-i2eX-i-MX6-Dual-Issue/m-p/487478#M78063</guid>
      <dc:creator>navinars</dc:creator>
      <dc:date>2017-01-17T09:45:05Z</dc:date>
    </item>
  </channel>
</rss>

