#10951 HIGH 1.75-fi: OFW XO-1.75 - auto-reflash support for EC code

Zarro Boogs per Child bugtracker at laptop.org
Mon Jun 13 01:57:34 EDT 2011


#10951: OFW XO-1.75 - auto-reflash support for EC code
-------------------------------------------+--------------------------------
           Reporter:  wmb at firmworks.com    |       Owner:  Quozl        
               Type:  defect               |      Status:  new          
           Priority:  high                 |   Milestone:  1.75-firmware
          Component:  ofw - open firmware  |     Version:  1.75-A3      
         Resolution:                       |    Keywords:               
        Next_action:  review               |    Verified:  0            
Deployment_affected:                       |   Blockedby:               
           Blocking:                       |  
-------------------------------------------+--------------------------------
Changes (by wmb at firmworks.com):

  * owner:  pgf => Quozl


Comment:

 If we use the existing version number, we'll need a comparison function
 that handles structured numbers so that, for example, 4.0.11 > 4.0.2 .

 The version can be parsed from the version&date$ with something like:

 {{{
   bl left-parse-string  " XO-EC" $=  0=  if  2drop true exit  then  ( rem$
 )
   bl left-parse-string  " 4" $=  0=  if  2drop true exit  then  ( rem$ )
   bl left-parse-string  2nip  ( version$ )
   ec-version@  compare-ec-versions  0<=  ( flag )
 }}}

 Also we need to s/ec-name/ec-version/ in eccmd.fth and devices.fth

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


More information about the Bugs mailing list