* [Buildroot] dtc (device tree compiler)
@ 2011-02-26 19:13 Charles Krinke
2011-02-26 21:55 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Charles Krinke @ 2011-02-26 19:13 UTC (permalink / raw)
To: buildroot
I have a question about dtc. In the powerpc, a dtc (device tree compiler) is
used to compile a .dts file into a .dtb file which is used by the kernel
(uImage) to boot.
I dont see us compiling the .dts and creating the .dtb in the MPC8323ERDB.
Is there a setting I am missing in buildroot? How does the dtc get invoked
to compile the .dts into a .dtb to go along with the uImage file?
--
Charles Krinke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110226/e9801a24/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] dtc (device tree compiler)
2011-02-26 19:13 [Buildroot] dtc (device tree compiler) Charles Krinke
@ 2011-02-26 21:55 ` Peter Korsgaard
2011-02-26 22:45 ` Charles Krinke
0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2011-02-26 21:55 UTC (permalink / raw)
To: buildroot
>>>>> "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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] dtc (device tree compiler)
2011-02-26 21:55 ` Peter Korsgaard
@ 2011-02-26 22:45 ` Charles Krinke
0 siblings, 0 replies; 3+ messages in thread
From: Charles Krinke @ 2011-02-26 22:45 UTC (permalink / raw)
To: buildroot
Sorry I was not clear enough.
I dont see a .dtb file anywhere after building the kernel, it just isnt
there.
I can see mention of libfdt and if_changed_dep,bootcc in the Makefile, but,
... I guess I am not quite a Makefile guru.
Maybe some dependency is not being satisfied that I need to setup in .config
somewhere?
Charles
On Sat, Feb 26, 2011 at 1:55 PM, Peter Korsgaard <jacmet@uclibc.org> wrote:
> >>>>> "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
>
--
Charles Krinke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110226/5f979ab8/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-26 22:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-26 19:13 [Buildroot] dtc (device tree compiler) Charles Krinke
2011-02-26 21:55 ` Peter Korsgaard
2011-02-26 22:45 ` Charles Krinke
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.