linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* linuxppc-embedded: mpc8260 bus frequency calculations
@ 2001-03-02  1:40 Brendan J Simon
  2001-03-02  4:20 ` Neil Russell
  2001-03-02  7:26 ` Dan Malek
  0 siblings, 2 replies; 8+ messages in thread
From: Brendan J Simon @ 2001-03-02  1:40 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: Dan Malek


I've come accross a problem where our custom embedded 8260 board is
losing time.  I've tracked it down to the bi_busfreq value being set to
66 instead of the true value of
66.6666666666666666666666666666666666666.  One solution is to have the
board_info fields in units of Hz instead of MHz.  I could then set the
bi_busfreq value to 66666667 for much better accuracy.

Another solution might be to regularly read the real time clock.  Does
linux do this normally or does it just read the RTC once at boot up and
then just rely on it's internal timers for the system time.  I can't see
how this can be very accurate.

Thanks,
Brendan Simon.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-03-08  6:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-02  1:40 linuxppc-embedded: mpc8260 bus frequency calculations Brendan J Simon
2001-03-02  4:20 ` Neil Russell
2001-03-02  4:32   ` Brendan J Simon
2001-03-02  5:27     ` Murray Jensen
2001-03-02 14:50     ` Daris A Nevil
2001-03-02  7:26 ` Dan Malek
2001-03-02 14:20   ` Magnus Damm
2001-03-08  6:06     ` Dan Malek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).