
On Sat, Feb 26, 2022 at 11:37:20AM -0700, Simon Glass wrote:
Hi Masami,
On Tue, 15 Feb 2022 at 23:16, Masami Hiramatsu masami.hiramatsu@linaro.org wrote:
Add expected_reset optional argument to ConsoleBase::ensure_spawned(), ConsoleBase::restart_uboot() and ConsoleSandbox::restart_uboot_with_flags() so that it can handle a reset while the 1st boot process after main boot logo before prompt correctly.
Signed-off-by: Masami Hiramatsu masami.hiramatsu@linaro.org
Changes in v5:
- Rename parameter to expect_reset and update the description to clarify the reset will happen between main boot and the command prompt.
test/py/u_boot_console_base.py | 48 ++++++++++++++++++++++--------------- test/py/u_boot_console_sandbox.py | 7 ++++- 2 files changed, 33 insertions(+), 22 deletions(-)
Didn't I already comment on this patch? Why did it come back?
Maybe I'm confused. This is so that we can "cold" reset sandbox so it behaves more consistently to other platforms, yes?