#11400 BLOC 1.75-so: Date resets to 1970 each boot

Zarro Boogs per Child bugtracker at laptop.org
Tue Nov 15 17:04:48 EST 2011


#11400: Date resets to 1970 each boot
---------------------------------+------------------------------------------
           Reporter:  cjb        |       Owner:  dilinger     
               Type:  defect     |      Status:  new          
           Priority:  blocker    |   Milestone:  1.75-software
          Component:  kernel     |     Version:  not specified
         Resolution:             |    Keywords:               
        Next_action:  never set  |    Verified:  0            
Deployment_affected:             |   Blockedby:               
           Blocking:             |  
---------------------------------+------------------------------------------

Comment(by saadia):

 According to the kernel/Documentation/rtc.txt the new rtc framework allows
 for such a situation:

 {{{
 "The new framework also removes the "one RTC per system" restriction.  For
 example, maybe the low-power battery-backed RTC is a discrete I2C chip,
 but
 a high functionality RTC is integrated into the SOC.  That system might
 read
 the system clock from the discrete RTC, but use the integrated one for all
 other tasks, because of its greater functionality."
 }}}

 From this it seems we should not advertise read_time and set_time from the
 rtc-mmp driver, and only from the idt1338 driver. Then we would set
 CONFIG_RTC_HCTOSYS_DEVICE=rtc1 so hctosys would use the idt clock.
 I will give it a try.

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


More information about the Bugs mailing list