<?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: DTC preprocessor</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/DTC-preprocessor/m-p/499869#M80736</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ari Savolainen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The .dsi generally contain SoC-level definitions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To generate a .dtb (binary) file, so basically compiling, you would need to initialize the toolchain and then use:&lt;BR /&gt; make ARCH=arm&amp;nbsp; dtbs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The device tree files, including the source files (.dts) are located in the case of our Yocto BSP on:&lt;/P&gt;&lt;P&gt;&amp;lt;BSP_DIR&amp;gt;/&amp;lt;BUILD_DIR&amp;gt;/tmp/work/&amp;lt;MACHINE&amp;gt;-poky-linux-gnueabi/linux-imx/3.14.28-r0/git/ach/arm/boot/dts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following very informative document may also be of help.&lt;BR /&gt; &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-329664"&gt;https://community.freescale.com/docs/DOC-329664&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this information helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Feb 2016 18:47:19 GMT</pubDate>
    <dc:creator>gusarambula</dc:creator>
    <dc:date>2016-02-11T18:47:19Z</dc:date>
    <item>
      <title>DTC preprocessor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DTC-preprocessor/m-p/499868#M80735</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;How can I extract device tree blob build from yocto?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found *.dtsi files from under build/tmp -folder and want quickly test some dts setting and build new dtb with dtc compiler directly. Dtc does not understand C preprocessor directives so there must be some precompiler phase first? How can I call that preprocessor directly with proper defines?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 08:21:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DTC-preprocessor/m-p/499868#M80735</guid>
      <dc:creator>arisav</dc:creator>
      <dc:date>2016-02-10T08:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: DTC preprocessor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DTC-preprocessor/m-p/499869#M80736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ari Savolainen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The .dsi generally contain SoC-level definitions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To generate a .dtb (binary) file, so basically compiling, you would need to initialize the toolchain and then use:&lt;BR /&gt; make ARCH=arm&amp;nbsp; dtbs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The device tree files, including the source files (.dts) are located in the case of our Yocto BSP on:&lt;/P&gt;&lt;P&gt;&amp;lt;BSP_DIR&amp;gt;/&amp;lt;BUILD_DIR&amp;gt;/tmp/work/&amp;lt;MACHINE&amp;gt;-poky-linux-gnueabi/linux-imx/3.14.28-r0/git/ach/arm/boot/dts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following very informative document may also be of help.&lt;BR /&gt; &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-329664"&gt;https://community.freescale.com/docs/DOC-329664&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this information helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 18:47:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DTC-preprocessor/m-p/499869#M80736</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2016-02-11T18:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: DTC preprocessor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DTC-preprocessor/m-p/499870#M80737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK thanks, Here is (bash) command to do precompile dts files before calling dtc.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;cpp -nostdinc -I include -undef -x assembler-with-cpp $SRC &amp;gt; $TMP&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 07:59:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DTC-preprocessor/m-p/499870#M80737</guid>
      <dc:creator>arisav</dc:creator>
      <dc:date>2016-02-12T07:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: DTC preprocessor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DTC-preprocessor/m-p/499871#M80738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ari Savolainen,&lt;/P&gt;&lt;P&gt;You should be able to compile without the extra parsing - as long as you're using NXP's BSP.&lt;/P&gt;&lt;P&gt;However, I would recommend looking at the link below, where there is an option for the precompiling you're looking for.&lt;/P&gt;&lt;P&gt;&lt;A href="http://unix.stackexchange.com/questions/220122/device-tree-blob-binary" title="http://unix.stackexchange.com/questions/220122/device-tree-blob-binary"&gt;arm - Device Tree Blob (binary) - Unix &amp;amp; Linux Stack Exchange&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 22:28:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DTC-preprocessor/m-p/499871#M80738</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2016-02-15T22:28:11Z</dc:date>
    </item>
  </channel>
</rss>

