Skip to content

RFC Switch am335x_evm.h based boards to use config_distro_bootcmd.

Vagrant Cascadian u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Allow checking in multiple partitions for scan_dev_for_boot.include/config_distro_bootcmd.h+8 -51 reply
1/7Allow checking in multiple partitions for scan_dev_for_boot.+0 -00 replies
2/7Allow overriding boot_partitions default value by setting BOOTENV_BOOT_PARTITIONS before including config_distro_bootcmd.include/config_distro_bootcmd.h+5 -10 replies
3/7Add BOOTENV_INIT_COMMAND for commands that may be needed to run before bootcmd, such as setting the fdt file variables for platfroms that detect on boot.include/config_distro_bootcmd.h+6 -10 replies
4/7Add BOOTENV_POST_COMMAND, which is appended to the end of bootcmd.include/config_distro_bootcmd.h+7 -10 replies
5/7Only set CONFIG_BOOTDELAY if not already set.include/config_distro_defaults.h+2 -00 replies
6/7Add support for loading environment from uEnv.txt in config_distro_bootcmd.include/config_distro_bootcmd.h+21 -01 reply
6/7Add support for loading environment from uEnv.txt in config_distro_bootcmd.+0 -00 replies
7/7Switch am335x_evm.h to use config_distro_defaults and config_distro_bootcmd. Add scriptaddr to DEFAULT_LINUX_BOOT_ENV, as scriptaddr is used for boot scripts in config_distro_bootcmd.include/configs/am335x_evm.h include/configs/ti_armv7_common.h+18 -92 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [U-Boot] [RFC PATCH 0/7] Switch am335x_evm.h based boards to use config_distro_bootcmd.

In order to not change behavior significantly, several changes to config_distro_bootcmd were added to make it more flexible, and am335x_evm.h was adapted to make use of them:

- Allow multiple partitions per device, rather than only searching on partition 1. Make the number of partitions configurable.

- Added BOOTENV_INIT_COMMAND and BOOTENV_POST_COMMAND as definitions for commands that need to be run before or after the standard "bootcmd".

- Added support for importing uEnv.txt files to
config_distro_bootcmd.h.

 include/config_distro_bootcmd.h   | 53 ++++++++++++++++++++++++++++++++++++++++++++++-------
 include/config_distro_defaults.h  |  2 ++
 include/configs/am335x_evm.h      | 26 +++++++++++++++++---------
 include/configs/ti_armv7_common.h |  1 +
 4 files changed, 66 insertions(+), 16 deletions(-)

Vagrant Cascadian (7):
Allow checking in multiple partitions for scan_dev_for_boot. Allow overriding boot_partitions default value by setting
BOOTENV_BOOT_PARTITIONS before including config_distro_bootcmd.
Add BOOTENV_INIT_COMMAND for commands that may be needed to run before
bootcmd, such as setting the fdt file variables for platfroms
that detect on boot.
Add BOOTENV_POST_COMMAND, which is appended to the end of bootcmd. Only set CONFIG_BOOTDELAY if not already set.
Add support for loading environment from uEnv.txt in
config_distro_bootcmd.
Switch am335x_evm.h to use config_distro_defaults and
config_distro_bootcmd. Add scriptaddr to DEFAULT_LINUX_BOOT_ENV, as
scriptaddr is used for boot scripts in config_distro_bootcmd.

 include/config_distro_bootcmd.h   | 53 +++++++++++++++++++++++++++++++++------
 include/config_distro_defaults.h  |  2 ++
 include/configs/am335x_evm.h      | 26 ++++++++++++-------
 include/configs/ti_armv7_common.h |  1 +
 4 files changed, 66 insertions(+), 16 deletions(-)
Signature · 1 line
2.1.0