Skip to content
Snippets Groups Projects
  • Simon Glass's avatar
    b9c771b0
    sandbox: Don't exit when bootm completes · b9c771b0
    Simon Glass authored
    
    At present sandbox exits when the 'bootm' command completes, since it is not
    actually able to run the OS that is loaded. Normally 'bootm' failure is
    considered a fatal error in U-Boot.
    
    However this is annoying for tests, which may want to examine the state
    after a test is complete. In any case there is a 'reset' command which can
    be used to exit, if required.
    
    Change the behaviour to return normally from the 'bootm' command on sandbox.
    
    Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    Reviewed-by: default avatarTeddy Reed <teddy.reed@gmail.com>
    b9c771b0
    History
    sandbox: Don't exit when bootm completes
    Simon Glass authored
    
    At present sandbox exits when the 'bootm' command completes, since it is not
    actually able to run the OS that is loaded. Normally 'bootm' failure is
    considered a fatal error in U-Boot.
    
    However this is annoying for tests, which may want to examine the state
    after a test is complete. In any case there is a 'reset' command which can
    be used to exit, if required.
    
    Change the behaviour to return normally from the 'bootm' command on sandbox.
    
    Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    Reviewed-by: default avatarTeddy Reed <teddy.reed@gmail.com>