Files
u-boot/include
Christophe Leroy 40b77f2a3a envtools lack extra settings since commit 86b9c3e4e4 ("env: Allow U-Boot scripts to be placed in
After converting my targets from CFG_EXTRA_ENV_SETTINGS to
CONFIG_EXTRA_ENV_TEXT as suggested by Tom, I discovered that
fw_setenv doesn't set the entire defaut environment anymore.

I tried to fix it with the below patch, but it fails qemu-x86 CI test,
see https://source.denx.de/u-boot/custodians/u-boot-mpc8xx/-/pipelines/16326
That's the only CI test that fails AFAICS.

Could you help with a solution ? This needs to be fixed.

Thanks
Christophe

---- >8 ----
From: Christophe Leroy <christophe.leroy@csgroup.eu>
Subject: [RFC PATCH] envtools: Fix default environment

After converting some targets from CFG_EXTRA_ENV_SETTINGS to
CONFIG_EXTRA_ENV_TEXT, default environment embedded in
fw_env tool missed all extra settings.

Commit 86b9c3e4e4 ("env: Allow U-Boot scripts to be placed in
a .env file") restricted the inclusion of the content of that
file to builds without USE_HOSTCC.

But as mentionned in commit 79fc0c5f49 ("tools/env: cross-compile
fw_printenv without setting HOSTCC"), HOSTCC and USE_HOSTCC are
kept for code re-use.

Remove the restricting so that settings included in a .env
file are also added to fw_env tool.

Fixes: 86b9c3e4e4 ("env: Allow U-Boot scripts to be placed in a .env file")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
2023-05-15 17:14:46 -04:00
..
2023-05-05 17:48:44 -04:00
2023-02-07 14:33:50 -05:00
2023-02-09 16:32:25 -05:00
2023-04-27 13:51:06 -04:00
2023-03-30 15:09:59 -04:00
2023-02-19 21:15:15 +01:00
2023-02-06 13:04:52 -05:00
2023-02-09 16:32:25 -05:00
2023-01-16 18:26:50 -05:00
2023-05-02 14:23:34 -04:00
2023-05-15 10:00:30 +02:00
2023-01-20 12:27:06 -05:00
2023-04-27 13:51:06 -04:00
2023-03-13 13:53:01 +01:00
2023-01-27 14:47:57 -05:00
2023-04-06 15:08:46 -04:00
2023-02-06 13:04:53 -05:00
2023-04-10 12:17:11 +09:00
2023-03-02 17:45:58 -05:00
2023-04-28 11:30:17 -06:00
2023-01-16 18:01:10 +08:00
2023-02-10 07:41:40 -05:00
2023-02-11 12:22:34 -05:00
2023-05-13 09:52:32 -04:00