[RFC PATCH] Provide mechanism for build-time default env entries
Wolfgang Denk
wd at denx.de
Tue Jan 21 18:49:06 CET 2020
Dear Joel,
In message <ac347e2e978aa082fc516c789d0f9048 at lixil.net> you wrote:
>
> > I think you are following a wrong approach. Such user specific
> > settings should IMHO loaded separately, either over serial like
> > (should be fast enough for a few hundred bytes) or from external
> > storage. "env import" is your friend.
>
> I'm intentionally trying to have no persistent environment separate from
> boot image.
In which way does this prevent you from following my suggestion?
such a separate environment block (in any format, either as plain
ASCII text, or binary, or as checksummed blob) can easily be
attached to the U-Boot image and handled as a combined unit. Then
you just import the additional environment from this well-known
address. This gives you all the possibilities you have for handling
the environment, conflict free.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
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
When a woman marries again it is because she detested her first hus-
band. When a man marries again, it is because he adored his first
wife. -- Oscar Wilde
More information about the U-Boot
mailing list