Status of bzip2 and lzma kernel compression for ARM?
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?
Signature · 2 lines
Martin Michlmayr http://www.cyrius.com/
Quoted 3 lines · Martin Michlmayr
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.
Quoted 2 lines
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,
Signature · 4 lines
Albin Tonnerre, Free Electrons Kernel, drivers and embedded Linux development, consulting, training and support. http://free-electrons.com
Quoted 4 lines · Albin Tonnerre
Regarding Bzip2, some testing showed that the decompressor needs at least 3.5Mb of memory available for
malloc(), which is not available on ARM ashead.Sallocates 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.
Quoted 4 lines
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.
Signature · 2 lines
Martin Michlmayr http://www.cyrius.com/
Quoted 9 lines · Martin Michlmayr
Quoted 4 lines · Albin Tonnerre
Regarding Bzip2, some testing showed that the decompressor needs at least 3.5Mb of memory available for
malloc(), which is not available on ARM ashead.Sallocates 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.
Quoted 6 lines
Quoted 4 lines
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>