Am 08.05.25 um 16:16 schrieb Wadim Egorov:
This series introduces new Kconfig options to configure default environment
variables used in script-based boot scenarios. Specifically, it allows
setting the following standard boot environment variables:
- boot_script_dhcp via BOOTSCRIPT_DHCP
- script_offset_f and script_size_f via USE_SPI_FLASH_SCRIPT and
related options
These changes make it possible to define standard boot environment variables
directly via Kconfig, allowing higher-level build systems like Yocto to set
them at build time. This avoids the need for post-build environment patches
or runtime overrides, improving reproducibility and simplifying integration
in automated firmware build workflows.
Wadim Egorov (2):
boot: Add BOOTSCRIPT_DHCP Kconfig option for boot_script_dhcp env
mtd: bootdev: Add Kconfig option for defining script parameters
boot/Kconfig | 18 ++++++++++++++++++
drivers/mtd/spi/Kconfig | 26 ++++++++++++++++++++++++++
include/env_default.h | 7 +++++++
3 files changed, 51 insertions(+)
Sorry for sending this twice, first time included a mailing list which
should not be in the CC list.