Re: Problem with i2c-algo-ibm_ocp driver on ppc405 board

2 messages, 2 authors, 2004-01-28 · open the first message on its own page

Re: Problem with i2c-algo-ibm_ocp driver on ppc405 board

From: Wolfgang Denk <hidden>
Date: 2004-01-28 09:14:29

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/

Re: Problem with i2c-algo-ibm_ocp driver on ppc405 board

From: Matteo Bortolin <hidden>
Date: 2004-01-28 10:24:59

At 10.14 28/01/2004, Wolfgang Denk wrote:
Dear Matteo,

in message <6.0.1.1.1.20040128085052.01b12d40@192.168.2.1> you wrote:
quoted
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.
quoted
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.

thank you very much for your help!

Matteo Bortolin

DAVE Srl


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help