All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Scharsig <js_at_ng@scharsoft.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] date time
Date: Sun, 12 Sep 2010 09:10:22 +0200	[thread overview]
Message-ID: <i6hu6t$acj$1@dough.gmane.org> (raw)
In-Reply-To: <14422.5279721015$1284154588@news.gmane.org>

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

       reply	other threads:[~2010-09-12  7:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <14422.5279721015$1284154588@news.gmane.org>
2010-09-12  7:10 ` Jens Scharsig [this message]
2010-09-10 21:08 [U-Boot] date time Charles Seedle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='i6hu6t$acj$1@dough.gmane.org' \
    --to=js_at_ng@scharsoft.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.