RE: standalone dtc compiler build from git://git.jdl.com/software/dtc.git gives error
From: Karicheri, Muralidharan <hidden>
Date: 2012-04-11 22:26:20
quoted
-----Original Message----- From: Stephen Warren [mailto:swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org] Sent: Wednesday, April 11, 2012 2:21 PM To: Karicheri, Muralidharan Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Subject: Re: standalone dtc compiler build from git://git.jdl.com/software/dtc.git gives error On 04/11/2012 11:59 AM, Karicheri, Muralidharan wrote:quoted
Hi, Jon Lolieger, I have tried using the standalone dtc compiler at git://git.jdl.com/software/dtc.git to compile my dts file and got the following error:- a0868495@ares-ubuntu:~/dtc$ dtc -I dts -O dtb tci6614-evm.dts DTC: dts->dtb on file "tci6614-evm.dts" tci6614-evm.dts:4 syntax error...quoted
Why is the dtc not able to compile the dts file?I think the only way to answer that is going to be to post your .dts file, or at least the first 4 or 5 lines of it.
Stephen,
Thanks for responding.
Here it is
/dts-v1/;
/include/ "skeleton.dtsi"
/ {
model = "Texas Instruments TCI6614 EVM";
compatible = "ti,tci6614-evm";
#address-cells = <1>;
#size-cells = <1>;
And "skeleton.dtsi" has
/*
* Skeleton device tree; the bare minimum needed to boot; just include and
* add a compatible value. The bootloader will typically populate the memory
* node.
*/
/ {
#address-cells = <1>;
#size-cells = <1>;
chosen { };
aliases { };
memory { device_type = "memory"; reg = <0 0>; };
};
BTW, the dtc compiler in the Linux kernel tree runs fine. Also I get the same error when I run the
dtc against other existing dts files in the Linux 3.2 kernel tree. Any clue?
Thanks
Murali