From: David Gibson <david-xT8FGy+AXnRB3Ne2BGzF6laj5H9X9Tb+@public.gmane.org>
To: Rob Landley <rob-VoJi6FS/r0vR7s880joybQ@public.gmane.org>
Cc: devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org
Subject: Re: dtc
Date: Fri, 29 Aug 2008 23:12:28 +1000 [thread overview]
Message-ID: <20080829131228.GB972@yookeroo.seuss> (raw)
In-Reply-To: <200808290226.24367.rob-VoJi6FS/r0vR7s880joybQ@public.gmane.org>
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
prev parent reply other threads:[~2008-08-29 13:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-08 12:46 dtc Sébastien Chrétien
[not found] ` <319b0ac50808080546w7bda0293ub9fb4a4160cfd17f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-08-08 12:54 ` dtc Wolfram Sang
[not found] ` <20080808125430.GA4243-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2008-08-08 13:10 ` dtc Wolfgang Grandegger
[not found] ` <489C45AC.9080504-5Yr1BZd7O62+XT7JhA+gdA@public.gmane.org>
2008-08-09 10:00 ` dtc Sébastien Chrétien
2008-08-29 7:26 ` dtc Rob Landley
[not found] ` <200808290226.24367.rob-VoJi6FS/r0vR7s880joybQ@public.gmane.org>
2008-08-29 13:12 ` David Gibson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080829131228.GB972@yookeroo.seuss \
--to=david-xt8fgy+axnrb3ne2bgzf6laj5h9x9tb+@public.gmane.org \
--cc=devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org \
--cc=rob-VoJi6FS/r0vR7s880joybQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox