From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 1/1] defaultenv: use a compressed version when embedded in barebox
Date: Wed, 14 Dec 2011 18:40:11 +0100 [thread overview]
Message-ID: <20111214174011.GB9234@game.jcrosoft.org> (raw)
In-Reply-To: <20111214170659.GJ27267@pengutronix.de>
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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2011-12-14 17:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-14 15:42 Jean-Christophe PLAGNIOL-VILLARD
2011-12-14 17:06 ` Sascha Hauer
2011-12-14 17:40 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111214174011.GB9234@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox