[U-Boot] [PATCH v4 0/9] Allow sandbox to use config_distro_bootcmd
Sjoerd Simons
sjoerd.simons at collabora.co.uk
Mon Apr 13 22:54:18 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.
Version 4 is mostly a rebase on u-boot-dm/next as requested by Simon. As this
branch now has networking support one extra patch had to be added to setup
default PXE client architectures for intel.
Changes in v4:
- New patch to setup PXE client arch on intel systems
- Adapt to sandbox networking support
Changes in v3:
- Fill in *start and *end with proper values
- Improve deprecated sb command short line
- Don't document subcommands for sb anymore
Changes in v2:
- Minor comment coding style improvement
- Move into sandbox/lib/bootm.c
- convert to u-boot coding style
- Remove unneeded cast
- Prevent uncessary casts
- Always unmap mapped sysmem
- Consistently use base variable to refer to unmapped memory
- Various coding style fixes
Sjoerd Simons (9):
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
config: Add default client arch defines for intel architectures
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/config_distro_defaults.h | 4 +
include/configs/sandbox.h | 31 +++++--
11 files changed, 342 insertions(+), 178 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