RFC Switch am335x_evm.h based boards to use config_distro_bootcmd.
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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