From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Fri, 28 Mar 2008 13:31:59 -0400 Subject: [U-Boot-Users] LZMA support (patch) In-Reply-To: <1206724722.23627.28.camel@localhost> References: <1206718963.23627.16.camel@localhost> <1206724722.23627.28.camel@localhost> Message-ID: <47ED2B8F.3020002@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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