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

Sjoerd Simons sjoerd.simons at collabora.co.uk
Mon Apr 6 23:02:20 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.

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             | 40 ++++++++++++++++
 common/Makefile                      |  2 +-
 common/{cmd_sandbox.c => cmd_host.c} | 93 +++++++++++++++++++++++++++++-------
 common/cmd_pxe.c                     | 86 +++++++++++++++++++++------------
 fs/sandbox/sandboxfs.c               |  6 ++-
 include/config_distro_bootcmd.h      | 13 +++++
 include/configs/sandbox.h            | 29 +++++++++--
 9 files changed, 218 insertions(+), 64 deletions(-)
 create mode 100644 arch/sandbox/lib/bootm.c
 rename common/{cmd_sandbox.c => cmd_host.c} (50%)

-- 
2.1.4



More information about the U-Boot mailing list