[PATCH v5 3/4] test/py: Handle expected reboot while booting sandbox

Tom Rini trini at konsulko.com
Sun Feb 27 15:21:16 CET 2022


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 at 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 at 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?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220227/233ff8b5/attachment.sig>


More information about the U-Boot mailing list