env: CONFIG_DEFAULT_ENV_FILE and CFG_EXTRA_ENV_SETTINGS

Tom Rini trini at konsulko.com
Fri Jul 12 00:46:20 CEST 2024


On Thu, Jul 11, 2024 at 01:31:34PM -0700, Tony Dinh wrote:
> Hi Tom,
> 
> I'm trying to move some envs from a board header file to the default
> env file. I recall that the envs in CONFIG_DEFAULT_ENV_FILE are
> appended to the envs in CFG_EXTRA_ENV_SETTINGS. As you mentioned here
> before:
> 
> https://lore.kernel.org/all/20220810170439.GJ1146598@bill-the-cat/
> 
> But it looks like envs in CFG_EXTRA_ENV_SETTINGS are completely
> erased, and then the envs are populated with what's in
> CONFIG_DEFAULT_ENV_FILE.
> 
> Did I understand the usage correctly?

Can you please post your I assume non-functioning-correctly patch? For
example, dragonboard410c has both 
board/qualcomm/dragonboard410c/dragonboard410c.env and sets "#define
CFG_EXTRA_ENV_SETTINGS BOOTENV" in 
include/configs/dragonboard410c.h

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240711/f60363c4/attachment.sig>


More information about the U-Boot mailing list