[U-Boot] [PATCH V2 0/6] add zip command support for uboot

Tom Rini trini at ti.com
Sat Sep 29 16:51:50 CEST 2012


On Fri, Sep 28, 2012 at 07:26:41AM -0700, Lei Wen wrote:

> Change since V1:
> add CONFIG_CMD_ZIP into README description
> 
> 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
> 
>  README                |    6 +
>  common/Makefile       |    1 +
>  common/cmd_zip.c      |   60 ++
>  include/common.h      |    7 +
>  include/u-boot/zlib.h |   40 +-
>  lib/Makefile          |    1 +
>  lib/gzip.c            |  142 ++++
>  lib/zlib/deflate.c    | 1832 +++++++++++++++++++++++++++++++++++++++++++++++++
>  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 +
>  13 files changed, 3810 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

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120929/262c3a73/attachment.pgp>


More information about the U-Boot mailing list