Rudolf Ladyzhenskii | 8 Aug 2012 06:41

RTC on ALIX board

Hi, all

I have ALIX6F2 board with battery installed to keep RTC powered.
However, clock is reset on every re-boot.
Should I do anything special to get the voyage to use RTC properly?

Thanks,
Rudolf
Teco Boot | 10 Aug 2012 08:58
Picon

Re: RTC on ALIX board

Did you check hwclock enabled?
I check clock with script, with:
date
hwclock -r --directisa
ntpq -c rv
ntpq -p

I use /etc/default/hwclock
HWCLOCKPARS="--directisa -u --noadjfile"

And added in /etc/init.d/hwclock.sh and /etc/init.d/hwclockfirst.sh :

# Include hwclock defaults if available
if [ -f /etc/default/hwclock ] ; then
    . /etc/default/hwclock
fi

This does not need the rtc kernel module.
Newer versions may have alternatives. 

Teco

Op 8 aug. 2012, om 06:41 heeft Rudolf Ladyzhenskii het volgende geschreven:

> Hi, all
> 
> I have ALIX6F2 board with battery installed to keep RTC powered.
> However, clock is reset on every re-boot.
> Should I do anything special to get the voyage to use RTC properly?
> 
(Continue reading)


Gmane