Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] dtc (device tree compiler)
Date: Sat, 26 Feb 2011 22:55:02 +0100	[thread overview]
Message-ID: <87hbbqpikp.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <AANLkTikXg3URUg5XqPJKey5X-0BsgE2gimAPGzF94oUR@mail.gmail.com> (Charles Krinke's message of "Sat, 26 Feb 2011 11:13:27 -0800")

>>>>> "Charles" == Charles Krinke <charles.krinke@gmail.com> writes:

 Charles> I have a question about dtc. In the powerpc, a dtc (device
 Charles> tree compiler) is used to compile a .dts file into a .dtb file
 Charles> which is used by the kernel (uImage) to boot.

 Charles> I dont see us compiling the .dts and creating the .dtb in the
 Charles> MPC8323ERDB.

 Charles> Is there a setting I am missing in buildroot? How does the dtc
 Charles> get invoked to compile the .dts into a .dtb to go along with
 Charles> the uImage file?

This is all handled in the kernel (arch/powerpc/boot/Makefile) - And dtc
is included in the kernel sources these days, so buildroot doesn't do
anything special for it.

The .dtb can be handled in a number of ways (embedded in bootloader,
next to bootloader or together with/in uImage). Are you asking for
options to somehow automate some of these choices?

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2011-02-26 21:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-26 19:13 [Buildroot] dtc (device tree compiler) Charles Krinke
2011-02-26 21:55 ` Peter Korsgaard [this message]
2011-02-26 22:45   ` Charles Krinke

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=87hbbqpikp.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /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