[Avila] ixp4xx_timer_freq

Chris Lang clang at gateworks.com
Mon Jun 2 20:30:38 EDT 2008


Santa,

The board is running with a 33.3333MHz crystal.

-- 
Chris Lang
Gateworks Corporation
3026 S. Higuera, San Luis Obispo, CA 93401
Ph: 805-781-2000 Fax: 805-781-2001
Email: clang at gateworks.com
Web: www.gateworks.com

On Mon, 2008-06-02 at 12:44 -0700, Santa Wiryaman wrote:
> 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
> 
>  
> 
> 
> _______________________________________________
> Avila mailing list
> Avila at lists.gateworks.com
> http://lists.gateworks.com/cgi-bin/mailman/listinfo/avila





More information about the Avila mailing list