<?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>8-bit MicrocontrollersのトピックRe: building with ltib -c and get syntax error in dts file</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/building-with-ltib-c-and-get-syntax-error-in-dts-file/m-p/150263#M8061</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The dts file looks fine as well. In fact I can delete all its contents and just leave an open and close brace in it and it still&amp;nbsp; complains about a syntax error on the first line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Oct 2010 23:04:20 GMT</pubDate>
    <dc:creator>AdeAtWork</dc:creator>
    <dc:date>2010-10-11T23:04:20Z</dc:date>
    <item>
      <title>building with ltib -c and get syntax error in dts file</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/building-with-ltib-c-and-get-syntax-error-in-dts-file/m-p/150261#M8059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;using ltib -c to build and get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error:: ......mpc8313erdb.dts 12:0 - 1:0 syntax error&lt;/P&gt;&lt;P&gt;FATAL ERROR: unable to parse input tree&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It doesn't give any clues as to what the error is. As the dts file is supplied by freescale&amp;nbsp; its hard to work out what I should do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 00:01:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/building-with-ltib-c-and-get-syntax-error-in-dts-file/m-p/150261#M8059</guid>
      <dc:creator>AdeAtWork</dc:creator>
      <dc:date>2010-09-24T00:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: building with ltib -c and get syntax error in dts file</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/building-with-ltib-c-and-get-syntax-error-in-dts-file/m-p/150262#M8060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anyone ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 20:31:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/building-with-ltib-c-and-get-syntax-error-in-dts-file/m-p/150262#M8060</guid>
      <dc:creator>AdeAtWork</dc:creator>
      <dc:date>2010-10-01T20:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: building with ltib -c and get syntax error in dts file</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/building-with-ltib-c-and-get-syntax-error-in-dts-file/m-p/150263#M8061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The dts file looks fine as well. In fact I can delete all its contents and just leave an open and close brace in it and it still&amp;nbsp; complains about a syntax error on the first line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Oct 2010 23:04:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/building-with-ltib-c-and-get-syntax-error-in-dts-file/m-p/150263#M8061</guid>
      <dc:creator>AdeAtWork</dc:creator>
      <dc:date>2010-10-11T23:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: building with ltib -c and get syntax error in dts file</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/building-with-ltib-c-and-get-syntax-error-in-dts-file/m-p/150264#M8062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the exact same error......Did you ever fix it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 19:35:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/building-with-ltib-c-and-get-syntax-error-in-dts-file/m-p/150264#M8062</guid>
      <dc:creator>mrbmcg</dc:creator>
      <dc:date>2011-02-25T19:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: building with ltib -c and get syntax error in dts file</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/building-with-ltib-c-and-get-syntax-error-in-dts-file/m-p/150265#M8063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, managed to sort this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently the .dts files for the mpc8313erdb are in dts-v0 format. The vrsion of the DTC (Device Tree Compiler)&amp;nbsp; I have installed does not support this format any longer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To fix it I downloaded the source and built it, which includes a utility called convert-dtsv0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;git clone &lt;A href="http://git.jdl.com/software/dtc.git" rel="nofollow" target="_blank"&gt;http://git.jdl.com/software/dtc.git&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;cd dtc&lt;/P&gt;&lt;P&gt;&amp;gt;make&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This should build the convert-dtsv0 utiltity&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Copy it to your /usr/local/bin directory (or wherever you think is suitable in your PATH)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;cd /ltib-mpc8313erdb-20081222/config/platform/mpc8313erdb/dts/&lt;/P&gt;&lt;P&gt;(or wherever you have the BSP installed)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;convert-dtsv0&amp;nbsp;mpc8313erdb.dts&lt;/P&gt;&lt;P&gt;&amp;gt;convert-dtsv0&amp;nbsp;mpc8313erdb-revc-tsec1-marvell.dts&lt;/P&gt;&lt;P&gt;&amp;gt;convert-dtsv0&amp;nbsp;mpc8313erdb-usb-internal-client.dts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will produce three files of the same names, but with the extension .dtsv1&lt;/P&gt;&lt;P&gt;You will need to delete or rename the original files to something else (I renamed them with an extra .orig extension), then rename the .dtsv1 files to .dts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The build should now work. (hopefully)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 21:04:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/building-with-ltib-c-and-get-syntax-error-in-dts-file/m-p/150265#M8063</guid>
      <dc:creator>mrbmcg</dc:creator>
      <dc:date>2011-02-25T21:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: building with ltib -c and get syntax error in dts file</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/building-with-ltib-c-and-get-syntax-error-in-dts-file/m-p/150266#M8064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that !!!!&amp;nbsp; I waited a long time for an answer !&lt;/P&gt;&lt;P&gt;My boss is now happy !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 00:19:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/building-with-ltib-c-and-get-syntax-error-in-dts-file/m-p/150266#M8064</guid>
      <dc:creator>AdeAtWork</dc:creator>
      <dc:date>2011-03-03T00:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: building with ltib -c and get syntax error in dts file</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/building-with-ltib-c-and-get-syntax-error-in-dts-file/m-p/150267#M8065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you (Both of you&lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;) every much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also&amp;nbsp;meet the same problem. Your idea do help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I solve my problem by following the steps below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Download the source file of DTC (&lt;A href="http://git.jdl.com/software/" rel="nofollow" target="_blank"&gt;http://git.jdl.com/software/&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;gt;tar –zxvf dtc-v1.2.0.tgz&lt;/P&gt;&lt;P&gt;&amp;gt;cd dtc-v1.2.0&lt;/P&gt;&lt;P&gt;&amp;gt;make&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This should build the version1.2.0 DCT&lt;/P&gt;&lt;P&gt;Now copy the “dct” executable file to “/opt/freescale/ltib/usr/bin/” directory and simply overwrite the old one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;./ltib&lt;/P&gt;&lt;P&gt;And I was told “Build succeded!”&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Apr 2011 15:28:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/building-with-ltib-c-and-get-syntax-error-in-dts-file/m-p/150267#M8065</guid>
      <dc:creator>Dana_Wang</dc:creator>
      <dc:date>2011-04-02T15:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: building with ltib -c and get syntax error in dts file</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/building-with-ltib-c-and-get-syntax-error-in-dts-file/m-p/150268#M8066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When a forum posting solves your problem, please use either the problem solved feature or the kudo feature (if the post has already been flagged as a solution). I make a point of looking at the posts with large kudo numbers to see if there is a major problem that needs to be fed back to the engineers and fixed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 19:21:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/building-with-ltib-c-and-get-syntax-error-in-dts-file/m-p/150268#M8066</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2011-04-04T19:21:16Z</dc:date>
    </item>
  </channel>
</rss>

