[Avila] ixp4xx_timer_freq

Santa Wiryaman santa at amperion.com
Mon Jun 2 15:44:30 EDT 2008


Hi,

 

Sorry if this has been discussed before.  I am using an Avila GW2348-4
board running Linux 2.6.21.4.

The ixp4xx_timer_freq is set by default in
include/asm-arm/arch-ixp4xx/timex.h to be 66,666,666.

With this setting the clock seems to be too slow by about 36 seconds per
hour.  I compare this using

ntpdate -q to an ntp server on a PC running Linux.

 

I then set the frequency to be 66,000,000, and the clock seems to be a
lot more accurate.  Is the Avila

board running with 33.3333 MHz crystal or 33 MHz crystal?  If it is the
latter, I would then override

the ixp4xx_timer_freq setting to be 66,000,000 in the avila_init()
function.

 

Thanks,

-santa

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gateworks.com/pipermail/avila/attachments/20080602/7a39d2e4/attachment.htm 


More information about the Avila mailing list