Skip to content

compressed image update

Jean-Christophe PLAGNIOL-VILLARD barebox 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest11 patches 0 repliesNew
  2. v27 patches 9 repliesSuperseded
  3. v17 patches 0 repliesSuperseded

Changes in v3 from the cover letter

add comp-y Kbuild target

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11stddev: make it selectable via Kconfigcommands/Makefile common/Kconfig+6 -10 replies
2/11decompress_unlzo: define decompress_unlzo as decompresslib/decompress_unlzo.c+1 -00 replies
3/11compressed image: factorise compressor typeMakefile arch/arm/cpu/start.c arch/arm/lib/Makefile +2 more+29 -130 replies
4/11decompressor: import malloc/free implementation for linux 3.4include/linux/decompress/mm.h+68 -00 replies
5/11ARM: add early malloc support needed by the decompressorarch/arm/cpu/start.c+7 -00 replies
6/11compressed: rename barebox target to zbarebox and zbarebox.binMakefile arch/arm/Makefile arch/arm/compressed/Makefile +6 more+323 -560 replies
7/11compressed image: add gzip supportarch/arm/compressed/Makefile arch/arm/compressed/piggy.gzip.S arch/arm/cpu/start.c +2 more+15 -00 replies
8/11kbuild: Init all relevant variables used in kbuild files soscripts/Makefile.build+24 -10 replies
9/11kbuild: add comp-y targetMakefile scripts/Makefile.build scripts/Makefile.lib+28 -30 replies
10/11arm: use the new built-comp.o generated filesMakefile arch/arm/compressed/Makefile arch/arm/lib/Makefile +1 more+14 -300 replies
11/11at91: add lowlevel init to the decompressorarch/arm/mach-at91/Makefile+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH 00/11 V3] compressed image update

Hi,

v3:
add comp-y Kbuild target

v2:
fix modules support
move compressed barebox to arch/<arch?compressed rename target to zbarebox*

The following changes since commit 63ac9c743b1304b0b4b792643e4704394f6f8aeb:

only compress default env in uncompressed images (2012-07-20 14:20:15 +0200)

are available in the git repository at:

git://git.jcrosoft.org/barebox.git tags/compressed-gzip2

for you to fetch changes up to eaab1eff304c26f5470cc381f333115708d55cd6:

at91: add lowlevel init to the decompressor (2012-07-25 15:45:40 +0800)

----------------------------------------------------------------
compressed: gzip support and cleanup

The follwing patch series add the support of GZIP

And allow now to link only what is need in the decompressor

This is needed if you want to compile a barebox with modules support

as we current rely on gcc and it's garbage colector to clean the non needed object.

With modules support gcc will not do this.

This will allow to have a version of barebox shrink to the first 128KiB so it can fit in the first page of nand which is garanty badblock free and then if we need more feature we will use modules store in an other partitions.

Kbuild: Introduce built-comp to have related decompressor object across the source tree.

----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (11):
stddev: make it selectable via Kconfig
decompress_unlzo: define decompress_unlzo as decompress compressed image: factorise compressor type
decompressor: import malloc/free implementation for linux 3.4
ARM: add early malloc support needed by the decompressor
compressed: rename barebox target to zbarebox and zbarebox.bin compressed image: add gzip support
kbuild: Init all relevant variables used in kbuild files so
kbuild: add comp-y target
arm: use the new built-comp.o generated files
at91: add lowlevel init to the decompressor

 Makefile                                        |   43 +++++++++++--------------------------------
 arch/arm/Makefile                               |    9 ++++++++-
 arch/arm/compressed/Makefile                    |   43 +++++++++++++++++++++++++++++++++++++++++++
 arch/arm/compressed/barebox.lds.S               |   70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 piggy.lzo.S => arch/arm/compressed/piggy.gzip.S |    2 +-
 arch/arm/compressed/piggy.lzo.S                 |    6 ++++++
 arch/arm/cpu/start.c                            |   61 ++++++++++++++++++++++++++++++++++++++++++-------------------
 arch/arm/lib/Makefile                           |    6 +++++-
 arch/arm/lib/barebox.lds.S                      |    2 +-
 arch/arm/mach-at91/Makefile                     |    2 ++
 commands/Makefile                               |    2 +-
 common/Kconfig                                  |   25 ++++++++++++++++++++++---
 compressed/Makefile                             |    5 +++++
 compressed/misc.c                               |   14 ++++++++++++++
 compressed/string.c                             |  127 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 include/linux/decompress/mm.h                   |   68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 lib/decompress_inflate.c                        |    1 +
 lib/decompress_unlzo.c                          |    1 +
 scripts/Makefile.build                          |   47 ++++++++++++++++++++++++++++++++++++++++++++---
 scripts/Makefile.lib                            |    3 +++
 20 files changed, 475 insertions(+), 62 deletions(-)
 create mode 100644 arch/arm/compressed/Makefile
 create mode 100644 arch/arm/compressed/barebox.lds.S
 rename piggy.lzo.S => arch/arm/compressed/piggy.gzip.S (70%)
 create mode 100644 arch/arm/compressed/piggy.lzo.S
 create mode 100644 compressed/Makefile
 create mode 100644 compressed/misc.c
 create mode 100644 compressed/string.c
 create mode 100644 include/linux/decompress/mm.h

Best Regards,
J.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox