On Fri, 9 Dec 2005, Pavel Machek wrote:
> On Pá 09-12-05 22:39:06, Richard Purdie wrote:
> > On Fri, 2005-12-09 at 22:28 +0100, Pavel Machek wrote:
> > > Is there driver for real time clock for spitz? I seem to get default
> > > time each time I boot. (And thats bad because means fsck "too much time
> > > since last check, check forced).
> >
> > There is but its already included with the kernels you have. It doesn't
> > survive reboots and this is a limitation of the PXA processor. There's
> > not a lot we can do about it I'm afraid.
>
> Ouch, that's bad :-(. So PXA can't keep time properly...
The RTC count is lost on a hard reset. It survives sleep mode though.
The fact is that PocketPC/WinCE is not meant to be "rebooted" and the
RTC on the PXA was probably designed with that fact. The normal usage
pattern is to go into sleep mode all the time.
> could we do something like storing time on system shutdown and
> restoring it on bootup? That way at least time will be monotonic...
> Ok, that's userland problem.
I'd say so.
> Is there way to reboot without "really" rebooting? That would help at
> least in my usage case.
You should be able to "soft" reboot which will also preserve the RTC
count.
Nicolas
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]