linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Status of bzip2 and lzma kernel compression for ARM?
@ 2009-11-11 16:34 Martin Michlmayr
  2009-11-11 17:07 ` Albin Tonnerre
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Michlmayr @ 2009-11-11 16:34 UTC (permalink / raw)
  To: linux-arm-kernel

What's the status of bzip2 and lzma kernel compression for ARM?
The last messages I can find about this topic are from June and July:
http://lkml.org/lkml/2009/6/24/481

Where can I find the current patch to test and is anyone planning to
submit it for inclusion?

-- 
Martin Michlmayr
http://www.cyrius.com/

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

* Status of bzip2 and lzma kernel compression for ARM?
  2009-11-11 16:34 Status of bzip2 and lzma kernel compression for ARM? Martin Michlmayr
@ 2009-11-11 17:07 ` Albin Tonnerre
  2009-11-11 17:20   ` Martin Michlmayr
  0 siblings, 1 reply; 4+ messages in thread
From: Albin Tonnerre @ 2009-11-11 17:07 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, 11 Nov 2009 16:34 +0000, Martin Michlmayr wrote :
> What's the status of bzip2 and lzma kernel compression for ARM?
> The last messages I can find about this topic are from June and July:
> http://lkml.org/lkml/2009/6/24/481

Regarding Bzip2, some testing showed that the decompressor needs at least 3.5Mb
of memory available for malloc(), which is not available on ARM as head.S
allocates only 64kb, so I'm sure what to do about it. At this stage, I think
the most sensible thing to do is forgetting about using bzip2 on ARM.

> Where can I find the current patch to test and is anyone planning to
> submit it for inclusion?

The LZMA patch relies on patch 2/4 of the LZO patchset, which I resubmitted
today: http://lkml.org/lkml/2009/11/11/129. I'll likely submit the LZMA patch
once I get Russell's approval on the ARM part of the LZO patchset. In the
meantime, you can get it here: http://alioth.debian.org/~lutin-guest/patches/

Regards,
-- 
Albin Tonnerre, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com

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

* Status of bzip2 and lzma kernel compression for ARM?
  2009-11-11 17:07 ` Albin Tonnerre
@ 2009-11-11 17:20   ` Martin Michlmayr
  2009-11-12  8:45     ` Alain Knaff
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Michlmayr @ 2009-11-11 17:20 UTC (permalink / raw)
  To: linux-arm-kernel

* Albin Tonnerre <albin.tonnerre@free-electrons.com> [2009-11-11 18:07]:
> Regarding Bzip2, some testing showed that the decompressor needs at least 3.5Mb
> of memory available for malloc(), which is not available on ARM as head.S
> allocates only 64kb, so I'm sure what to do about it. At this stage, I think
> the most sensible thing to do is forgetting about using bzip2 on ARM.

I'm mostly interested in LZMA, so lack of bzip2 support would not be a
problem for me.

> The LZMA patch relies on patch 2/4 of the LZO patchset, which I
> resubmitted today: http://lkml.org/lkml/2009/11/11/129  I'll likely
> submit the LZMA patch once I get Russell's approval on the ARM part
> of the LZO patchset. In the

Excellent!  I'll give your patch a go on the weekend.
-- 
Martin Michlmayr
http://www.cyrius.com/

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

* Status of bzip2 and lzma kernel compression for ARM?
  2009-11-11 17:20   ` Martin Michlmayr
@ 2009-11-12  8:45     ` Alain Knaff
  0 siblings, 0 replies; 4+ messages in thread
From: Alain Knaff @ 2009-11-12  8:45 UTC (permalink / raw)
  To: linux-arm-kernel

On 11/11/09 18:20, Martin Michlmayr wrote:
> * Albin Tonnerre <albin.tonnerre@free-electrons.com> [2009-11-11 18:07]:
>> Regarding Bzip2, some testing showed that the decompressor needs at least 3.5Mb
>> of memory available for malloc(), which is not available on ARM as head.S
>> allocates only 64kb, so I'm sure what to do about it. At this stage, I think
>> the most sensible thing to do is forgetting about using bzip2 on ARM.
> 
> I'm mostly interested in LZMA, so lack of bzip2 support would not be a
> problem for me.
> 
>> The LZMA patch relies on patch 2/4 of the LZO patchset, which I
>> resubmitted today: http://lkml.org/lkml/2009/11/11/129  I'll likely
>> submit the LZMA patch once I get Russell's approval on the ARM part
>> of the LZO patchset. In the
> 
> Excellent!  I'll give your patch a go on the weekend.

My original patch was somehow able to do bzip2 on Arm (or at least in
qemu's Arm  emulator). The "latest" version is for 2.6.30 (attached,
originally posted last June). If there is sufficient interest, I'll update
it for 2.6.31 or the latest release candidate of 2.6.32 .

Regards,

Alain
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: arm.2.6.30.diff
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20091112/e2abb313/attachment.el>

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

end of thread, other threads:[~2009-11-12  8:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-11 16:34 Status of bzip2 and lzma kernel compression for ARM? Martin Michlmayr
2009-11-11 17:07 ` Albin Tonnerre
2009-11-11 17:20   ` Martin Michlmayr
2009-11-12  8:45     ` Alain Knaff

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).