linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* RTC backup on omap3 (overo)
@ 2011-07-05 14:35 Gerber Patrick
  2011-07-05 15:36 ` Baruch Siach
  0 siblings, 1 reply; 2+ messages in thread
From: Gerber Patrick @ 2011-07-05 14:35 UTC (permalink / raw)
  To: linux-arm-kernel

Hello every one,

I am using an over Fire with an omap3530. I have added a small Lithium backup battery to the TWL4030 for RTC backup as recommanded by Gumstix.
I have tried to set the time with date command and shutdown the overo and remove power. After restart the date is not the one that I have set but a default one (always the same).

Does anybody have already experienced this ? Do you have any idea ?

Thanks in advance

Patrick

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RTC backup on omap3 (overo)
  2011-07-05 14:35 RTC backup on omap3 (overo) Gerber Patrick
@ 2011-07-05 15:36 ` Baruch Siach
  0 siblings, 0 replies; 2+ messages in thread
From: Baruch Siach @ 2011-07-05 15:36 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Patrick,

On Tue, Jul 05, 2011 at 02:35:12PM +0000, Gerber Patrick wrote:
> I am using an over Fire with an omap3530. I have added a small Lithium 
> backup battery to the TWL4030 for RTC backup as recommanded by Gumstix.
> I have tried to set the time with date command and shutdown the overo and 
> remove power. After restart the date is not the one that I have set but a 
> default one (always the same).
> 
> Does anybody have already experienced this ? Do you have any idea ?

Do 'hwclock -w' to set the RTC clock from the system clock. This should do the 
trick, assuming that you have the RTC driver compiled, or loaded as a module.

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-05 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-05 14:35 RTC backup on omap3 (overo) Gerber Patrick
2011-07-05 15:36 ` Baruch Siach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).