<?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 IMX6 Linux Adding Driver Module in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Linux-Adding-Driver-Module/m-p/315392#M41572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to add a driver for ar0330 aptina image sensor in linux.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are my steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Adding a new entry on the ltib Catalog&lt;/P&gt;&lt;P&gt;ltib/rpm/BUILD/linux/drivers/media/video/mxc/campture&lt;/P&gt;&lt;P&gt;=&amp;gt; Editing the Kconfig file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added this part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;config MXC_AR0330&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tristate "Ar0330"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; depends on !VIDEO_MXC_EMMA_CAMERA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; depends on ARCH_MX6Q&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; select MXC_MIPI_CSI2 if ARCH_MX6Q&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; select MXC_CAMERA_SENSOR_CLK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ---help---&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you plan to use the ar0330 Camera with mipi interface in your MXC system, say Y here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Editing the Makefile&lt;/P&gt;&lt;P&gt;I added this part:&lt;/P&gt;&lt;P&gt;ar0330-objs := ar0330.o&lt;/P&gt;&lt;P&gt;obj-$(CONFIG_MXC_AR0330) += ar0330_camera_mipi.o&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. I copied the file ov6540_mipi.c and renamed it to ar0330.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Tried to build linux&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;make[4]: *** No rule to make target `drivers/media/video/mxc/capture/ar0330_camera_mipi.c', needed by `drivers/media/video/mxc/capture/ar0330_camera_mipi.o'. Stop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't find any camera_mipi.c file for other sensors, however they dont cause errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how to solve the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;King regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jun 2014 09:49:12 GMT</pubDate>
    <dc:creator>janr_</dc:creator>
    <dc:date>2014-06-06T09:49:12Z</dc:date>
    <item>
      <title>IMX6 Linux Adding Driver Module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Linux-Adding-Driver-Module/m-p/315392#M41572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to add a driver for ar0330 aptina image sensor in linux.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are my steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Adding a new entry on the ltib Catalog&lt;/P&gt;&lt;P&gt;ltib/rpm/BUILD/linux/drivers/media/video/mxc/campture&lt;/P&gt;&lt;P&gt;=&amp;gt; Editing the Kconfig file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added this part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;config MXC_AR0330&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tristate "Ar0330"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; depends on !VIDEO_MXC_EMMA_CAMERA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; depends on ARCH_MX6Q&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; select MXC_MIPI_CSI2 if ARCH_MX6Q&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; select MXC_CAMERA_SENSOR_CLK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ---help---&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you plan to use the ar0330 Camera with mipi interface in your MXC system, say Y here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Editing the Makefile&lt;/P&gt;&lt;P&gt;I added this part:&lt;/P&gt;&lt;P&gt;ar0330-objs := ar0330.o&lt;/P&gt;&lt;P&gt;obj-$(CONFIG_MXC_AR0330) += ar0330_camera_mipi.o&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. I copied the file ov6540_mipi.c and renamed it to ar0330.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Tried to build linux&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;make[4]: *** No rule to make target `drivers/media/video/mxc/capture/ar0330_camera_mipi.c', needed by `drivers/media/video/mxc/capture/ar0330_camera_mipi.o'. Stop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't find any camera_mipi.c file for other sensors, however they dont cause errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how to solve the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;King regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 09:49:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Linux-Adding-Driver-Module/m-p/315392#M41572</guid>
      <dc:creator>janr_</dc:creator>
      <dc:date>2014-06-06T09:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 Linux Adding Driver Module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Linux-Adding-Driver-Module/m-p/315393#M41573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jan,&lt;/P&gt;&lt;P&gt;suggest to look at&lt;/P&gt;&lt;P&gt;pdk2009_12_imx25_Linux_HelloWorld_AN.pdf included in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.freescale.com/webapp/Download?colCode=IMX25_0912_SDK_LINUXDOCS_BUNDLE&amp;amp;location=null&amp;amp;fasp=1&amp;amp;WT_TYPE=Supporting%20Information&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=zip&amp;amp;WT_ASSET=Documentation"&gt;IMX25_0912_SDK_LINUXDOCS_BUNDLE&lt;/A&gt; &lt;IMG alt="" class="jiveImage" src="http://www.freescale.com/files/graphic/SECURITYINFOIMAGE.gif" /&gt; &lt;/P&gt;&lt;P&gt;i.MX25 SDK 2009.12 Linux Documentation Bundle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;chip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 02:08:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Linux-Adding-Driver-Module/m-p/315393#M41573</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2014-06-09T02:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 Linux Adding Driver Module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Linux-Adding-Driver-Module/m-p/315394#M41574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;把 ar0330-objs := ar0330.o 这句删掉. 把 ov6540_mipi.c 改为 ar0330_camera_mipi.c.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 03:14:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Linux-Adding-Driver-Module/m-p/315394#M41574</guid>
      <dc:creator>kevin_chan</dc:creator>
      <dc:date>2014-06-09T03:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 Linux Adding Driver Module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Linux-Adding-Driver-Module/m-p/315395#M41575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;ar0330-objs := ar0330.o&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;obj-$(CONFIG_MXC_AR0330) += ar0330_camera_mipi.o&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;---&amp;gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ar0330_camera_mipi&lt;/SPAN&gt;-objs := ar0330.o&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;obj-$(CONFIG_MXC_AR0330) += ar0330_camera_mipi.o&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 03:29:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Linux-Adding-Driver-Module/m-p/315395#M41575</guid>
      <dc:creator>raymondwang</dc:creator>
      <dc:date>2014-06-09T03:29:37Z</dc:date>
    </item>
  </channel>
</rss>

