Ubuntu Lucid: Using internal RTC

Hello,
Do I need to re-compile kernel or insmod any special module in order
to use the BB's internal RTC?
Is it possible to configure BB so that it loads RTC datetime on
startup, and saves PC time when shutting down?

Thanks in advance

Do you install an external Battery to the board? Otherwise the
internal rtc is useless at startup...

At-least in Lucid, if you boot with an uInitrd with the new bootarg
"fixrtc" it'll set the clock to the last un-mount time.. (similar to
how angstrom has been doing it for years..)

Regards,

I have installed the battery, and I am also using fixrtc with uInitrd.
When the BB is connected to the Internet, it does ntpupdate. The date
is correct but I cannot write it into the RTC:

meereck@BglBoard:~$ date;sudo hwclock -r
Tue Jun 8 10:40:28 CEST 2010
Tue 08 Jun 2010 10:39:26 AM CEST -0.989410 seconds
meereck@BglBoard:~$ sudo hwclock -w
meereck@BglBoard:~$ date;sudo hwclock -r
Tue Jun 8 10:41:53 CEST 2010
Tue 08 Jun 2010 10:40:51 AM CEST -0.318360 seconds

"fixrtc" it'll set the clock to the last un-mount time

It has nothing to do with RTC, does it? Because if the board is not
connected to the Internet, the date is set to yesterday after boot-up.
At least, thats how my board works.

Thanks

I have installed the battery, and I am also using fixrtc with uInitrd.
When the BB is connected to the Internet, it does ntpupdate. The date
is correct but I cannot write it into the RTC:

Don't use 'fixrtc' if you actually have a backup battery.. It assumes
your rtc value is not valid..

meereck@BglBoard:~$ date;sudo hwclock -r
Tue Jun 8 10:40:28 CEST 2010
Tue 08 Jun 2010 10:39:26 AM CEST -0.989410 seconds
meereck@BglBoard:~$ sudo hwclock -w
meereck@BglBoard:~$ date;sudo hwclock -r
Tue Jun 8 10:41:53 CEST 2010
Tue 08 Jun 2010 10:40:51 AM CEST -0.318360 seconds

Have you compared this with any of your x86's systems...

voodoo@lvrm:/tmp/test$ sudo hwclock -w
voodoo@lvrm:/tmp/test$ date;sudo hwclock -r
Tue Jun 8 06:49:24 CDT 2010
Tue 08 Jun 2010 06:49:25 AM CDT -0.516871 seconds

"fixrtc" it'll set the clock to the last un-mount time

It has nothing to do with RTC, does it? Because if the board is not
connected to the Internet, the date is set to yesterday after boot-up.
At least, thats how my board works.

Regards,