On Fri, Aug 29, 2008 at 02:26:23AM -0500, Rob Landley wrote:
On Friday 08 August 2008 08:10:04 Wolfgang Grandegger wrote:
quoted
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_...)
quoted
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