On Wed, 2007-12-05 at 11:38, Grant Likely wrote:

> >
> > +       aliases {
> > +               ethernet0 = &enet0;
> > +               ethernet1 = &enet1;
> > +               ethernet2 = &enet2;
> > +               ethernet3 = &enet3;
> > +               serial0 = &serial0;
> > +               serial1 = &serial1;
> > +               pci0 = &pci0;
> > +               pci1 = &pci1;
> > +       };
> 
> I had thought aliases were supposed to be full paths to nodes instead
> of phandles.  Was I wrong?

Indeed, that is correct.  And they are!

=> fdt addr c00000
=> fdt print /aliases
aliases {
        ethernet0 = "/[EMAIL PROTECTED]/[EMAIL PROTECTED]";
        ethernet1 = "/[EMAIL PROTECTED]/[EMAIL PROTECTED]";
        ethernet2 = "/[EMAIL PROTECTED]/[EMAIL PROTECTED]";
        ethernet3 = "/[EMAIL PROTECTED]/[EMAIL PROTECTED]";
        serial0 = "/[EMAIL PROTECTED]/[EMAIL PROTECTED]";
        serial1 = "/[EMAIL PROTECTED]/[EMAIL PROTECTED]";
        pci0 = "/[EMAIL PROTECTED]";
        pci1 = "/[EMAIL PROTECTED]";
};
=> bootm 1000000 - c00000

Grant, you need to keep up, man.  Just this morning
I pushed Gibson's patch to DTC to support this. :-)

jdl


_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to