Powerpc newbie help

Jon Loeliger jdl at freescale.com
Sat Apr 7 01:33:21 EST 2007


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





More information about the Linuxppc-embedded mailing list