Jeff Cunningham wrote:
> rtc-m48t86 rtc-m48t86: rtc core: registered m48t86 as rtc0
>
> rtc-m48t86 rtc-m48t86: battery
[snip]
> Here's what hwclock says:
>
> :root#
> hwclock
>
>
> Cannot access the Hardware Clock via any known
> method.
> Use the --debug option to see the details of our search for an access
> method.
> :root# hwclock
> --debug
>
[snip]
> And here are my RTC related settings in the kernel .config:
> CONFIG_RTC_LIB=y
> CONFIG_RTC_CLASS=m
> # RTC interfaces
> CONFIG_RTC_INTF_SYSFS=y
> CONFIG_RTC_INTF_PROC=y
> CONFIG_RTC_INTF_DEV=y
[snip]
> # Platform RTC drivers
> # CONFIG_RTC_DRV_CMOS is not set
> # CONFIG_RTC_DRV_DS1553 is not set
> # CONFIG_RTC_DRV_STK17TA8 is not set
> # CONFIG_RTC_DRV_DS1742 is not set
> CONFIG_RTC_DRV_M48T86=m
> # CONFIG_RTC_DRV_M48T59 is not set
> # CONFIG_RTC_DRV_V3020 is not set
> # on-CPU RTC drivers
> CONFIG_RTC_DRV_EP93XX=m
> CONFIG_RTC_DRV_PL031=m
>
> Does this look right to you?
If the clock chip you are using is (compatible with) the m48t86, it seems
right. The only thing I notice is you have CONFIG_RTC_DRV_CMOS disabled. This
might only be used to enable access to the RAM of the clock chip but it
couldn't hurt to enable it.
The kernel configuration for 2.4 is quite different. There is only CONFIG_RTC
and CONFIG_TS_RTC which are both set to on. On my desktop PC running Linux 2.6
(with Fedora 8), the kernel config settings mentioning the RTC are:
CONFIG_HPET_EMULATE_RTC=y
CONFIG_RTC=y
# CONFIG_HPET_RTC_IRQ is not set
CONFIG_SND_RTCTIMER=m
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
# CONFIG_RTC_CLASS is not set
The only other thing I can suggest is to check for any available 2.6 kernel
patches for the TS boards.
--
Cheers!
Kevin.
http://www.ve3syb.ca/ |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172 |"Same thing we always do, Pinkutus:
| Try to assimilate the world!"
#include <disclaimer/favourite> | -Pinkutus & the Borg
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|