Letux 400 Kernel 2.6.24.3

Issue 64: RTC initialization fails

Reported by Nikolaus Schaller, May 1, 2010

dmesg says:

drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

Comment 1 by Nikolaus Schaller, May 1, 2010

The RTC appears to be a PCF8563
http://www.nxp.com/documents/data_sheet/PCF8563.pdf connected to I2C.

Comment 2 by Nikolaus Schaller, May 3, 2010

Yes, it is a PCF8563. But debugging shows that it is most likely not 
a driver but a i2c problem.

Comment 3 by Nikolaus Schaller, May 3, 2010

There is a special i2c bus driver for the JZ47xx CPUs from Qi 
Hardware: 
http://projects.qi-hardware.com/index.php/p/ingenic-linux-02os-linux-
2-6-31-3/source/tree/89/trunk/drivers/i2c/busses

And, we have nothing comparable in our source tree.

Comment 4 by Nikolaus Schaller, May 5, 2010

RTC now initializes. Main problem was the I2C bus driver and some 
config problems.

Remaining issues:
1. the I2C connection is a little instable (sometimes time out)
2. it looks as if the rtc is read out several hundred times (which 
fills the dmesg unless we disable this debug message)
Status: Fixed
Owner: hns

Created: 3 years 22 days ago by Nikolaus Schaller

Updated: 3 years 18 days ago

Status: Fixed

Owner: Nikolaus Schaller

Labels:
Type:Defect
Priority:Medium