I'm seeing initialisation problems with the rtc driver It's compiled in to the kernel (not a module - in fact I have everything compiled in, no modules at all).
dmesg gives...
...
i2c /dev entries driver
atmel_twi atmel_twi.0: Atmel TWI/I2C adapter (baudrate 100k) at 0xffe00800.
mmc_host mmc0: Atmel MCI controller at 0xfff02400 irq 28
Advanced Linux Sound Architecture Driver Version 1.0.14 (Fri Jul 20 09:12:58 2007 UTC).
ALSA device list:
No soundcards found.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 56K (90000000 - 9000e000)
Mounting virtual filesystems:
/proc mounted
/sys mounted
/dev mounted
/dev/pts directory made
...
This is on a circuit derived from the STK1000/1002 but I'm using a Philips 8563 device, not the internal rtc.
Kernel is configured with I2c bit bang off, atmel_twi on.
I'm using the patch supplied by lubos (Jan 18 ) which seems to fix the atmel_twi driver.
After boot I see no /dev/rtc0 was created. Also, /sys/class/rtc exists but is an empty directory, but I'm not sure waht that means.
The rtc driver fails in initialisation when it tries to open the device. I'm beginning to wonder if it's trying to access /dev/rtc0 before /dev/rtc0 is created. Has this driver known to work. If so has it been used as built in to the kernel or just as a module? (Or am I barking up the wrong tree?).



