[U-Boot] [PATCH v3 0/8] Allow sandbox to use config_distro_bootcmd

Sjoerd Simons sjoerd.simons at collabora.co.uk
Sun Apr 12 23:04:41 CEST 2015


Testing whether images will correctly boot with the standard distro
bootcmds can be rather time-consuming as it tends to require flashing
the images and booting on a device. Ditto for testing changes to
config_distro_bootcmd.

Adding support for sandbox to run distro bootcmds makes things a lot
more convenient.

Changes in v3:
- Fill in bootz_setup *start and *end arguments with proper values
- Improve deprecated sb command short line
- Don't document subcommands for sb anymore

Sjoerd Simons (8):
  sandbox: only do sandboxfs for hostfs interface
  sandbox: Split bootm code out into lib/bootm
  sandbox: Add support for bootz
  sandbox: Renamed sb command to host
  sandbox: Implement host dev [device]
  config_distro_bootcmd.h: Add shared block definition for the host
    interface
  pxe: Ensure all memory access is to mapped memory
  sandbox: add config_distro_defaults and config_distro_bootcmd

 arch/sandbox/cpu/cpu.c          |  12 ---
 arch/sandbox/lib/Makefile       |   1 +
 arch/sandbox/lib/bootm.c        |  63 ++++++++++++++
 common/Makefile                 |   2 +-
 common/cmd_host.c               | 176 ++++++++++++++++++++++++++++++++++++++++
 common/cmd_pxe.c                |  86 +++++++++++++-------
 common/cmd_sandbox.c            | 126 ----------------------------
 fs/sandbox/sandboxfs.c          |   6 +-
 include/config_distro_bootcmd.h |  13 +++
 include/configs/sandbox.h       |  29 ++++++-
 10 files changed, 341 insertions(+), 173 deletions(-)
 create mode 100644 arch/sandbox/lib/bootm.c
 create mode 100644 common/cmd_host.c
 delete mode 100644 common/cmd_sandbox.c

-- 
2.1.4



More information about the U-Boot mailing list