--- In "Michael Schmidt" <> wrote:
>
>
> On Wed, October 31, 2007 11:55 am, zheng_zhou_mail wrote:
> > Hi,
> > I just bought TS-7800 with the Debian release 3.1 on a 512MB SD
> > card. After booting up, the RTC always gives a wrong time:"Sun Oct 25
> > 15:12:14 1925". I tried to reset the system time and HW clock as
> > typical procedure through a 'CuteCom' terminal:
> > -Setting the system time with 'date 103110302007'. It Works!
> > -Setting the HW clock with 'hwclock --systohc',
> > then using 'hwclock --show' to check its status. However, the
> > system response a message:
> > "The Hardware Clock registers contain values that are either invalid
> > (e.g. 50th day of month) or beyond the range we can handle (e.g. Year
> > 2095)."
> > I have tried several times with different hwclock's options
> > already, but got the same result. I dumped the /driver/rtc below,
> > which looks missing a lot info, such as periodic-IRQ, -freq, etc. Is
> > there any clue here to fix the hwclock problem on TS-7800? Please let
> > me if you have any suggestion. Thanks.
> >
> > Zheng
>
> The RTC on the 7800 cannot be accessed through the normal /dev/rtc
> mechanism, as there are problems with the new RTC abstraction in 2.6 on
> the ARM architecture. A special utility "rtc7800" was written to
transfer
> time between the RTC and system time. The "-s" option saves system time
> to the RTC, and no option transfers RTC time to system time.
>
> Regards,
>
> Michael
>
Hi Michael,
Thanks for your quick reply. As your suggested, I localized the
/usr/local/bin/rtc7800, and tried 'rtc7800 -s'. However, It doesn't
work, and only printed out a message, "TS-7800 RTC not detected". The
status of rtc7800 is attached below. Please check if it is a right
version. Thanks.
Zheng
-----------------------------------------
#ls -alt /usr/local/bin/rtc7800
-rwxr-xr-x 1 root root 11134 Jan 1 2000 /usr/local/bin/rtc7800*
#file /usr/local/bin/rtc7800
/usr/local/bin/rtc7800: ELF 32-bit LSB executable, ARM, version 1
(ARM), for GNU/Linux 2.4.3, dynamically linked (uses shared libs), not
stripped
-----------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|