Skip to content

*** boot: Add Kconfig options for script-based boot parameters ***

Wadim Egorov u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2boot: Add BOOTSCRIPT_DHCP Kconfig option for boot_script_dhcp envboot/Kconfig include/env_default.h+21 -00 replies
2/2mtd: bootdev: Add Kconfig option for defining script parametersdrivers/mtd/spi/Kconfig include/env_default.h+30 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] *** boot: Add Kconfig options for script-based boot parameters ***

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(+)
Signature · 1 line
2.34.1