#10827 NORM 1.75-so: RTC driver for 1.75

Zarro Boogs per Child bugtracker at laptop.org
Tue Jun 14 02:02:57 EDT 2011


#10827: RTC driver for 1.75
---------------------------------+------------------------------------------
           Reporter:  cjb        |       Owner:  saadia       
               Type:  defect     |      Status:  assigned     
           Priority:  normal     |   Milestone:  1.75-software
          Component:  kernel     |     Version:  not specified
         Resolution:             |    Keywords:               
        Next_action:  never set  |    Verified:  0            
Deployment_affected:             |   Blockedby:               
           Blocking:  10893      |  
---------------------------------+------------------------------------------

Comment(by Quozl):

 My A3 unit is losing RTC oscillator over power cycle, this is tracked at
 #10999, and is the cause of my failure to keep time reported here on
 #10827.  On my A3, doing a reboot in Linux causes #10999, but a reboot in
 OpenFirmware does not cause it.  Different mechanisms used.  That it works
 differently for you suggests a race of some sort.  You may wish to report
 the OSF in your driver to assist with debugging.  I'm interested to know
 if your unit also exhibits #10999, exclusive of Linux.

 OpenFirmware startup was corrupting the century portion of the RTC, this
 was fixed in #10989.  There should be no effect of this on Linux, since
 your driver does not read relative byte 8.  I've tested that by manually
 corrupting the value and then booting Linux on my A2 unit ... the time set
 by Linux is kept over the reboot.

 So all in all, no problems with your driver, everything I've found has
 been OpenFirmware or something at hardware level.

-- 
Ticket URL: <http://dev.laptop.org/ticket/10827#comment:8>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list