public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] date time
@ 2010-09-10 21:08 Charles Seedle
  0 siblings, 0 replies; 2+ messages in thread
From: Charles Seedle @ 2010-09-10 21:08 UTC (permalink / raw)
  To: u-boot

There is a messege in the u-boot boot log showing where it set the system
time. I tried to setting the date and time using the linux command, "date".
It set them but once the I rebooted the board the values for date and time
were wrong again. Could this be related to the backup battery ? Is there a
better way to do this ? 

Randy

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

* [U-Boot] date time
       [not found] <14422.5279721015$1284154588@news.gmane.org>
@ 2010-09-12  7:10 ` Jens Scharsig
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Scharsig @ 2010-09-12  7:10 UTC (permalink / raw)
  To: u-boot

Am 2010-09-10 23:08, schrieb Charles Seedle:
> There is a messege in the u-boot boot log showing where it set the system
> time. I tried to setting the date and time using the linux command, "date".
> It set them but once the I rebooted the board the values for date and time
> were wrong again. Could this be related to the backup battery ? Is there a
> better way to do this ? 

Hello Randy,

linux command, "date" does only set the linux system datetime. You
should use hwclock to sync or set the rtc. You can also use the U-boot
date command this will set the rtc direct

regards Jens

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

end of thread, other threads:[~2010-09-12  7:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-10 21:08 [U-Boot] date time Charles Seedle
     [not found] <14422.5279721015$1284154588@news.gmane.org>
2010-09-12  7:10 ` Jens Scharsig

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