linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* DTC compilations
@ 2007-01-19 23:09 Russell McGuire
  2007-01-19 23:20 ` Andy Fleming
  0 siblings, 1 reply; 2+ messages in thread
From: Russell McGuire @ 2007-01-19 23:09 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 494 bytes --]

All,

 

Thanks for those who helped me past ARCH-ppc stuff, kernel compiles fine
now.

 

Next question, I am using the latest<pretty sure> DTC from jdl.com to
compile up a sample .dts file.

I noted that all the .dts files in the /arch/powerpc/boot/dts do not contain
a /chosen node. So if I compile any of them, I get an error and no resulting
blob file.

 

Do I have the wrong version of the DTC? Or is this a new feature that I need
to implement add to the .dts file I create?

 

-Russ


[-- Attachment #2: Type: text/html, Size: 2884 bytes --]

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

* Re: DTC compilations
  2007-01-19 23:09 DTC compilations Russell McGuire
@ 2007-01-19 23:20 ` Andy Fleming
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Fleming @ 2007-01-19 23:20 UTC (permalink / raw)
  To: Russell McGuire; +Cc: linuxppc-embedded


On Jan 19, 2007, at 17:09, Russell McGuire wrote:

> All,
>
>
>
> Thanks for those who helped me past ARCH-ppc stuff, kernel compiles  
> fine now.
>
>
>
> Next question, I am using the latest<pretty sure> DTC from jdl.com  
> to compile up a sample .dts file.
>
> I noted that all the .dts files in the /arch/powerpc/boot/dts do  
> not contain a /chosen node. So if I compile any of them, I get an  
> error and no resulting blob file.
>
>
>
> Do I have the wrong version of the DTC? Or is this a new feature  
> that I need to implement add to the .dts file I create?

Current versions "require" the chosen node.  u-boot will provide it,  
though, so you don't need to add it unless your u-boot doesn't  
provide it (This would mean you'd need to boot with a boot wrapper.   
Or get a newer u-boot ;) ).  In order to avoid the error being fatal,  
pass "-f" to the dtc.  I believe it's on the communal "TODO" list for  
the dtc.  But, given the choice between modifying the code, and  
adding "-f" to the command line, most people have chosen the two- 
character option.

Andy

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

end of thread, other threads:[~2007-01-19 23:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-19 23:09 DTC compilations Russell McGuire
2007-01-19 23:20 ` Andy Fleming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).