All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lei Wen <adrian.wenl@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/6] add zip command support for uboot
Date: Wed, 28 Mar 2012 10:23:32 +0800	[thread overview]
Message-ID: <CALZhoSTUMB+3gpGU6jS5L8itYA9DCqtpKgGdg0mRWzp8b3GCGA@mail.gmail.com> (raw)
In-Reply-To: <20120327181209.GA20182@bill-the-cat>

Hi Tom,

On Wed, Mar 28, 2012 at 2:12 AM, Tom Rini <trini@ti.com> wrote:
> On Tue, Mar 27, 2012 at 04:04:29PM +0800, Lei Wen wrote:
>> Hi,
>>
>> On Sun, Mar 25, 2012 at 11:53 PM, ?<adrian.wenl@gmail.com> wrote:
>> > From: Lei Wen <leiwen@marvell.com>
>> >
>> > This patch set add zip command support for uboot.
>> > The first two patches import deflate and trees functions from zlib 1.2.5
>> > without any change. While the third patch did the necessary change to
>> > make the import file could be built passed in uboot environment.
>> >
>> > The fourth patch make us could zip the memory from 0 in the address space.
>> >
>> > The latter fifth and sixth patch does the adding gzip lib function exporting
>> > and zip command support.
>> >
>> > Patch set test with zip&unzip and compared with original memory content.
>> >
>> >
>> > Lei Wen (6):
>> > ?lib: zlib: import deflate source file from 1.2.5
>> > ?lib: zlib: import trees file from 1.2.5
>> > ?lib: zlib: include deflate into zlib build
>> > ?lib: zlib: remove the limitation for cannot using 0 as start
>> > ?lib: add gzip lib function callback
>> > ?common: add zip command support
>> >
>> > ?common/Makefile ? ? ? | ? ?1 +
>> > ?common/cmd_zip.c ? ? ?| ? 60 ++
>> > ?include/common.h ? ? ?| ? ?7 +
>> > ?include/u-boot/zlib.h | ? 40 +-
>> > ?lib/Makefile ? ? ? ? ?| ? ?1 +
>> > ?lib/gzip.c ? ? ? ? ? ?| ?143 ++++
>> > ?lib/zlib/deflate.c ? ?| 1831 +++++++++++++++++++++++++++++++++++++++++++++++++
>> > ?lib/zlib/deflate.h ? ?| ?342 +++++++++
>> > ?lib/zlib/trees.c ? ? ?| 1244 +++++++++++++++++++++++++++++++++
>> > ?lib/zlib/trees.h ? ? ?| ?128 ++++
>> > ?lib/zlib/zlib.c ? ? ? | ? ?8 +
>> > ?lib/zlib/zutil.h ? ? ?| ? ?4 +
>> > ?12 files changed, 3804 insertions(+), 5 deletions(-)
>> > ?create mode 100644 common/cmd_zip.c
>> > ?create mode 100644 lib/gzip.c
>> > ?create mode 100644 lib/zlib/deflate.c
>> > ?create mode 100644 lib/zlib/deflate.h
>> > ?create mode 100644 lib/zlib/trees.c
>> > ?create mode 100644 lib/zlib/trees.h
>>
>> Any comments to this series?
>
> What's the usecase for this code? ?Did the U-Boot change in size for
> targets that didn't opt for the new command?

There is one usecase in our usage, that is compressing and upload the
memory content
through the usb, so that it would reduce the total upload time.
Certainly, this also could be used to verify current unzip feature
whether it works well.
Or some other case, like testing the memory speed?

No, the new gzip feature only shows up if its configuration is opened,
or the uboot size would
not be impacted.
>
> --
> Tom

Thanks,
Lei

  reply	other threads:[~2012-03-28  2:23 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-25 15:53 [U-Boot] [PATCH 0/6] add zip command support for uboot adrian.wenl at gmail.com
2012-03-25 15:53 ` [U-Boot] [PATCH 1/6] lib: zlib: import deflate source file from 1.2.5 adrian.wenl at gmail.com
2012-03-25 15:53 ` [U-Boot] [PATCH 2/6] lib: zlib: import trees " adrian.wenl at gmail.com
2012-03-25 15:53 ` [U-Boot] [PATCH 3/6] lib: zlib: include deflate into zlib build adrian.wenl at gmail.com
2012-03-25 15:53 ` [U-Boot] [PATCH 4/6] lib: zlib: remove the limitation for cannot using 0 as start adrian.wenl at gmail.com
2012-03-25 15:53 ` [U-Boot] [PATCH 5/6] lib: add gzip lib function callback adrian.wenl at gmail.com
2012-03-25 15:53 ` [U-Boot] [PATCH 6/6] common: add zip command support adrian.wenl at gmail.com
2012-03-27  8:04 ` [U-Boot] [PATCH 0/6] add zip command support for uboot Lei Wen
2012-03-27 18:12   ` Tom Rini
2012-03-28  2:23     ` Lei Wen [this message]
2012-04-02 14:16       ` Lei Wen
2012-04-02 19:17   ` Mike Frysinger
2012-04-03  9:31     ` Lei Wen
2012-04-10  4:37       ` Mike Frysinger
2012-04-10  5:05         ` Lei Wen
2012-04-10 22:11           ` Mike Frysinger
2012-04-11  1:24             ` Lei Wen
2012-05-08 12:57               ` Lei Wen
2012-06-21 19:12               ` Wolfgang Denk
2012-09-06  4:18 ` Marek Vasut
2012-09-06  4:49   ` Lei Wen
2012-09-06  6:23     ` Marek Vasut
2012-09-06  8:18       ` Lukasz Majewski
2012-09-06  8:49         ` Marek Vasut
2012-09-06 10:41           ` Lukasz Majewski
2012-09-06 10:49             ` Marek Vasut
2012-09-26  6:41               ` Lei Wen
2012-09-26 15:34                 ` Marek Vasut
2012-09-26 16:20                   ` Tom Rini
2012-09-27  2:05                     ` Lei Wen
2012-09-27 15:22                       ` Tom Rini
2012-09-28 14:29                         ` Lei Wen
2012-09-27  2:12                   ` Lei Wen
2012-09-28 14:26 ` [U-Boot] [PATCH V2 " Lei Wen
2012-09-29 14:51   ` Tom Rini
2012-09-28 14:26 ` [U-Boot] [PATCH V2 1/6] lib: zlib: import deflate source file from 1.2.5 Lei Wen
2012-09-28 14:26 ` [U-Boot] [PATCH V2 2/6] lib: zlib: import trees " Lei Wen
2012-09-28 14:26 ` [U-Boot] [PATCH V2 3/6] lib: zlib: include deflate into zlib build Lei Wen
2012-09-28 14:26 ` [U-Boot] [PATCH V2 4/6] lib: zlib: remove the limitation for cannot using 0 as start Lei Wen
2012-09-28 14:26 ` [U-Boot] [PATCH V2 5/6] lib: add gzip lib function callback Lei Wen
2012-09-28 14:26 ` [U-Boot] [PATCH V2 6/6] common: add zip command support Lei Wen

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=CALZhoSTUMB+3gpGU6jS5L8itYA9DCqtpKgGdg0mRWzp8b3GCGA@mail.gmail.com \
    --to=adrian.wenl@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.