Hello everybody, I'm trying to setup current date time to my device, but I don't know how to use hwclock to do that. I'm trying some parameters, but no one seems to work. [root@FriendlyARM /]# hwclock -w 032420101143 s3c2410-rtc s3c2410-rtc: rtc only supports 100 years hwclock: RTC_SET_TIME: Invalid argument [root@FriendlyARM /]# Anyone knows where can I find a manual? thanks in advance!
How to use hwclock??
Solved! I wasn't using the parameters properly. The correct statment is: hwclock -w MMDDhhmmYYYY hope it helps someone.
Mine does not work... I still get the same error you got... hwclock -w option sets the hardware clock from the system clock. The values you used after it were ignored.
Hello, i have add this line in rcS file /sbin/hwclock -s start board on the next day date and time in not set correctly. example current date 30jan2014 time 17.30.00 set start system on the next day current date 30Jan2014 time 20.30.00