<?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 How to create add and write camera driver on yocto. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-add-and-write-camera-driver-on-yocto/m-p/1654813#M206272</link>
    <description>&lt;P&gt;Hi, Good evening, NXP Community.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am working on I.MX 8 QM SBC. I need the steps how to create a new camera(IMX219) device tree file and .ko file in yocto.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2023 12:07:18 GMT</pubDate>
    <dc:creator>KartikFromMarth</dc:creator>
    <dc:date>2023-05-22T12:07:18Z</dc:date>
    <item>
      <title>How to create add and write camera driver on yocto.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-add-and-write-camera-driver-on-yocto/m-p/1654813#M206272</link>
      <description>&lt;P&gt;Hi, Good evening, NXP Community.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am working on I.MX 8 QM SBC. I need the steps how to create a new camera(IMX219) device tree file and .ko file in yocto.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 12:07:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-create-add-and-write-camera-driver-on-yocto/m-p/1654813#M206272</guid>
      <dc:creator>KartikFromMarth</dc:creator>
      <dc:date>2023-05-22T12:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to create add and write camera driver on yocto.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-add-and-write-camera-driver-on-yocto/m-p/1656182#M206400</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217625"&gt;@KartikFromMarth&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To create this file please try the following steps:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;→ First of all, to write the device tree (.dts) I can suggest to base on the device tree for camera OV5640. You can find this file on linux-imx and search dts for imx8qm-mek-ov5640 (&lt;A href="https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/arch/arm64/boot/dts/freescale/imx8qm-mek-ov5640.dts" target="_self"&gt;linux-imx/imx8qm-mek-ov5640.dts at lf-6.1.y · nxp-imx/linux-imx · GitHub&lt;/A&gt;).&lt;BR /&gt;→ Then create the proper modifications based on IMX219 sensor. For this step you can based on an implementation for other embedded devices such as Nvidia Jetson Nano or Raspberry Pi. I found a link forum that could help: &lt;A href="https://forums.developer.nvidia.com/t/modifying-device-tree-for-imx219-behind-i2c-mux/184495/18" target="_self"&gt;Modifying device tree for IMX219 behind I2C mux - Jetson &amp;amp; Embedded Systems / Jetson Nano - NVIDIA Developer Forums&lt;/A&gt;&lt;BR /&gt;Also, you can take as a reference another community thread: &lt;A href="https://community.nxp.com/t5/i-MX-Processors/IMX219-Camera-on-Avnet-Maaxboard-board/td-p/1377817" target="_self"&gt;IMX219 Camera on Avnet Maaxboard board - NXP Community&lt;/A&gt;&lt;BR /&gt;→ Finally, once you have the your edited dts file on Yocto use:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;○ Type the command "bitbake -c devshell linux-imx"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;○ Add your dts file in &amp;lt;local build folder&amp;gt;/tmp/work/imx8mp_lpddr4_evk-poky-linux/linux-imx/6.1.1+gitAUTOINC+xxxxx-xxxxx/git/arch/arm64/boot/dts/freescale/&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;○ Then use command "make dtbs"&lt;/P&gt;
&lt;P&gt;I hope this information will be helpful.&lt;/P&gt;
&lt;P&gt;Have a great day!&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 03:09:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-create-add-and-write-camera-driver-on-yocto/m-p/1656182#M206400</guid>
      <dc:creator>brian14</dc:creator>
      <dc:date>2023-05-24T03:09:14Z</dc:date>
    </item>
  </channel>
</rss>

