Skip to content

Add support for LZO-compressed kernel images

Albin Tonnerre linux-arm-kernel linux-mips lkml 2 versions – In review

Get series with b4
b4 am 1257942478-18719-1-git-send-email-albin.tonnerre@free-electrons.com

Versions newest first · linked by author and title

  1. v3 Latest4 patches 12 repliesIn review
  2. v21 of 6 patches 1 replySuperseded

Changes in v3 from the cover letter

- Add a couple missing semicolons to fix compile issues
- Fix typos in {init,usr}/Kconfig

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Add support for LZO-compressed kernelsinclude/linux/decompress/unlzo.h init/Kconfig lib/decompress_unlzo.c +2 more+243 -74 replies
2/4Add support for LZO-compressed kernels for ARMarch/arm/Kconfig arch/arm/boot/compressed/Makefile arch/arm/boot/compressed/misc.c +3 more+70 -977 replies
2/4Add support for LZO-compressed kernels for ARMarch/arm/Kconfig arch/arm/boot/compressed/Makefile arch/arm/boot/compressed/misc.c +3 more+73 -970 replies
3/4Add support for LZO-compressed kernels on x86arch/x86/Kconfig arch/x86/boot/compressed/Makefile arch/x86/boot/compressed/misc.c+9 -10 replies
4/4Add LZO compression support for initramfs and old-style initrdlib/Kconfig lib/Makefile lib/decompress.c +1 more+31 -50 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchH. Peter AnvinMartin Michlmayr
1/4
2/4T-b
2/4T-b
3/4A-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] Add support for LZO-compressed kernel images

This patch series adds generic support for creating and extracting LZO-compressed kernel images, as well as support for using such images on the x86 and ARM architectures, and support for creating and using LZO-compressed initrd and initramfs images.

Changes in v2:
- On ARM, compiling with -Os failed due to missing __aeabi_uidivmod. Link using arch/arm/lib/lib1funcs.o which provides this symbol, and define a dummy __div0 function in arch/arm/boot/compressed/misc.c, as this symbol is required by lib1funcs.
- lib/decompress_unlzo.c: include linux/decompress/unlzo.h only when we're not compiling the pre-boot environment to prevent compile issues
- Formatting fixes

Changes in v3:
- Add a couple missing semicolons to fix compile issues
- Fix typos in {init,usr}/Kconfig

Andrew: since it used to be in -mm, can you pick this up again?

Russell: since I believe your initial concerns regarding the ARM part of the patch got fixed, do I have your approval?