#9439 NORM Not Tri: Sync RTC clock to OATS server from initrd

Zarro Boogs per Child bugtracker at laptop.org
Fri Aug 21 10:54:54 EDT 2009


#9439: Sync RTC clock to OATS server from initrd
-----------------------------+----------------------------------------------
 Reporter:  martin.langhoff  |                 Owner:               
     Type:  defect           |                Status:  new          
 Priority:  normal           |             Milestone:  Not Triaged  
Component:  not assigned     |               Version:  not specified
 Keywords:                   |           Next_action:  never set    
 Verified:  0                |   Deployment_affected:               
Blockedby:                   |              Blocking:               
-----------------------------+----------------------------------------------
 The time-based lease scheme depends on the RTC clock. If the clock is
 significantly off, the XO will either refuse to run, or run with a 'never
 expiring' lease.

 So as part of
 http://wiki.laptop.org/go/XS_Blueprints:Lease_and_update_server we want to

  - Extend the 'OATS port 191' protocol to include a 'time' command.

    - Server implementation at
      http://dev.laptop.org/git/users/martin/xs-
 activation.git/commit/?id=c4e520820aa2788f8ce009a0d866613f4286a975

    - Client -- olpcrd -- implementation at
      http://dev.laptop.org/git/users/martin/olpcrd-
 rough.git/commit/?id=54500f5bb9925a8bb2bcff94f28bfa1f87e1e6e4

 The client implementation requires that we include hwclock and date
 binaries. We can either recompile busybox adding the hwclock/date
 functionality, or include the desired binaries.

 The git repo above contains binaries that work correctly on the XO in the
 initrd environment.

 Related bugs
 #4181 -- describing this re machines with RTC battery problems
 #5561 -- No way to set clock w/o internet access.

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


More information about the Bugs mailing list