LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* 860 rtc problem
@ 2002-10-17  2:19 leeyang
  2002-10-17 14:24 ` Hollis Blanchard
  2002-10-17 16:02 ` Alex Zeffertt
  0 siblings, 2 replies; 15+ messages in thread
From: leeyang @ 2002-10-17  2:19 UTC (permalink / raw)
  To: linuxppc-embedded


Hi, all!
HW:860T custom board
SW:devel kernel 2.4.20-pre7 nfs mount on eldk

Problem:Can not adjust time in linux shell(with 'date -s' command)

RTC really runs when I use 'date' it says sometime around 1970's
and it runs when power up.
With 'date -s' command it returned time had been changed.
However after a reset,the time go back to 1970's again :-(

I try with 'hwclock' and it says below:

bash-2.04# hwclock --debug
hwclock 2.4c/util-linux-2.11f
Using /dev/rtc interface to clock.
Last drift adjustment done at 0 seconds after 1969
Last calibration done at 0 seconds after 1969
Hardware clock is on unknown time
Assuming hardware clock is kept in local 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: 1970/01/09 21:28:28
Hw clock time : 1970/01/09 21:28:28 = 786508 seconds since 1969
Fri Jan  9 21:28:28 1970  -0.188839 seconds


I guess it never really write value to RTC reg!!!
Hope help!

ps:I open /dev/rtc option in the kernel.

Regards!


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

^ permalink raw reply	[flat|nested] 15+ messages in thread
[parent not found: <200210171510.g9HFAKX11154@hofr.at>]

end of thread, other threads:[~2002-10-18  8:33 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-17  2:19 860 rtc problem leeyang
2002-10-17 14:24 ` Hollis Blanchard
2002-10-17 15:42   ` Wolfgang Denk
2002-10-17 16:02 ` Alex Zeffertt
2002-10-17 16:13   ` Tom Rini
2002-10-17 16:18     ` Alex Zeffertt
2002-10-17 16:23       ` Tom Rini
2002-10-17 16:34         ` Marius Groeger
2002-10-17 16:38           ` Tom Rini
2002-10-17 16:41           ` Alex Zeffertt
2002-10-17 16:36         ` Alex Zeffertt
2002-10-17 17:05           ` Tom Rini
2002-10-18  1:38             ` leeyang
2002-10-18  8:33     ` 860 rtc problem(sloved!!) leeyang
     [not found] <200210171510.g9HFAKX11154@hofr.at>
2002-10-17 16:14 ` 860 rtc problem Alex Zeffertt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox