linuxppc-embedded: mpc8260 bus frequency calculations

4 messages, 3 authors, 2001-03-08 · open the first message on its own page

linuxppc-embedded: mpc8260 bus frequency calculations

From: Brendan J Simon <hidden>
Date: 2001-03-02 01:40:54

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/

Re: linuxppc-embedded: mpc8260 bus frequency calculations

From: Dan Malek <hidden>
Date: 2001-03-02 07:26:35

Brendan J Simon wrote:
.... One solution is to have the
board_info fields in units of Hz instead of MHz.
I know.  It's one of my patches to add real soon now :-).


	-- Dan

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

Re: linuxppc-embedded: mpc8260 bus frequency calculations

From: Magnus Damm <hidden>
Date: 2001-03-02 14:20:08

quoted
.... One solution is to have the
board_info fields in units of Hz instead of MHz.
I know.  It's one of my patches to add real soon now :-).
I think that would be nice for the mpc8xx boards too.

/ Magnus

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

Re: linuxppc-embedded: mpc8260 bus frequency calculations

From: Dan Malek <hidden>
Date: 2001-03-08 06:06:39

Magnus Damm wrote:
I think that would be nice for the mpc8xx boards too.
My plan is to just change them all.  It was originally this
way because it is the value given to me by the MBX boot rom
and was just propagated through all of the code.


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help