Booting Imac G5

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Nov 18 08:30:39 EST 2004


On Wed, 2004-11-17 at 15:56 +0100, J. Mayer wrote:
> On Mon, 2004-11-15 at 13:48, Segher Boessenkool wrote:
> > >>> RTC is probably in the SMU...
> > >>
> > >> It is.
> > >
> > > Apple say it's an external RTC in the developper notes. The problem is
> > > to get an I2C driver for the SMU. With the forth code, seems that it 
> > > can
> > > be made ;-)
> > 
> > As far as I know you just ask the SMU the time, you don't have to
> > talk to the IIC yourself.  Or maybe that has changed...  checking...
> > no, it hasn't (the actual commands did change, though).
> 
> OK, I made a confusion between the SMU system clock, which is accessed
> via I2C and the RTC which is directly accessed.
> I still need to test my code, then I will have (soon) a RTC driver...

Which i2c bus is it on ? You may need to use the low-level i2c routines
in pmac_low_i2c instead of the high level driver to access the RTC early
at boot.

Ben.





More information about the Linuxppc64-dev mailing list