[Avila] problems with hwclock on arm (avila board with ixdp425)

Tim Harvey tim_harvey at yahoo.com
Tue Apr 3 13:12:06 EDT 2007


Works fine in 2.6.15-uc0 as distributed on the Gateworks BSP 0.6 as well as the
custom patched 2.6.19 kernel I'm using (and I don't see anything in my patches
about the RTC).

I would look very carefully at the patches at the NLSU2 site here:
http://svn.nslu2-linux.org/svnroot/kernel/trunk/patches/2.6.18/

Of course it could just be broken for 2.6.18 requiring you to find and patch it
yourself.

Basically, if your asking for help with a specific kernel then you should
either be using the last 'supported' kernel by the BSP for your board
(2.6.15-uc0) or the 'latest' kernel in development as there are not many people
willing to help solve problems with anything in between.  I haven't heard of
anyone using 2.6.18 here and I don't know what you mean by 'with Debian
distribution' but several of the hardware features of the avila board require
patches to the kernel.

Tim

--- Bhanu Prakash Adhikari <bhanua at aztecsoft.com> wrote:

> 
> I use linux kernel 2.6.18 (with Debian distribution); I'm not using
> snapgear kernel!!!
> 
> The problem I have is hwclock will never come out (hangs) after the
> message
> 
> "/dev/rtc does not have interrupt functions. Waiting in loop for time
> from /dev/rtc to change"
> 
> 
> 
> -----Original Message-----
> From: Peter Naulls [mailto:peter at mushroomnetworks.com]
> Sent: Tuesday, April 03, 2007 10:22 PM
> To: Avila
> Subject: Re: [Avila] problems with hwclock on arm (avila board with
> ixdp425)
> 
> On 4/3/07, Bhanu Prakash Adhikari <bhanua at aztecsoft.com> wrote:
> >
> >
> > Problem -
> >
> > hwclock is not working on the boards, I have.
> >
> > At --debug flag, it hangs at "/dev/rtc does not have interrupt
> > functions. Waiting in loop for time from /dev/rtc to change"
> >
> > strace on hwclock showed that it loops at RTC_RD_TIME ioctl.
> >
> > Am I missing some patches or am I missing some configuration?
> 
> You don't say what kernel you're using; I presume the snapgear
> packaged one.  I'm using 2.6.21-rc5-git9, which worked fine after the
> addition of the I2C address to the RTC driver.  I still get the
> message, though:
> 
> hwclock --debug
> hwclock from util-linux-2.12r
> Using /dev/rtc interface to clock.
> Last drift adjustment done at 1175617947 seconds after 1969
> Last calibration done at 1175617947 seconds after 1969
> Hardware clock is on UTC time
> Assuming hardware clock is kept in UTC time.
> Waiting for clock tick...
> /dev/rtc does not have interrupt functions. Waiting in loop for time
> from /dev/rtc to change
> ...got clock tick
> Time read from Hardware Clock: 2007/04/03 16:48:50
> Hw clock time : 2007/04/03 16:48:50 = 1175618930 seconds since 1969
> Tue Apr  3 09:48:50 2007  -0.414303 seconds
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: avila-unsubscribe at lists.unixstudios.net
> For additional commands, e-mail: avila-help at lists.unixstudios.net
> 
> **** PLEASE IGNORE THE DISCLAIMER BELOW - THEY ARE ATTACHED BY DEFAULT
> ****
> 
> 
> The information contained in, or attached to, this e-mail, contains
> confidential information and is intended solely for the use of the individual
> or entity to whom they are addressed and is subject to legal privilege. If
> you have received this e-mail in error you should notify the sender
> immediately by reply e-mail, delete the message from your system and notify
> your system manager. Please do not copy it for any purpose, or disclose its
> contents to any other person. The views or opinions presented in this e-mail
> are solely those of the author and do not necessarily represent those of the
> company. The recipient should check this e-mail and any attachments for the
> presence of viruses. The company accepts no liability for any damage caused,
> directly or indirectly, by any virus transmitted in this email.
> 
> www.aztecsoft.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: avila-unsubscribe at lists.unixstudios.net
> For additional commands, e-mail: avila-help at lists.unixstudios.net
> 
> 





More information about the Avila mailing list