device-tree in U-Boot
Tzachi Perelstein
tzachi at marvell.com
Tue May 24 00:04:21 EST 2005
Thanks! I got it.
> -----Original Message-----
> From: jfaslist [mailto:jfaslist at yahoo.fr]
> Sent: Tuesday, May 24, 2005 1:24 AM
> To: Tzachi Perelstein
> Cc: Benjamin Herrenschmidt; linuxppc64-dev at ozlabs.org
> Subject: Re: device-tree in U-Boot
>
> for what it's worth...you can give a look at what IBM provides in its
> ppc64 reference design for the 970FX CPU. They use a firmware called
> PIBS that have a lightweight implementation of OF and a device tree.
> See under /bsp_970fx/oflib/oflib
> $ ls
> discover.c dumptree.o of_canon.o of_stub.o openfirm.o version.c
> discover.o makefile of_path.c of_stub.s treecreate.c version.o
> dumptree.c of_canon.c of_path.o openfirm.c treecreate.o
>
> The code can be obtained from:
> http://www-
> 128.ibm.com/developerworks/power/ppc970fx/?S_TACT=105AGX37&S_CMP=TAPPA
>
> -jf simon - themis computer
>
> Benjamin Herrenschmidt a écrit :
>
> >On Tue, 2005-05-17 at 16:49 +0300, Tzachi Perelstein wrote:
> >
> >
> >>Hi Ben,
> >>
> >>I'll make U-Boot loading fits to ppc64 standards using the device-tree.
> >>I was consulting Wolfgang Denk (U-Boot owner), and he confirmed it (more
> >>or less).
> >>
> >>Since I'm not familiar with OF and device tree, and since you generously
> >>offered your help, I contact you for some guidance.
> >>As a first step, I would like to do it as simple as possible. On the
> >>last stage of U-Boot before branching to Linux, I will collect the
> >>needed information and reassemble it into a device-tree.
> >>Can you please advise me how to do it without adding the whole
> >>device-tree implementation to U-Boot? Is there any code reference I can
> >>use?
> >>You have mentioned that there are only little requirements provided by
> >>the kernel regarding device tree. Can you please clarify?
> >>
> >>
> >
> >Sure, I will. Later today or tomorrow if you don't mind though. I'm
> >gather bits & pieces and will provide you with all the needed
> >informations.
> >
> >Ben.
> >
> >
> >_______________________________________________
> >Linuxppc64-dev mailing list
> >Linuxppc64-dev at ozlabs.org
> >https://ozlabs.org/cgi-bin/mailman/listinfo/linuxppc64-dev
> >
> >
> >
>
More information about the Linuxppc64-dev
mailing list