mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* kuroboxHG.dts compile FATAL ERROR on 2.6.26
@ 2008-11-02 12:24 The Peach
  2008-11-02 19:15 ` Guennadi Liakhovetski
  0 siblings, 1 reply; 3+ messages in thread
From: The Peach @ 2008-11-02 12:24 UTC (permalink / raw)
  To: LKML

Hello all
I'm updating the kernel on my kurobox and I'm stuck with an error when I try to compile the dts file, here is the exact error:


# dtc -f -I dts -O dtb -o kuroboxHG.dtb -V 16 kuroboxHG.dts
DTC: dts->dtb  on file "kuroboxHG.dts"
kuroboxHG.dts:21 syntax error
FATAL ERROR: Couldn't read input tree

even if I remove line 21 I get:

# dtc -f -I dts -O dtb -o kuroboxHG.dtb -V 16 kuroboxHG.dts
DTC: dts->dtb  on file "kuroboxHG.dts"
kuroboxHG.dts:28 syntax error
FATAL ERROR: Couldn't read input tree

sorry, but I'm totally ignorant about dts syntax and can't correct any error.
Any help will be greately appreciated :)

regards,

-- 
Matteo 'Peach' Pescarin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: kuroboxHG.dts compile FATAL ERROR on 2.6.26
  2008-11-02 12:24 kuroboxHG.dts compile FATAL ERROR on 2.6.26 The Peach
@ 2008-11-02 19:15 ` Guennadi Liakhovetski
  2008-11-08 15:41   ` The Peach
  0 siblings, 1 reply; 3+ messages in thread
From: Guennadi Liakhovetski @ 2008-11-02 19:15 UTC (permalink / raw)
  To: The Peach; +Cc: LKML

On Sun, 2 Nov 2008, The Peach wrote:

> Hello all
> I'm updating the kernel on my kurobox and I'm stuck with an error when I 
> try to compile the dts file, here is the exact error:
> 
> 
> # dtc -f -I dts -O dtb -o kuroboxHG.dtb -V 16 kuroboxHG.dts
> DTC: dts->dtb  on file "kuroboxHG.dts"
> kuroboxHG.dts:21 syntax error
> FATAL ERROR: Couldn't read input tree
> 
> even if I remove line 21 I get:
> 
> # dtc -f -I dts -O dtb -o kuroboxHG.dtb -V 16 kuroboxHG.dts
> DTC: dts->dtb  on file "kuroboxHG.dts"
> kuroboxHG.dts:28 syntax error
> FATAL ERROR: Couldn't read input tree

Looks like you're using an old version of dtc. Try using dtc from the same 
kernel from which .dts you're compiling:

linux-2.6/arch/powerpc/boot/dts$ ../dtc -I dts -O dtb -V 16 -o /tmp/kuroboxHG.dtb kuroboxHG.dts
DTC: dts->dtb  on file "kuroboxHG.dts"

> sorry, but I'm totally ignorant about dts syntax and can't correct any error.
> Any help will be greately appreciated :)

powerpc specific questions are better directed to linuxppc-dev@ozlabs.org

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: kuroboxHG.dts compile FATAL ERROR on 2.6.26
  2008-11-02 19:15 ` Guennadi Liakhovetski
@ 2008-11-08 15:41   ` The Peach
  0 siblings, 0 replies; 3+ messages in thread
From: The Peach @ 2008-11-08 15:41 UTC (permalink / raw)
  To: Guennadi Liakhovetski; +Cc: LKML

On Sun, 2 Nov 2008 20:15:21 +0100 (CET)
Guennadi wrote:

> Looks like you're using an old version of dtc. Try using dtc from the same 
> kernel from which .dts you're compiling:
> 
> linux-2.6/arch/powerpc/boot/dts$ ../dtc -I dts -O dtb -V 16 -o /tmp/kuroboxHG.dtb kuroboxHG.dts
> DTC: dts->dtb  on file "kuroboxHG.dts"
> 
sorry, I didn't notice dtc was "in bundle" with kernel sources.

question solved, thanks :)

-- 
Matteo 'Peach' Pescarin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-08 15:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-02 12:24 kuroboxHG.dts compile FATAL ERROR on 2.6.26 The Peach
2008-11-02 19:15 ` Guennadi Liakhovetski
2008-11-08 15:41   ` The Peach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®