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

Vagrant Cascadian vagrant at debian.org
Sat Oct 4 00:08:36 CEST 2014


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(-)

-- 
2.1.0



More information about the U-Boot mailing list