dtc

David Gibson david at gibson.dropbear.id.au
Fri Aug 29 23:12:28 EST 2008


On Fri, Aug 29, 2008 at 02:26:23AM -0500, Rob Landley wrote:
> On Friday 08 August 2008 08:10:04 Wolfgang Grandegger wrote:
> > If you want to make my-board.dtb, just type:
> >
> > $ make my-board.dtb
> >
> > You may need to specific DTS_FLAGS though, e.g.:
> >
> > $ export DTS_FLAGS="-p 0x1000"
> > $ make my-board.dtb
> 
> What do those flags do, by the way?  (Is there documentation I
> should read on this?)

dtc --help will give you a brief summary

The -p 0x1000 option causes dtc to add 0x1000 bytes of padding to the
emitted tree structure.  That means the bootloader can add a few
nodes/properties to the blob without having to reallocate it.

> I've skimmed Documentation/powerpc/booting-without-of.txt a bit, but I don't 
> recall it mentioning much about flags?  (A quick grep showed gpio flags and 
> address allocation flags, but not what any of them actually _were_...)
> 
> > Wolfgang.
> 
> Rob

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson



More information about the devicetree-discuss mailing list