linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Powerpc newbie help
@ 2007-04-06 13:33 Gary Schumacher
  2007-04-06 15:33 ` Jon Loeliger
  2007-04-09 15:13 ` Yoder Stuart-B08248
  0 siblings, 2 replies; 3+ messages in thread
From: Gary Schumacher @ 2007-04-06 13:33 UTC (permalink / raw)
  To: linuxppc-embedded

=20

I am in the process of upgrading a Linux kernel from 2.4,20 to 2.6.20 on
a proprietary board that uses the PPC 750Fx (without Open Firmware) and
am having the following problems:

=20
1.  Is there more information on Device Trees so I can construct one
myself?  I have been reading "Device trees everywhere" and
"booting-without-of".  Also, there are a number of *.dts files in
/arch/powerpc/boot/dts that I have been looking at but more
examples/HowTo information would be helpful.

2.  I have downloaded dtc-2006419.tar and was wondering if there is a
newer version or do I need patches for this and if so where would I
look?

3.  Where do I find glr_parser which is required to build dtc?

Thanks
=20

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Powerpc newbie help
  2007-04-06 13:33 Powerpc newbie help Gary Schumacher
@ 2007-04-06 15:33 ` Jon Loeliger
  2007-04-09 15:13 ` Yoder Stuart-B08248
  1 sibling, 0 replies; 3+ messages in thread
From: Jon Loeliger @ 2007-04-06 15:33 UTC (permalink / raw)
  To: Gary Schumacher; +Cc: linuxppc-embedded@ozlabs.org

On Fri, 2007-04-06 at 08:33, Gary Schumacher wrote:
>  
> 
> I am in the process of upgrading a Linux kernel from 2.4,20 to 2.6.20 on
> a proprietary board that uses the PPC 750Fx (without Open Firmware) and
> am having the following problems:

I'm afraid I can't speak to the 750.

> 1.  Is there more information on Device Trees so I can construct one
> myself?

Use emacs. :-)

>   I have been reading "Device trees everywhere" and
> "booting-without-of".  Also, there are a number of *.dts files in
> /arch/powerpc/boot/dts that I have been looking at but more
> examples/HowTo information would be helpful.

This is really about the extent of the documentation that
is available without going to the official Open Firmware
spec as well.  I recommend a large Cabernet Franc if you
go that route. :-)  It is a known deficiency and it is being
worked on, just not fast enough for some.  Please feel free
to post proposals or questions to the linuxppc-dev list too!

> 2.  I have downloaded dtc-2006419.tar and was wondering if there is a
> newer version or do I need patches for this and if so where would I
> look?

Please use git to obtain a current repository from jdl.com:

    http://www.jdl.com/git_repos

    git clone git://www.jdl.com/software/dtc.git

There is a newer tar file (dtc-20070216.tgz) in www.jdl.com/software
if you are unable to git clone the repo directly.

> 3.  Where do I find glr_parser which is required to build dtc?

Please update your flex and bison in particular.  If you do
not have a glr parser, your version is, like, years old now.

HTH,
jdl

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Powerpc newbie help
  2007-04-06 13:33 Powerpc newbie help Gary Schumacher
  2007-04-06 15:33 ` Jon Loeliger
@ 2007-04-09 15:13 ` Yoder Stuart-B08248
  1 sibling, 0 replies; 3+ messages in thread
From: Yoder Stuart-B08248 @ 2007-04-09 15:13 UTC (permalink / raw)
  To: Gary Schumacher, linuxppc-embedded


Right now documentation on the flat device tree is pretty
fragemented.  The concepts are based on the IEEE-1275=20
spec of which a relatively small portion is actually=20
relevant.  Other device types and properties come from
other 'binding' documents.

Here is a list of the documents I know about:

1275 spec:
http://playground.sun.com/pub/1275/coredoc/1275-1994/1275.ps.gz

PowerPC processor binding:
http://playground.sun.com/1275/bindings/ppc/release/ppc-2_1.html

booting-without-of.txt (kernel source code: Documentation/powerpc)
-Describes the flat device tree as it is used in the Linux=20
 kernel.

Device Trees Everywhere-- paper by David Gibson and
Ben Herrenschmidt-- an overview of the concept
http://ozlabs.org/~dgibson/home/papers/dtc-paper.pdf

PCI Bus binding:
http://playground.sun.com/1275/bindings/pci/pci2_1.pdf

USB Bus binding:
http://playground.sun.com/1275/bindings/usb/usb-1_0.ps

CHRP Binding:
http://playground.sun.com/1275/bindings/chrp/chrp1_8a.ps
(I think some things we may use like interrupt controller
device types came from here)

64-bit extension:
http://playground.sun.com/1275/bindings/64bitx/12756d5.ps

interrupt mappings (** very important **):
http://playground.sun.com/1275/practice/imap/imap0_9d.html

misc device types (network, RTC, sound, etc)
http://playground.sun.com/1275/practice/devicex/dse1_0a.html
=20
Regards,
Stuart Yoder
PowerPC Software Architecture
Freescale

> -----Original Message-----
> From:=20
> linuxppc-embedded-bounces+b08248=3Dfreescale.com@ozlabs.org=20
> [mailto:linuxppc-embedded-bounces+b08248=3Dfreescale.com@ozlabs.
org] On Behalf Of Gary Schumacher
> Sent: Friday, April 06, 2007 8:34 AM
> To: linuxppc-embedded@ozlabs.org
> Subject: Powerpc newbie help
>=20
>=20
> =20
>=20
> I am in the process of upgrading a Linux kernel from 2.4,20=20
> to 2.6.20 on
> a proprietary board that uses the PPC 750Fx (without Open=20
> Firmware) and
> am having the following problems:
>=20
> =20
> 1.  Is there more information on Device Trees so I can construct one
> myself?  I have been reading "Device trees everywhere" and
> "booting-without-of".  Also, there are a number of *.dts files in
> /arch/powerpc/boot/dts that I have been looking at but more
> examples/HowTo information would be helpful.
>=20
> 2.  I have downloaded dtc-2006419.tar and was wondering if there is a
> newer version or do I need patches for this and if so where would I
> look?
>=20
> 3.  Where do I find glr_parser which is required to build dtc?
>=20
> Thanks
> =20
>=20
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>=20

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-09 15:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-06 13:33 Powerpc newbie help Gary Schumacher
2007-04-06 15:33 ` Jon Loeliger
2007-04-09 15:13 ` Yoder Stuart-B08248

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).