View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001159 | fss5pv210_Linux | RTC | public | 2012-07-18 17:47 | 2014-01-28 11:42 |
Reporter | Keller | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | armStoneA8-V1.1 | ||||
Target Version | fss5pv210-V2.0 | Fixed in Version | fss5pv210-V2.0 | ||
Summary | 0001159: RTC does not run, it always shows the same time | ||||
Description | If the system is in Linux, the RTC does not show any progress. It always shows the same time and no new time can be set. | ||||
Steps To Reproduce | Call hwclock -r a few times. There is no progress in time. Also hwclock -w has no effect. The hardware clock does not accept the time. | ||||
Additional Information | The original Samsung driver activated the register access (RTCEN) at start and only deactivated it when unloading. This caused the RTC to draw too much power from the battery while the system was running. Samsung tried to avoid this by stopping the rtc_clk while not accessing the clock registers. But then there is no base clock, so the clock will not run at all. We modified the driver so that the RTCEN is only activated during the register access and deactivated immediately again afterwards. Therefore we could remove all the rtc_clk switching. However one clk_disable(rtc_clk) slipped through during this change. Until the next version is out, there is a patch available in the forum (also attached to this report). | ||||
Forum Link | http://forum.fs-net.de/viewtopic.php?f=55&t=3230 | ||||