* Device tree for powerpc boards.
@ 2008-06-13 17:07 Leonid
2008-06-13 17:49 ` Jon Loeliger
0 siblings, 1 reply; 3+ messages in thread
From: Leonid @ 2008-06-13 17:07 UTC (permalink / raw)
To: linuxppc-embedded
Hi:
I am using u-boot (1.3.0.rc3) and Linux (2.6.23) on Frescale MPC8544DS
board. This is my first exposure to the powerpc architecture (used to be
ppc in old days), so I have been reading all available manuals I could
find on the subject.=20
I think I do understand the picture but need some minor clarifications.
1) Is the usage of device tree absolutely mandatory for powerpc boards
or just recommended and by combining appropriate defines in u-boot and
linux it can be avoided?=20
2) I understood that I can add my proprietary drivers without creating
nodes for them in the tree, is it correct?
3) In order to compile DT blob from DT source, DT compiler (dtc) is
required. I have installed one on my ubuntu machine and successfully
compiled source, creating a blob. Is this the only way to go? Perhaps
there is some target in Linux or u-boot Makefiles which does this job?=20
Thanks,
Leonid.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Device tree for powerpc boards.
2008-06-13 17:07 Device tree for powerpc boards Leonid
@ 2008-06-13 17:49 ` Jon Loeliger
2008-06-13 22:13 ` Leonid
0 siblings, 1 reply; 3+ messages in thread
From: Jon Loeliger @ 2008-06-13 17:49 UTC (permalink / raw)
To: Leonid; +Cc: linuxppc-embedded
Leonid wrote:
> Hi:
Hi.
> 1) Is the usage of device tree absolutely mandatory for powerpc boards
> or just recommended and by combining appropriate defines in u-boot and
> linux it can be avoided?
Consider it mandatory.
> 2) I understood that I can add my proprietary drivers without creating
> nodes for them in the tree, is it correct?
Maybe, maybe not. Device Trees describe _hardware_, not drivers.
> 3) In order to compile DT blob from DT source, DT compiler (dtc) is
> required. I have installed one on my ubuntu machine and successfully
> compiled source, creating a blob. Is this the only way to go? Perhaps
> there is some target in Linux or u-boot Makefiles which does this job?
Install the DTC anyway you want. I recommend grabbing
it from jdl.com and building it.
jdl
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Device tree for powerpc boards.
2008-06-13 17:49 ` Jon Loeliger
@ 2008-06-13 22:13 ` Leonid
0 siblings, 0 replies; 3+ messages in thread
From: Leonid @ 2008-06-13 22:13 UTC (permalink / raw)
To: Jon Loeliger; +Cc: linuxppc-embedded
Hi, Jon:
Thanks a lot for your explanation.
Leonid.=20
-----Original Message-----
From: Jon Loeliger [mailto:jdl@freescale.com]=20
Sent: Friday, June 13, 2008 10:50 AM
To: Leonid
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Device tree for powerpc boards.
Leonid wrote:
> Hi:
Hi.
> 1) Is the usage of device tree absolutely mandatory for powerpc boards
> or just recommended and by combining appropriate defines in u-boot and
> linux it can be avoided?
Consider it mandatory.
> 2) I understood that I can add my proprietary drivers without creating
> nodes for them in the tree, is it correct?
Maybe, maybe not. Device Trees describe _hardware_, not drivers.
> 3) In order to compile DT blob from DT source, DT compiler (dtc) is=20
> required. I have installed one on my ubuntu machine and successfully=20
> compiled source, creating a blob. Is this the only way to go? Perhaps=20
> there is some target in Linux or u-boot Makefiles which does this job?
Install the DTC anyway you want. I recommend grabbing it from jdl.com
and building it.
jdl
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-06-13 22:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-13 17:07 Device tree for powerpc boards Leonid
2008-06-13 17:49 ` Jon Loeliger
2008-06-13 22:13 ` Leonid
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).