860 RTC support
dan at mvista.com
Fri Apr 20 05:16:00 EST 2001
Steven Hein wrote:
> My problem is this: when I set the date via the "date --set"
> command (which calls stime()) or by calling settimeofday() directly,
> it doesn't result in the 860's RTC being updated.
Ahh, OK. I'll take a look at this. I thought it used to work in
older kernels. It's on my list (or if someone else wants to take
a look and send a patch ...... :-).
> I know I'm missing something, as it sounds like this works for others,
As I recall, there are events that occur to update the RTC from
the kernel's notion of time, and one used to be some timeout. Perhaps
after you set the time, if you wait for a while it may update the RTC.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded