linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: Matteo Bortolin <matteo.bortolin@wawnet.biz>
Cc: linuxppc-embedded@lists.linuxppc.org, llandre@wawnet.biz
Subject: Re: Problem with i2c-algo-ibm_ocp driver on ppc405 board
Date: Wed, 28 Jan 2004 10:14:29 +0100	[thread overview]
Message-ID: <20040128091434.28ECCC108D@atlas.denx.de> (raw)
In-Reply-To: Your message of "Wed, 28 Jan 2004 09:25:40 +0100." <6.0.1.1.1.20040128085052.01b12d40@192.168.2.1>


Dear Matteo,

in message <6.0.1.1.1.20040128085052.01b12d40@192.168.2.1> you wrote:
>
> This would mean that a kernel that use  i2c-algo-ibm_ocp.c and a i2c
> RTC-driver cannot work properly
> with CONFIG_RTC_11_MINUTE_MODE!!!
>
> Is this correct?

This is correct.  This  is  exactly  the  reason  why  we  added  the
CONFIG_RTC_11_MINUTE_MODE config option in our kernel tree - with the
official kernels you will ALWAYS crash, as there is no such option.

> If yes, how can I solve my problem?

Do not enable CONFIG_RTC_11_MINUTE_MODE?

Do you understand what 11 minute  mode  means?  And  do  you  really,
really  want  such  a  behaviour?  In  almost all cases I've seen the
accuracy of the external RTC was much better than that of the  system
clock.  In  such  a case you may either just set the system time from
the RTC at boot time (and then let  the  system  time  drift  out  of
sync),  or  run NTPD to keep the system time synced with the RTC (the
RTC being the normal). I have been told that there are  installations
where  the  11 minute mode is being used (and believed to be useful),
but I don't know any. Especially not in embedded systems.

Best regards,

Wolfgang Denk

--
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
The light at the end of the tunnel is usually a "No Exit" sign.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2004-01-28  9:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-28  8:25 Problem with i2c-algo-ibm_ocp driver on ppc405 board Matteo Bortolin
2004-01-28  9:14 ` Wolfgang Denk [this message]
2004-01-28 10:24   ` Matteo Bortolin
2004-01-28 18:16 ` Eugene Surovegin

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=20040128091434.28ECCC108D@atlas.denx.de \
    --to=wd@denx.de \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=llandre@wawnet.biz \
    --cc=matteo.bortolin@wawnet.biz \
    /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).