linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Floris Lambrechts" <florisla@gmail.com>
To: linuxppc-embedded@ozlabs.org
Subject: PCF8563 realtime clock does not initialize
Date: Mon, 23 Apr 2007 13:38:26 +0200	[thread overview]
Message-ID: <576210b90704230438h168e15a7q5fc309d791db52b6@mail.gmail.com> (raw)

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

                 reply	other threads:[~2007-04-23 11:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=576210b90704230438h168e15a7q5fc309d791db52b6@mail.gmail.com \
    --to=florisla@gmail.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).