#9411 HIGH 1.5-F11: copy-nand for 1.5

Zarro Boogs per Child bugtracker at laptop.org
Fri Jul 17 18:17:48 EDT 2009


#9411: copy-nand for 1.5
------------------------------------+---------------------------------------
           Reporter:  cjb           |       Owner:               
               Type:  defect        |      Status:  new          
           Priority:  high          |   Milestone:  1.5-F11      
          Component:  not assigned  |     Version:  not specified
         Resolution:                |    Keywords:               
        Next_action:  never set     |    Verified:  0            
Deployment_affected:                |   Blockedby:               
           Blocking:                |  
------------------------------------+---------------------------------------

Comment(by wmb at firmworks.com):

 A good starting point would be the existing fs-update facility, which uses
 a spec file as defined by http://wiki.laptop.org/go/OFW_NAND_FLASH_Updater

 The spec file commands will need to be extended, but the basic framework
 is sound.  It lets you create a partition map, erase the entire device or
 just a partition, and populate partitions with data chunks that are signed
 with hashes.  By signing the spec file, the entire process can be secured
 if desired.

 Some possible extensions:

 a) Add a command to set the chunk size.  Currently it is fixed at 128KiB,
 which is probably okay, but I can envision that we might end up wanting to
 use larger chunks, perhaps 1M, at some point.

 b) Add a command to stipulate that the block data is compressed - or
 perhaps a new form of the eblock: command for compressed data.  The new
 command could specify the uncompressed size to make reading the image file
 easier.

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


More information about the Bugs mailing list