[PATCH 0/3] arm: mvebu: Espressobin: Set default env values at runtime

Andre Heider a.heider at gmail.com
Tue Jan 12 09:42:49 CET 2021


On 12/01/2021 09:18, Andre Heider wrote:

...

> Maybe the first step can be solved with ENV_FLAGS_VAR, a new immutable 
> flag, and boards just making use of CONFIG_ENV_FLAGS_LIST_DEFAULT to 
> declare those. But I fail to find an example in-tree.

Found one, see ENV_FLAGS_LIST_STATIC. That even has ETHADDR_WILDCARD, so 
when enabling CONFIG_REGEX it could look like this for espressobin:

CONFIG_ENV_FLAGS_LIST_DEFAULT="eth\d*addr:mX,fdtfile:X"

where "X" is the immutable flag.


More information about the U-Boot mailing list