On Tuesday 17 December 2013 10:48:16 Dave Festing wrote: > On the 9thDec - date and hwclock changed from displaying the same time to > the hwclock being correct BUT date showing a time 13 hours ahead of my > current local time. Only on my mini2440s running either the 2012.12 > Pengutronix BSP or the 2013.09 version > > Now, 13 hours is the difference between NZDT and UTC, but UTC should read > 13 hours behind NZDT ... if anything. > > I get around this little problem by adding a line in /etc/init.d/startup > > hwclock --hctosys > > so that every time the machine reboots they are "synchronised".
Please use also the "--utc" parameter when running this command. The RTC time is expected as UTC. Without this parameter the RTC uses local time. Regards, Juergen -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
