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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to