From: Mike Frysinger Date: Mon, 6 Apr 2009 06:49:14 -0400 Subject: [U-Boot] [PATCH] bin_dep.sh Support In-Reply-To: <20090406102833.E107D832E416@gemini.denx.de> References: <73173D32E9439E4ABB5151606C3E19E2508402F4@SC-VEXCH1.marvell.com> <200904060533.47911.vapier@gentoo.org> <20090406102833.E107D832E416@gemini.denx.de> Message-ID: <200904060649.15005.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday 06 April 2009 06:28:33 Wolfgang Denk wrote: > In message Mike Frysinger wrote: > > > ...which seems to be an acceptable (to both sides) compromise to me. > > > > minus support for embedding the environment into the image ... i have a > > patch that adds an option to tools/envcrc to export the environment as a > > binary blob so that it can be passed to the external utility, but you > > wouldnt take it because you wanted me to fix my hardware instead ;). > > Not true. I can see that such a tool makes sense - it can be always > usefult if you want to pre-initialize the environment on boards where > the environment sector(s) is not embedded with the U-Boot image > itself. > > Just post your code :-) ok, extracting the env as a blob isnt problematic, it's the addition of "ENV_IS_EMBEDDED_CUSTOM". the env is embedded in the final image that gets burned into flash, but not by u-boot. the external util takes cares of combining the u-boot ELF and the environment blob. but i guess i can split the patch into (1) add --binary to tools/envcrc and (2) add ENV_IS_EMBEDDED_CUSTOM. that way when (2) gets shot down again, at least (1) was added so it's one less thing for me to maintain out of tree. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20090406/7e5aabd5/attachment-0001.pgp