From: Wolfgang Denk Date: Sat, 09 Oct 2004 00:10:42 +0200 Subject: [U-Boot-Users] RTC Question In-Reply-To: Your message of "Fri, 08 Oct 2004 14:55:19 PDT." <20041008215519.11048.qmail@web13827.mail.yahoo.com> Message-ID: <20041008221047.942ECC1430@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <20041008215519.11048.qmail@web13827.mail.yahoo.com> you wrote: > > > Hou could you fix this? U-Boot will probably not even be > > running when > > the rollover happens, > I seem to recall the Cobol programmers saying this before > Y2K.:-) I think you misinterpret my statement. I mean that U-Boot is just a boot loader, used mostly in embedded systems which often run in 24/7/365.25 mode. Only a tiny fraction of the total system time will ever be spent in U-Boot. Chances that the roll-over happens while an OS (or some other software) is running are magnitudes bigger than that we see this event in U-Boot. So calculate the probability that (1) the same hardware will still be used in 2094, (2) it will still run U-Boot, and (3) the roll-over happens exactly during a reboot of the system. Now how much effort do you intend to spend on solving such a problem? My recommendation is: document and ignore it. It's a feature (read: limitation) of the hardware, and this type of hardware will go out of existence soon enough. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de The use of Microsoft crippleware systems is a sin that carries with it its own punishment. -- Tom Christiansen in <6bo3fr$pj8$5@csnews.cs.colorado.edu>