[Trac #70] Make Linuxbios use LZMA

Zarro Boogs per Child bugtracker at laptop.org
Mon Sep 11 00:21:47 EDT 2006


#70: Make Linuxbios use LZMA
-----------------------+----------------------------------------------------
 Reporter:  rsmith     |        Owner:  rminnich 
     Type:  task       |       Status:  new      
 Priority:  blocker    |    Milestone:  rev1 beta
Component:  linuxbios  |   Resolution:           
 Keywords:             |  
-----------------------+----------------------------------------------------
Comment (by rminnich):

 I got it using unrv2b tonight. One issue is that the decompressor puts the
 data at 2MB -- smack dab in the middle of where one of the linux elf
 segments goes. So at some point the rom stream code starts overwriting the
 decompressed data with itself, more or less, as ELF bits get copied
 around.

 As a temporary fix, I am putting the unrv2b output at 16 MB. This works.
 The right permanent fix is to make a streaming decompressor so that we
 don't uncompress the whole thing -- rather, decompress on demand, as the
 current stream functions do.

 Finally, there is a spurious complaint at the end:
     89:stream_skip() - overflowed source buffer

 All this really means is that we hit EOF in this case. This is a very
 unclear message, which I will try to improve, but first I want to do LZMA.

 ron

-- 
Ticket URL: <http://dev.laptop.org/ticket/70#comment:3>
One Laptop Per Child <http://laptop.org/>



More information about the Devel mailing list