[U-Boot] [PATCH] Allow U-Boot scripts to be placed in a .env file
Wolfgang Denk
wd at denx.de
Wed Apr 24 07:36:50 CEST 2013
Dear Otavio Salvador,
In message <CAP9ODKpX_dFZ6K+frU6oamkQ3vKiYp9XYjaKX5Jn5PTq=0iyJQ at mail.gmail.com> you wrote:
>
> I fully agree that the environment file should be as easy as possible
> to be written. However I also think it should be parsed by CPP or
> something which would allow us to 'include' other environment files
> and enable/disable parts of it depending on board config. My ultimate
> goal with it would be to allow sharing of environment setup across
> different boards (for example the Freescale boards).
Don't overdesign this. Keep it simple. If you want, you can split up
the settings into several functional blocks (variable groups; this
could even be mapped into the actual U-Boot env, too). Then simply
concatenate the right selection of parts.
See my previous message to Simon - keep the format compatible with
"env import/export -t".
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Today is the yesterday you worried about tomorrow.
More information about the U-Boot
mailing list