[U-Boot-Users] LZMA support (patch)

Luigi 'Comio' Mantellini luigi.mantellini at idf-hit.com
Fri Mar 28 18:18:42 CET 2008


Hi everyone,

this patch adds the lzma support with the following constraints:

 - it doesn't install the LZMA SDK files. I provide the import_lzma.sh
script to import the needs file from a lzma sdk release
 - the imported lzma sdk files are _not touched_
 - the lzma support is enabled defining the CONFIG_LZMA define
 - I haven't tested this patch
 - Use this patch at your own risk

The patch creates:

 - the lib_lzma directory with the import_lzmasdk.sh script and a simple
front-end to LzmaDecode() fuction
 - the include/lzma directory with some include files to use in the
U-Boot code

modifies:

 - common/do_bootm.c file
 - common/image.c file
 - include/image.h file

Please read the lib_lzma/README.txt file.

Luigi



On ven, 2008-03-28 at 16:42 +0100, Luigi 'Comio' Mantellini wrote:
> Hi people,
> 
> I have a stupid question: why does u-boot not support the LZMA
> algorithm?
> 
> (Anyway, I have a self-made and untested patch that introduces this
> compression algorithm).
> 
> Thanks a lot.
> 
> luigi
> 
> 
> Industrie Dial Face S.p.A.
> Luigi Mantellini
> R&D - Software
> Industrie Dial Face S.p.A.
> Via Canzo, 4 
> 20068 Peschiera Borromeo (MI), Italy
> Tel.:   +39 02 5167 2813
> Fax:    +39 02 5167 2459
> E-mail: luigi.mantellini at idf-hit.com
> GPG fingerprint: 3DD1 7B71 FBDF 6376
> 1B4A
>                  B003 175F E979 907E
> 1650
> 
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
-- 
     ______       Luigi Mantellini
   .'______'.     R&D - Software
  (.'      '.)    Industrie Dial Face S.p.A.
  ( :=----=: )    Via Canzo, 4
  ('.______.')    20068 Peschiera Borromeo (MI), Italy
   '.______.'     Tel.: +39 02 5167 2813
                  Fax:  +39 02 5167 2459
Ind.  Dial Face   Email: luigi.mantellini at idf-hit.com
www.idf-hit.com   GPG fingerprint: 3DD1 7B71 FBDF 6376 1B4A
                                   B003 175F E979 907E 1650



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-LZMA-support-for-kernel-images.patch
Type: application/mbox
Size: 15652 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080328/1cb1fe9e/attachment.bin 


More information about the U-Boot mailing list