[U-Boot] [PATCH] LZO: Add a LZO compression feature
Kyungmin Park
kmpark at infradead.org
Fri Oct 1 15:24:15 CEST 2010
Hi Wolfgang.
On Fri, Oct 1, 2010 at 7:53 PM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Donggeun Kim,
>
> In message <4CA5B732.3030706 at samsung.com> you wrote:
>> In some case, LZO compression function is needed in U-Boot.
>
> Can you please explain what use cases you have in mind?
There's request from other team. They want to transfer the binary but
it's written as ubifs filesystem.
So download the binary to RAM and then mkfs.ubifs at this address and
ubinize it finally.
Then write it to flash.
When mkfs.ubifs, it requires it.
>
> So far, we provide only uncompression functions, and it seems nobody
> ever needed compression inside U-Boot yet?
>
> If we really add this, then please make it separately configurable, so
> that not everybody who wants LZO decompression always has to accept
> the compression functions, too.
Agree, It will use the CONFIG_LZO_COMPRESSION
>
>
>> This patch supports LZO compression feature which is originated from Linux kernel.
> ...
>> --- /dev/null
>> +++ b/lib/lzo/lzo1x_compress.c
>> @@ -0,0 +1,219 @@
>> +/*
>> + * LZO1X Compressor from MiniLZO
>> + *
>> + * Copyright (C) 1996-2005 Markus F.X.J. Oberhumer <markus at oberhumer.com>
>> + *
>> + * The full LZO package can be found at:
>> + * http://www.oberhumer.com/opensource/lzo/
>> + *
>> + * Changed for kernel use by:
>> + * Nitin Gupta <nitingupta910 at gmail.com>
>> + * Richard Purdie <rpurdie at openedhand.com>
>> + */
>
> What exactly are the licensing terms?
It's from kernel code. do you want to add the GPL v2?
Thank you,
Kyungmin Park
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> Am I your nanny? The kernel is there to support user programs, but
> it's a _resource_ handler, not a baby feeder. - Linus Torvalds in
> <Pine.LNX.3.91.960425074845.22041C-100000 at linux.cs.Helsinki.FI>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
More information about the U-Boot
mailing list