From: Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] LZMA support (patch)
Date: Fri, 28 Mar 2008 19:06:00 +0100 [thread overview]
Message-ID: <1206727560.23627.41.camel@localhost> (raw)
In-Reply-To: <47ED2B8F.3020002@ge.com>
Hi Jerry,
see inline comments.
On ven, 2008-03-28 at 13:31 -0400, Jerry Van Baren 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.
>
LZMA usually performs better than gzip in terms compression ratio. My
application has a small flash memory and I need to keep two (2) kernel
images...
From these observations born my need to save as much memory as possible.
Best regards,
luigi
> 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
--
______ 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 prev parent reply other threads:[~2008-03-28 18:06 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-28 15:42 [U-Boot-Users] LZMA support Luigi 'Comio' Mantellini
2008-03-28 17:18 ` [U-Boot-Users] LZMA support (patch) Luigi 'Comio' Mantellini
2008-03-28 17:31 ` Jerry Van Baren
2008-03-28 17:56 ` Hoi-Ho Chan
2008-03-28 18:06 ` Luigi 'Comio' Mantellini [this message]
2008-03-28 19:13 ` Wolfgang Denk
2008-03-28 21:26 ` Luigi 'Comio' Mantellini
2008-03-28 22:33 ` Wolfgang Denk
2008-03-28 23:02 ` Ulf Samuelsson
2008-03-28 23:24 ` Luigi 'Comio' Mantellini
2008-03-29 2:13 ` Mike Frysinger
2008-03-29 20:21 ` Luigi 'Comio' Mantellini
2008-04-01 6:39 ` Jean-Christophe PLAGNIOL-VILLARD
2008-04-06 10:01 ` Harald Welte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1206727560.23627.41.camel@localhost \
--to=luigi.mantellini@idf-hit.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox