Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3CC69C433EF for ; Sun, 27 Feb 2022 14:21:34 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 71B5283C29; Sun, 27 Feb 2022 15:21:28 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="O9VCSTAn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8AB6183BA7; Sun, 27 Feb 2022 15:21:25 +0100 (CET) Received: from mail-qv1-xf2f.google.com (mail-qv1-xf2f.google.com [IPv6:2607:f8b0:4864:20::f2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 75F3483BC0 for ; Sun, 27 Feb 2022 15:21:20 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf2f.google.com with SMTP id j11so10609348qvy.0 for ; Sun, 27 Feb 2022 06:21:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=83o5v5h3Mu82ulKNkob6mTg1I0p3eyeh00XJOQko6uw=; b=O9VCSTAnQN3Zu05olrRUDYdg2ab8mmf1WqXCU62E7BBA8ulwtY118NCLdxyU7GXwJ7 QajaNbUYsvzIs2E/73tOZl2M5a5bHGPh3MhkTTJQdduoWlVovEjL68CQydrGk4Rg7pLc clJTyFppQUJvOXLZGLLUdRYFUr6fFpHPJKjjo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=83o5v5h3Mu82ulKNkob6mTg1I0p3eyeh00XJOQko6uw=; b=YYSMhDd2DVeEwlyJmuFgk7RKI1zbHN6mQ62fTfPjbXpEaynjjf4CHN1HRqYHMzvtU0 CnBGBZ5pQ92VPNBMeQ3i9Cdro54Z4GVhxQCQODx8DYy4j2ou5U4I2gR9HQJ+wHoUOkOe DAL3SuAgVvIDuSdC8YrL/At19wQuVQSIM+KASY+jBNH0JQUROMxMiMlMHpuwfkuj6vHA AbjZgY34566r8ny730SQLnVJKy4jtyLoYCebukf6QiBwgxPJbSGg/czivRqJo2FB9QTd ROQc23ewf52FDc3Fs+heHr27pjT/t60A9SbpSZ4H2OiCojVrNlNEW3dG/J985UBSLvTO Zo3A== X-Gm-Message-State: AOAM530m4hBWkleKC3S21h6s5Dz3ZprICFH9Jfv//TBDGQFr8n1+pUKf wPlW1fji6sEbRZtQi85pUn2FcA50JmROZCBU X-Google-Smtp-Source: ABdhPJy1WzJhtjGAv0LPKi/WXEABaDuk0YP2jhLeWpRqN6bMXWCxWbwwackwShXHKREx1lgu0Gz8aw== X-Received: by 2002:a05:6214:20aa:b0:433:a73:7712 with SMTP id 10-20020a05621420aa00b004330a737712mr1735578qvd.108.1645971679377; Sun, 27 Feb 2022 06:21:19 -0800 (PST) Received: from bill-the-cat (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id d77-20020ae9ef50000000b00649555ce936sm4011497qkg.83.2022.02.27.06.21.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Feb 2022 06:21:18 -0800 (PST) Date: Sun, 27 Feb 2022 09:21:16 -0500 From: Tom Rini To: Simon Glass Cc: Masami Hiramatsu , U-Boot Mailing List , Patrick Delaunay , Patrice Chotard , Heinrich Schuchardt , Alexander Graf , AKASHI Takahiro , Bin Meng , Ilias Apalodimas , Jose Marinho , Grant Likely , Etienne Carriere , Sughosh Ganu , Paul Liu Subject: Re: [PATCH v5 3/4] test/py: Handle expected reboot while booting sandbox Message-ID: <20220227142116.GI1576803@bill-the-cat> References: <164499213192.688621.17382243642029677399.stgit@localhost> <164499216253.688621.5866897494911875372.stgit@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0oLgFYLVAW+uEPBi" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean --0oLgFYLVAW+uEPBi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 26, 2022 at 11:37:20AM -0700, Simon Glass wrote: > Hi Masami, >=20 > On Tue, 15 Feb 2022 at 23:16, Masami Hiramatsu > wrote: > > > > Add expected_reset optional argument to ConsoleBase::ensure_spawned(), > > ConsoleBase::restart_uboot() and ConsoleSandbox::restart_uboot_with_fla= gs() > > so that it can handle a reset while the 1st boot process after main > > boot logo before prompt correctly. > > > > Signed-off-by: Masami Hiramatsu > > --- > > Changes in v5: > > - Rename parameter to expect_reset and update the description to clar= ify > > 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(-) >=20 > 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? --=20 Tom --0oLgFYLVAW+uEPBi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmIbiNwACgkQFHw5/5Y0 tyyPZgv/fbX8bzsyXggm/ob0f7mHQ8PyP81Csa2ZRzJLeHBUZFaAi1XQp2c8muNj ocJjQooVW6mEXF84CDPC46pqwjSA8qbyCeJWFNzfK535NMFy0UpqR0P3D7grcsLv F0llZvZYEJw5p97/yt4C8a3mJt0Ba+5Kv5aVjNNffm4vf27ChF+cNhym1hFq9Xs9 XYPT6b8TkVBeGR3ZYMMAAQ21l73sAPFQNwmOIM8mwSRJ6zRnJb80YlR7hTprNC83 ioCzadnJUwadp/y+4+U7ILgYmTaVPIVDkfeA9ooihcg2mgs4UJQirypEFXloPbz8 w20C5kSf1g+F2r7RMWszbmMTK46H5hERQ4URuwgQVplJeQ5GSncIc49iKOChRv/2 4NKr7/YX+y5MdlCUOQHp0VGEOZFcBri0GmlJQGsygtSPqsqaM+SvG6HRHxpktBrn EJMkOy/4ox4M6k9CGkJqyYd8JT/hE/y2hXrFhR6ImMVM8GNl+7Hd2YdzHZd+ipel CYFWbOmE =njvi -----END PGP SIGNATURE----- --0oLgFYLVAW+uEPBi--