Files
u-boot/include/configs
Adrian Freihofer cc832b6764 siemens: capricorn: protect environment
With ENV_WRITEABLE_LIST only specific environment variables lisetd in
CFG_ENV_FLAGS_LIST_STATIC are read from the u-boot environment storage.
All other environment variables are set to default values and are not
written back to the storage.

The u-boot environment usually stays for the lifetime of the product.
There is no A/B copy mechanism as for the firmware itself. That means
that incompatible changes to environment variables in future u-boot
versions may lead to serious issues if the old environment is used with
a new u-boot version or vice versa.

Having this protection in place ensures that only a limited set of
environment variables are persisted across u-boot versions. All the
macros not listed in CFG_ENV_FLAGS_LIST_STATIC are now part of the
u-boot binary which is redundant and immutable. This guarantees that
the u-boot version and the default values of these environment variables
are always in sync and cannot be changed at runtime.

ustate and rastate are not relevant for u-boot itself. ustate is used
by swupdate which persists the transaction state in the environment.
rastate is a similar variable used by another user space application.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Heiko Schocher <hs@nabladev.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Heiko Schocher <hs@nabladev.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
2026-02-28 15:31:50 -03:00
..
2025-07-22 13:53:03 -06:00
2024-08-30 22:47:04 -03:00
2024-04-22 11:02:08 -06:00
2025-09-18 18:10:11 -06:00
2024-08-30 22:47:04 -03:00
2024-09-10 13:12:32 -06:00
2023-02-10 11:24:08 -05:00
2023-02-10 11:24:08 -05:00
2025-04-16 15:39:48 +02:00
2023-05-04 12:40:47 +02:00
2023-04-28 17:52:23 +02:00
2024-07-05 13:57:01 -06:00
2024-08-30 22:47:04 -03:00
2024-08-30 22:47:04 -03:00
2024-08-30 22:47:04 -03:00
2024-08-30 22:47:04 -03:00
2023-11-06 10:20:21 -05:00
2023-02-06 13:04:53 -05:00
2025-07-22 13:53:03 -06:00
2024-08-13 06:12:33 +02:00
2024-08-13 06:12:33 +02:00
2024-08-13 06:12:33 +02:00
2024-08-13 06:12:33 +02:00
2024-08-13 06:12:33 +02:00
2024-09-19 00:13:20 -03:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2023-05-04 12:40:47 +02:00
2024-08-30 22:47:04 -03:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2024-08-30 22:47:04 -03:00
2024-08-30 22:47:04 -03:00
2024-08-30 22:47:04 -03:00
2024-08-30 22:46:58 -03:00
2024-08-30 22:47:04 -03:00
2024-08-30 22:47:04 -03:00
2024-08-30 22:47:04 -03:00
2023-02-06 13:04:53 -05:00
2023-09-03 23:33:04 +01:00
2025-06-26 13:45:33 -06:00
2024-10-03 09:29:23 -06:00
2024-10-03 09:29:23 -06:00
2024-10-03 09:29:23 -06:00
2024-07-05 13:57:01 -06:00
2024-08-13 06:07:31 +02:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2025-07-27 23:11:31 +01:00
2024-01-29 01:18:51 +00:00
2024-07-05 13:57:01 -06:00
2024-08-30 22:47:04 -03:00
2025-05-08 08:31:12 +03:00
2024-07-05 13:57:01 -06:00
2024-08-30 22:47:04 -03:00
2024-11-26 13:20:03 +01:00
2024-07-05 13:57:01 -06:00