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

Hoi-Ho Chan hoiho.chan at gmail.com
Fri Mar 28 18:56:32 CET 2008


On Fri, Mar 28, 2008 at 12:31 PM, Jerry Van Baren
<gerald.vanbaren at ge.com> wrote:
> Luigi 'Comio' Mantellini wrote:
>  > 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
>
>  Hi Luigi,
>
>  I have a stupid question in return: why do we want lzma (7zip) added to
>  u-boot?  The linux/uboot world is dominated by gzip.  I realize 7zip has
>  advantages over gzip albeit incremental, not revolutionary IIRC.
>
>  I am not aware of proposals or implementations of kernels compressed
>  with lzma (could well be my ignorance).  Adding more code for minimal
>  benefits is a hard sell (we already have plenty of bloat :-O).
>
>  Best regards,
>  gvb
>
>

Would be great if it's being used for squashfs-lzma support.

Thanks
Donald


More information about the U-Boot mailing list