* PCF8563 realtime clock does not initialize
@ 2007-04-23 11:38 Floris Lambrechts
0 siblings, 0 replies; only message in thread
From: Floris Lambrechts @ 2007-04-23 11:38 UTC (permalink / raw)
To: linuxppc-embedded
Hi all,
I have a custom board with an ppc8540 cpu. I'm using a vanilla Linux
kernel 2.6.20.3.
The RTC chip is a PCF8563, connected to 8540's i2c controller at
address 0x51. In u-boot the clock works fine ('date' command) so the
hardware is alright.
In Linux however, I get this at boot:
(...)
i2c /dev entries driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
(...)
I have compiled in the PCF8563 rtc driver (not as module), and have
support for RTC class, /dev, /proc and /sys. However, the entries in
/proc and /sys relevant to the RTC remain empty.
I have created a device node /dev/rtc0 with major/minor 254, 0 (254
being what is listed as rtc in /proc/devices).
For some reason, PCF8563 driver does not initialize correctly. I'm
looking for a hint where to look for finding the cause of this...
Some further info:
ARCH=ppc, CROSS_COMPILE=ppc_85xx- (from ELDK 4), boot loader is u-boot 1.2.0.
Thansk for any help.
Regards
Floris
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-23 11:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-23 11:38 PCF8563 realtime clock does not initialize Floris Lambrechts
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).