[U-Boot] [PATCH v2] sandbox: Don't try distro_bootcmd by default

Simon Glass sjg at chromium.org
Fri May 1 00:06:38 CEST 2015


On 30 April 2015 at 14:16, Sjoerd Simons <sjoerd.simons at collabora.co.uk> wrote:
> For the distro_bootcmds to succeed on the sandbox a bit of setup is
> required (e.g. network configured or host image bound), so running them
> by default isn't that useful.
>
> Add a -b/--boot command to the sandbox binary, which triggers the
> distro_bootcmds to run after the other command-line commands.
>
> Signed-off-by: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
> ---
> Changes since v1:
>   * Use run_distro_boot instead of boot as the state variable
>
>  arch/sandbox/cpu/start.c         | 20 +++++++++++++++++---
>  arch/sandbox/include/asm/state.h |  1 +
>  include/configs/sandbox.h        |  2 ++
>  3 files changed, 20 insertions(+), 3 deletions(-)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list