[PATCH] lib/decompress_unlzo: use fill and full to read and write data
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Wed Feb 23 12:05:12 EST 2011
On 00:59 Wed 23 Feb , Eric Benard wrote:
> Hi Jean Christophe,
>
> On 28/01/2011 11:13, Jean-Christophe PLAGNIOL-VILLARD wrote:
> >this will all to simplify the sync with the kernel and later easly add the
> >self decompression support to barebox
> >
> >as example with a lzo compression will reduce barebox from 180224 to 99863
> >bytes so 55.41%
> >-rwxr-xr-x 1 root root 99863 Jan 28 02:17 build/versatilepb/barebox.bin.lzo
> >
> >we also reduce the binary size by 224 bytes
> >
> >Old version
> ># ls -al build/versatilepb/barebox.bin
> >-rwxr-xr-x 1 root root 180468 Jan 28 02:14 build/versatilepb/barebox.bin
> >
> >New version
> ># ls -al build/versatilepb/barebox*
> >-rwxr-xr-x 1 root root 180244 Jan 28 02:13 build/versatilepb/barebox.bin
> >
> >Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD<plagnioj at jcrosoft.com>
>
> unfortunatly, this commit breaks unlzo in barebox :
> unlzo logo.bmp.lzo logo.bmp stays blocked forever
> reverting this commit unbreak the unlzo command.
I try it here on the versatile and it's work fine
I will it again on the sam9261ek and other at91
Best Regards,
J.
More information about the barebox
mailing list