From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: standalone dtc compiler build from git://git.jdl.com/software/dtc.git gives error Date: Wed, 11 Apr 2012 17:13:39 -0600 Message-ID: <4F861023.7080307@wwwdotorg.org> References: <3E54258959B69E4282D79E01AB1F32B7300643@DFLE34.ent.ti.com> <4F85CB76.1010904@wwwdotorg.org> <3E54258959B69E4282D79E01AB1F32B7300A78@DFLE34.ent.ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <3E54258959B69E4282D79E01AB1F32B7300A78-n31QHH/4pUCIQmiDNMet8wC/G2K4zDHf@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: "Karicheri, Muralidharan" Cc: "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" List-Id: devicetree@vger.kernel.org On 04/11/2012 04:26 PM, Karicheri, Muralidharan wrote: >>> -----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: >>>> 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 >>>> >>> ... >>>> 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?