Re: [PATCH 1/1] defaultenv: use a compressed version when embedded in barebox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18:06 Wed 14 Dec     , Sascha Hauer wrote:
> On Wed, Dec 14, 2011 at 04:42:42PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > with using gzip and the default env we can save 5.2KiB (5,352 bytes)
> > 
> > tested on sam9g20ek
> > before
> > -rwxr-xr-x  1 root root 260396 Dec 14 00:42 barebox.bin
> > after
> > -rwxr-xr-x  1 root root 265748 Dec 14 00:42 barebox.bin
> 
> Hm, your binary became 5353 bytes bigger not smaller...
> 
> We can safe a few bytes if we have zlib in our config anyway, but
> selecting it just to compress the defaultenv is a non starter because
> zlib is bigger than the uncompressed defaultenv.
> 
> How about a
> 
> config DEFAULT_ENVIRONMENT_COMPRESSED
> 	default y if ZLIB
> 
> instead?
sorry it's the invert we do use 5kIB less

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux