How do I have to set time that the realtime clock is set? I set time with date 2009.12.03-20:00 but after a reboot the time is lost and some other time from 2005 is restored. How can I fix that? thanks a lot
Real time clock
Does this help? Search for <BusyBox commands> hwclock hwclock [-r|--show] [-s|--hctosys] [-w|--systohc] [-l|--localtime] [-u|--utc] [-f FILE] Query and set hardware clock (RTC) Options: -r Show hardware clock time -s Set system time from hardware clock -w Set hardware clock to system time -u Hardware clock is in UTC -l Hardware clock is in local time -f FILE Use specified device (e.g. /dev/rtc2)
Just read the source of the "hwclock" command and you will know how to set the clock from inside your own program.