[U-Boot-Users] LZMA support (patch)
Luigi 'Comio' Mantellini
luigi.mantellini at idf-hit.com
Sat Mar 29 21:21:45 CET 2008
Hi All,
I will rework the patch in order to include all files from LZMA
SDK and some fix. I'll send the patch on Tuesday (I'm in
vacation). These are the implemented features:
- LZMA SDK 4.57 Decode code (vanilla)
- A Buff2Buff wrapper to decode the image (LZMA_Alone format)
- Fixes for mkimage (option -C lzma) and do_bootm
- small footprint and small impact on the u-boot sources.
To use the LZMA algorithm: just #define CONFIG_LZMA in your
board config file.
Ciao.
luigi
> On Friday 28 March 2008, Wolfgang Denk wrote:
>> But so far there is no code (board support) in U-Boot to
>> use this
>> feature, right? And it's not used by the Linux kernel either?
>>
>> And your patch does not even enable support for it in the
>> mkimage
>> tool, so you cannot even create images that use the feature?
>
> ive seen patches floating around to add lzma support akin to
> gzip/bzip2 in the
> uImage format. makes sense to me, and some people are very
> interested in
> shaving off flash space in return for slightly longer boot
> time. linux
> kernel is irrelevant here. someone else doing this means i
> dont have to at
> some point ;).
> -mike
>
More information about the U-Boot
mailing list