All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] sandbox: implement cold reset
@ 2020-10-25  6:04 Heinrich Schuchardt
  2020-10-25  6:04 ` [PATCH 1/5] sandbox: eth-raw: do not close the console input Heinrich Schuchardt
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Heinrich Schuchardt @ 2020-10-25  6:04 UTC (permalink / raw)
  To: u-boot

The command to shut down a device is 'poweroff'. It is a deficit of the
sandbox that it does not support resetting yet but shuts down upong seeing
the 'reset' command.

The patch series implements the cold reset function as a relaunch of the
U-Boot binary via execv().

Unit tests are adjusted.

A bug leading to closing the console input file descriptor is resolved.

Heinrich Schuchardt (5):
  sandbox: eth-raw: do not close the console input
  sandbox: enable poweroff command
  test/py: test poweroff
  sandbox: implement reset
  test: adjust sysreset tests

 arch/Kconfig                              |  3 ++-
 arch/sandbox/cpu/eth-raw-os.c             |  8 ++++----
 arch/sandbox/cpu/os.c                     | 19 ++++++++++++++++++-
 arch/sandbox/cpu/start.c                  | 22 ++++++++++++++++++++++
 arch/sandbox/cpu/state.c                  |  1 +
 arch/sandbox/include/asm/u-boot-sandbox.h |  3 +++
 drivers/sysreset/sysreset_sandbox.c       |  3 +++
 include/os.h                              |  5 +++++
 test/dm/sysreset.c                        | 11 ++++++++---
 test/py/tests/test_sandbox_exit.py        |  8 ++++----
 10 files changed, 70 insertions(+), 13 deletions(-)

--
2.28.0

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-10-27 15:38 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-25  6:04 [PATCH 0/5] sandbox: implement cold reset Heinrich Schuchardt
2020-10-25  6:04 ` [PATCH 1/5] sandbox: eth-raw: do not close the console input Heinrich Schuchardt
2020-10-27  4:52   ` Simon Glass
2020-10-25  6:04 ` [PATCH 2/5] sandbox: enable poweroff command Heinrich Schuchardt
2020-10-27  4:52   ` Simon Glass
2020-10-25  6:04 ` [PATCH 3/5] test/py: test poweroff Heinrich Schuchardt
2020-10-27  4:52   ` Simon Glass
2020-10-25  6:04 ` [PATCH 4/5] sandbox: implement reset Heinrich Schuchardt
2020-10-27  4:52   ` Simon Glass
2020-10-27  7:29     ` Heinrich Schuchardt
2020-10-27  8:02     ` Heinrich Schuchardt
2020-10-27 12:12   ` Rasmus Villemoes
2020-10-27 13:33     ` Heinrich Schuchardt
2020-10-27 14:36       ` Rasmus Villemoes
2020-10-27 15:38         ` Heinrich Schuchardt
2020-10-25  6:04 ` [PATCH 5/5] test: adjust sysreset tests Heinrich Schuchardt
2020-10-27  4:52   ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.