All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lukasz Majewski <l.majewski@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/6] add zip command support for uboot
Date: Thu, 06 Sep 2012 10:18:41 +0200	[thread overview]
Message-ID: <20120906101841.3ca06138@amdc308.digital.local> (raw)
In-Reply-To: <201209060823.06949.marek.vasut@gmail.com>

Dear Marek and Lei,

> Dear Lei Wen,
> 
> > Hi Marek,
> > 
> > On Thu, Sep 6, 2012 at 12:18 PM, Marek Vasut
> > <marek.vasut@gmail.com> wrote:
> > > Dear adrian.wenl at gmail.com,
> > > 
> > >> From: Lei Wen <leiwen@marvell.com>
> > > 
> > > Lei? Long time no see :)
> > 
> > Long time no see. :)
> 
> Yep, you're doing well?
> 
> > >> 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
> > > 
> > > Are there any users for this code? What is it for ?
> > 
> > This patch was intended to compress the memory when uploading
> > through USB. So that uploaded image could be smaller.
> > Maybe there are some other usage, like memory testing?
> 
> CCing Lukasz, maybe he can find some use for this in the DFU series?
> 

I think, that there is a possibility to gzip the host DFU data and
uncompress it after USB transmission (especially when "zip" command is
available from command line).

> > > Best regards,
> > > Marek Vasut
> > 
> > Thanks,
> > Lei
> 
> Best regards,
> Marek Vasut


-- 
Best regards,

Lukasz Majewski

Samsung Poland R&D Center | Linux Platform Group

  reply	other threads:[~2012-09-06  8:18 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
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 [this message]
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=20120906101841.3ca06138@amdc308.digital.local \
    --to=l.majewski@samsung.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.