From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Scharsig Date: Sun, 12 Sep 2010 09:10:22 +0200 Subject: [U-Boot] date time In-Reply-To: <14422.5279721015$1284154588@news.gmane.org> References: <14422.5279721015$1284154588@news.gmane.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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