Status of bzip2 and lzma kernel compression for ARM?

Alain Knaff alain at knaff.lu
Thu Nov 12 03:45:54 EST 2009


On 11/11/09 18:20, Martin Michlmayr wrote:
> * Albin Tonnerre <albin.tonnerre at 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>


More information about the linux-arm-kernel mailing list