<?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のトピックHow to compile the Device Tree Source Code</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-compile-the-Device-Tree-Source-Code/m-p/611867#M92382</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;I am working over IMX6 quad based target board , How to compile the Device Tree Source code . Which compiler to use ,&lt;/P&gt;&lt;P&gt;as per my understanding , device tree has the system hardware information&amp;nbsp; and has the hardware dependent code . How to compile this.&amp;nbsp; Kindly suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya Nagal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Mar 2017 12:47:32 GMT</pubDate>
    <dc:creator>adityanagal</dc:creator>
    <dc:date>2017-03-01T12:47:32Z</dc:date>
    <item>
      <title>How to compile the Device Tree Source Code</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-compile-the-Device-Tree-Source-Code/m-p/611867#M92382</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;I am working over IMX6 quad based target board , How to compile the Device Tree Source code . Which compiler to use ,&lt;/P&gt;&lt;P&gt;as per my understanding , device tree has the system hardware information&amp;nbsp; and has the hardware dependent code . How to compile this.&amp;nbsp; Kindly suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya Nagal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 12:47:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-compile-the-Device-Tree-Source-Code/m-p/611867#M92382</guid>
      <dc:creator>adityanagal</dc:creator>
      <dc:date>2017-03-01T12:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to compile the Device Tree Source Code</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-compile-the-Device-Tree-Source-Code/m-p/611868#M92383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adytia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- If you are building an image using Yocto the default image must provide the dtb files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- If you want to build a specific file you can use the following commands&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;$ cd &amp;lt;build dir&amp;gt;/tmp/workshared/&amp;lt;machine&amp;gt;/kernel-source/&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;$ export ARCH=arm&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;$ export CROSS_COMPILE=arm-linux-gnueabihf-&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;$ make imx_v7_defconfig&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;$ make file_name.dtb&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;$ cd &amp;lt;build dir&amp;gt;/tmp/workshared/&amp;lt;machine&amp;gt;/kernel-source/&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;$ ./scripts/dtc/dtc -I dts -O dtb -o ./file_name.dtb &amp;lt;path&amp;gt;/file-name.dts&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that dts is the file with the hardware description in code while dtb is the compiled binary file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something similar is odne in chapter 6 here: &lt;A href="https://community.nxp.com/docs/DOC-332807"&gt;https://community.nxp.com/docs/DOC-332807&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Carlos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Wed, 01 Mar 2017 21:16:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-compile-the-Device-Tree-Source-Code/m-p/611868#M92383</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2017-03-01T21:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to compile the Device Tree Source Code</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-compile-the-Device-Tree-Source-Code/m-p/1282476#M174560</link>
      <description>&lt;P&gt;The Above Linux script is throwing errror&amp;nbsp; make:*** No rule to make target 'imx_v7_deconfig'. stop&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 09:47:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-compile-the-Device-Tree-Source-Code/m-p/1282476#M174560</guid>
      <dc:creator>VinithNama</dc:creator>
      <dc:date>2021-05-26T09:47:58Z</dc:date>
    </item>
  </channel>
</rss>

