linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* initramfs with lzma compression
@ 2009-05-08 14:17 Mirek23
  2009-05-08 14:27 ` Geert Uytterhoeven
  2009-05-08 20:15 ` Mirek23
  0 siblings, 2 replies; 3+ messages in thread
From: Mirek23 @ 2009-05-08 14:17 UTC (permalink / raw)
  To: linuxppc-dev


Dear All,

I am looking for a patch which introduces lzma compression or suppresses the
standard gzip compression for the initramfs.

I would be grateful for any hint.

M.
-- 
View this message in context: http://www.nabble.com/initramfs-with-lzma-compression-tp23446869p23446869.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: initramfs with lzma compression
  2009-05-08 14:17 initramfs with lzma compression Mirek23
@ 2009-05-08 14:27 ` Geert Uytterhoeven
  2009-05-08 20:15 ` Mirek23
  1 sibling, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2009-05-08 14:27 UTC (permalink / raw)
  To: Mirek23; +Cc: linuxppc-dev

On Fri, 8 May 2009, Mirek23 wrote:
> I am looking for a patch which introduces lzma compression or suppresses the
> standard gzip compression for the initramfs.

It's already in the mainline kernel, e.g.:

commit 30d65dbfe3add7f010a075991dc0bfeaebb7d9e1
Author: Alain Knaff <alain@knaff.lu>
Date:   Sun Jan 4 22:46:17 2009 +0100

    bzip2/lzma: config and initramfs support for bzip2/lzma decompression
    
    Impact: New code for initramfs decompression, new features
    
    This is the second part of the bzip2/lzma patch
    
    The bzip patch is based on an idea by Christian Ludwig, includes support for
    compressing the kernel with bzip2 or lzma rather than gzip. Both
    compressors give smaller sizes than gzip.  Lzma's decompresses faster
    than bzip2.
    
    It also supports ramdisks and initramfs' compressed using these two
    compressors.
    
    The functionality has been successfully used for a couple of years by
    the udpcast project
    
    This version applies to "tip" kernel 2.6.28
    
    This part contains:
    - support for new compressions (bzip2 and lzma) in initramfs and
    old-style ramdisk
    - config dialog for kernel compression (but new kernel compressions
    not yet supported)
    
    Signed-off-by: Alain Knaff <alain@knaff.lu>
    Signed-off-by: H. Peter Anvin <hpa@zytor.com>

For older kernel versions, you can backport it by git cherry-picking the
commits you need.

With kind regards,

Geert Uytterhoeven
Software Architect
Techsoft Centre

Technology and Software Centre Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium

Phone:    +32 (0)2 700 8453
Fax:      +32 (0)2 700 8622
E-mail:   Geert.Uytterhoeven@sonycom.com
Internet: http://www.sony-europe.com/

A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 · RPR Brussels
Fortis · BIC GEBABEBB · IBAN BE41293037680010

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: initramfs with lzma compression
  2009-05-08 14:17 initramfs with lzma compression Mirek23
  2009-05-08 14:27 ` Geert Uytterhoeven
@ 2009-05-08 20:15 ` Mirek23
  1 sibling, 0 replies; 3+ messages in thread
From: Mirek23 @ 2009-05-08 20:15 UTC (permalink / raw)
  To: linuxppc-dev


Thank you for the quick answer.

I am using the kernel version 2.6.23 with many other patches which require
sometime to port to the latest kernel. I understand the it is possible to
find the lzma patch also for older kernels in the git tree. Where can I find
than the linuxppc git tree with the lzma patch.

Thanks

M.

Mirek23 wrote:
> 
> Dear All,
> 
> I am looking for a patch which introduces lzma compression or suppresses
> the standard gzip compression for the initramfs.
> 
> I would be grateful for any hint.
> 
> M.
> 

-- 
View this message in context: http://www.nabble.com/initramfs-with-lzma-compression-tp23446869p23452009.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-08 20:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-08 14:17 initramfs with lzma compression Mirek23
2009-05-08 14:27 ` Geert Uytterhoeven
2009-05-08 20:15 ` Mirek23

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).