[PATCH] Re: 2.6.22-git hangs during boot on PowerBook G3 in 0.0 seconds

Paul Mackerras paulus at samba.org
Thu Jul 26 13:31:45 EST 2007


Kim Phillips writes:

> but yeah, size-cells should be allowed to be 0 (even address-cells) and
> it may be the case that the Lombard needs some fixup code.

So it turns out that the nvram is under the via-pmu node on the
Lombard.  The via-pmu node has #size-cells == 0, which is correct
since things under the via-pmu aren't directly accessible.  The nvram
driver code relies on not being able to translate an address for the
nvram nodes on machines where the nvram isn't directly accessible.
That is, it looks for "nvram" nodes, and if it can translate the
address, assumes it can access the nvram directly.

So nothing is incorrect here except your patch. :)  I'll revert it.

Paul.



More information about the Linuxppc-dev mailing list