From: Rhett M. <rh...@in...> - 2012-07-17 17:32:31
|
Hi Patrick, The solution was that simple; I set the date first via date command, then set the RTC via hwclock as you spelled out. Now the date command returns the correct date, even after shutdown. Thanks! Rhett On Jul 17, 2012, at 6:11 AM, Patrick Maheral (DWI - CA/Ottawa) wrote: > Hi Rhett > >> -----Original Message----- >> From: Rhett Martineau [mailto:rh...@in...] >> >> Has anyone tried setting the time on an Air COM with Palo35? >> >> I can set the time but it won't survive shut-down. I put a >> ML-621S/ZTN lithium battery into B1 on the Palo35, set using >> <date -s' 16 Jul 2012 10:35:00'>. Does this feature not work >> on the Palo 35, or am I messing it up somewhere? >> > > "date -s ..." only sets the system time, not the battery backed > RTC. After setting the system time, try to set the RTC with: > > hwclock --systohc --utc > > Such a line should exist in your shutdown scripts, but perhaps > it is or disabled. > > Patrick > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users |