standalone dtc compiler build from git://git.jdl.com/software/dtc.git gives error

Stephen Warren swarren at wwwdotorg.org
Thu Apr 12 09:13:39 EST 2012


On 04/11/2012 04:26 PM, Karicheri, Muralidharan wrote:
>>> -----Original Message-----
>>> From: Stephen Warren [mailto:swarren at wwwdotorg.org]
>>> Sent: Wednesday, April 11, 2012 2:21 PM
>>> To: Karicheri, Muralidharan
>>> Cc: devicetree-discuss at lists.ozlabs.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:
>>>> 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 at 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
>>>>
>>> ...
>>>> 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 
> ...

That's odd. I just tried both v1.3.0 and master dtc, and could compile
your example just fine. I also compiled
arch/arm/boot/dts/tegra-cardhu.dts from the kernel (next-20120411). Both
worked fine.

Note that I get the error you're seeing if I run Ubuntu's packaged dtc,
which is 1.1.0.dfsg-1build1 on my system. Are you sure you're running
the dtc binary you think you are?


More information about the devicetree-discuss mailing list