<?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 Problem in creating dtb file using dtc (FATAL ERROR: Unable to parse input tree) in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Problem-in-creating-dtb-file-using-dtc-FATAL-ERROR-Unable-to/m-p/479610#M76348</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create dtb file using the below command&amp;nbsp; "dtc -I dts -O dtb -o ls1021a-twr.dtb ls1021a-twr.dts" and i see the below errors &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: ls1021a-twr.dts:10.1-2 syntax error&lt;/P&gt;&lt;P&gt;FATAL ERROR: Unable to parse input tree&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then checked dtsi and dts files and do not see anything obvious as they are the default files as part of SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Had anyone seen this issue in the forum pls?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Nagi &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Dec 2015 03:47:48 GMT</pubDate>
    <dc:creator>nagireddychitta</dc:creator>
    <dc:date>2015-12-12T03:47:48Z</dc:date>
    <item>
      <title>Problem in creating dtb file using dtc (FATAL ERROR: Unable to parse input tree)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-in-creating-dtb-file-using-dtc-FATAL-ERROR-Unable-to/m-p/479610#M76348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create dtb file using the below command&amp;nbsp; "dtc -I dts -O dtb -o ls1021a-twr.dtb ls1021a-twr.dts" and i see the below errors &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: ls1021a-twr.dts:10.1-2 syntax error&lt;/P&gt;&lt;P&gt;FATAL ERROR: Unable to parse input tree&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then checked dtsi and dts files and do not see anything obvious as they are the default files as part of SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Had anyone seen this issue in the forum pls?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Nagi &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Dec 2015 03:47:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-in-creating-dtb-file-using-dtc-FATAL-ERROR-Unable-to/m-p/479610#M76348</guid>
      <dc:creator>nagireddychitta</dc:creator>
      <dc:date>2015-12-12T03:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in creating dtb file using dtc (FATAL ERROR: Unable to parse input tree)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-in-creating-dtb-file-using-dtc-FATAL-ERROR-Unable-to/m-p/479611#M76349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I could resolve one problem with #include syntax. It seems i need to give /include/ instead of #include while include any files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the issue is with #defines which are in my C header files.&lt;/P&gt;&lt;P&gt;I am still getting the same error when i try to generate the dtb file with these C header files included from .dtsi file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any different syntax for #define macros as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone pls?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 20:54:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-in-creating-dtb-file-using-dtc-FATAL-ERROR-Unable-to/m-p/479611#M76349</guid>
      <dc:creator>nagireddychitta</dc:creator>
      <dc:date>2015-12-16T20:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in creating dtb file using dtc (FATAL ERROR: Unable to parse input tree)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-in-creating-dtb-file-using-dtc-FATAL-ERROR-Unable-to/m-p/479612#M76350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: black;"&gt;It looks like it is happens since this .dts file contains “#include” directives.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: black;"&gt;The simplest way is the following. Use bitbake commands for kernel&lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: black;"&gt;&lt;/SPAN&gt;, filesystem and dtb file &lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: black;"&gt;building&lt;/SPAN&gt;. For example, use the following command:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: black;"&gt;bitbake fsl-image-minimal&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;Generate dts file from dtb file using the following commands:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;dtc -I dtb -O dts -o ls1021a-twr.dts ls1021a-twr.dtb &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;Change the .dts file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;Generate dtb file from dts file using the following commands:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;dtc -I dts -O dtb -o ls1021a-twr.dtb ls1021a-twr.dts&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel&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>Tue, 22 Dec 2015 12:24:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-in-creating-dtb-file-using-dtc-FATAL-ERROR-Unable-to/m-p/479612#M76350</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2015-12-22T12:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in creating dtb file using dtc (FATAL ERROR: Unable to parse input tree)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-in-creating-dtb-file-using-dtc-FATAL-ERROR-Unable-to/m-p/1756862#M215689</link>
      <description>&lt;P&gt;Quick Question: Where we are supposed to run the bitbake command : '&lt;SPAN&gt;bitbake fsl-image-minimal&lt;/SPAN&gt;' . Any particular file location?&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/22262"&gt;@Pavel&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192970"&gt;@Harvey021&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/184532"&gt;@Tia_Lan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 10:48:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-in-creating-dtb-file-using-dtc-FATAL-ERROR-Unable-to/m-p/1756862#M215689</guid>
      <dc:creator>paul_walker123</dc:creator>
      <dc:date>2023-11-14T10:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in creating dtb file using dtc (FATAL ERROR: Unable to parse input tree)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-in-creating-dtb-file-using-dtc-FATAL-ERROR-Unable-to/m-p/1758812#M215867</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/223839"&gt;@paul_walker123&lt;/a&gt;&amp;nbsp;Plese raise a new case along with which product you expect to build.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 06:37:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-in-creating-dtb-file-using-dtc-FATAL-ERROR-Unable-to/m-p/1758812#M215867</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2023-11-17T06:37:12Z</dc:date>
    </item>
  </channel>
</rss>

