Subject: Re: clock drift
To: Marius Strobl <marius@alchemy.franken.de>
From: Simon Burge <simonb@wasabisystems.com>
List: port-cobalt
Date: 08/13/2003 12:57:49
On Mon, Aug 11, 2003 at 03:47:09AM +0200, Marius Strobl wrote:
> On Sun, Aug 03, 2003 at 09:11:14AM -0700, Jason Meinzer wrote:
> > I am using a RaQ 1 and my clock drifts almost 30 seconds too fast every 
> > five minutes.  Is this happening for anyone else?  All I can find is an 
> 
> This is a long standig bug. The NetBSD kernel doesn't initialise the
> timers/counters of the Galileo system controller but then reads the
> current value of the write-only timer0 register in microtime().

I wonder if it isn't easier/better/whatever to switch to a microtime()
that uses the CPU's cycle counter instead?  A number of other MIPS ports
do this.

Simon.
--
Simon Burge                                   <simonb@wasabisystems.com>
NetBSD Development, Support and Service:   http://www.wasabisystems.com/