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 88543C0502A for ; Sat, 27 Aug 2022 12:53:19 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1E7EA841BC; Sat, 27 Aug 2022 14:53:17 +0200 (CEST) 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="caHu//2K"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AC74F843F2; Sat, 27 Aug 2022 14:53:15 +0200 (CEST) Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) (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 05AA284001 for ; Sat, 27 Aug 2022 14:53:13 +0200 (CEST) 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-xf34.google.com with SMTP id n14so3062690qvq.10 for ; Sat, 27 Aug 2022 05:53:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=Jruw5LSxE0juq3AF8DMavBf6nAEiDepNJzepvCAJvmg=; b=caHu//2K0F3zVQXgdCGtiaY/tG0uUA/1jIuGgjhMDn0mctDec9swouU+lFbKj2JFn/ RZsbqfkBfHxSvPPRkJbkSoerviCdzx8Y3T4v8bv7WHaVStQjCeNdcQ0qVQ5Wi0tySBYy LsR1Wyb3mPdDYoiWwYBi/tnX66OlpZnWrFZAY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=Jruw5LSxE0juq3AF8DMavBf6nAEiDepNJzepvCAJvmg=; b=75Fo0++SZjiIwRJoz53bOgKafLML8qLY2qvsa06oozxsifB1/PM+vD6U18FoZ2zi2b jhpXfxTk/6Gr0DCzj7OIVtluVNHfq3LacCZqK9LJigrBsFd8mfYtgbUjk3PSb5mw6wVB O/d+bLiqZ/r2XpoRDkuKzrMytCqlRR+EnRp5BQD4aoWJd9mSh/zSW4TRfpjZ7NrwJMVY 41RntJSC/9irt6cb2h7lshdQDDtObRrrW0tkw3QgrOXbuw2+VqlAMcMeR4iADmFZFLf/ +qeto8YbDp24e9E9Fn1vZ82jVRp/3RvJlW5xWi1lex5GvGbioGfGUFCHDlOxzzTo3z/K PO1w== X-Gm-Message-State: ACgBeo0hzaLwRj2oMgvXzxSpi5URF5oNc8EjPSBoqaNQW/GrNK878UO8 5zK2ii+3FbpweQGB1GBpiCRMmw== X-Google-Smtp-Source: AA6agR4bWfYyDFw/XA09WZXeSm3BKUYyi3q3QPaGgm1C2g4l3Kz/KUj3URQUf6f1wG6v+MTCL+JQtw== X-Received: by 2002:a05:6214:20e9:b0:496:f1e3:60d8 with SMTP id 9-20020a05621420e900b00496f1e360d8mr3358692qvk.57.1661604791658; Sat, 27 Aug 2022 05:53:11 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id f5-20020ac80685000000b00342f844e30fsm1543359qth.31.2022.08.27.05.53.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Aug 2022 05:53:10 -0700 (PDT) Date: Sat, 27 Aug 2022 08:53:08 -0400 From: Tom Rini To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Wolfgang Denk , Simon Glass , Heinrich Schuchardt , u-boot@lists.denx.de Subject: Re: [PATCH v2] xyz-modem: Allow to configure initial timeout for loadx and loady Message-ID: <20220827125308.GI7942@bill-the-cat> References: <20210910204653.3066-1-pali@kernel.org> <20220827114835.22584-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qfesBOB4TKwppX3D" Content-Disposition: inline In-Reply-To: <20220827114835.22584-1-pali@kernel.org> 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.6 at phobos.denx.de X-Virus-Status: Clean --qfesBOB4TKwppX3D Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 27, 2022 at 01:48:35PM +0200, Pali Roh=E1r wrote: > Now when loadx and loady commands could be aborted / cancelled by CTRL+C, > allow to configure timeout for initial x/y-modem packet via env variable > $loadxy_timeout and by default use value from new compile-time config > option CONFIG_CMD_LOADXY_TIMEOUT. Value is in seconds and zero value means > infinite timeout. Default value is 90s which is the measured value used > before this change for loadx and loady commands. >=20 > Other load commands loadb and loads already waits infinitely. Same behavi= or > for loadx and loady commands can be achieved by setting $loadxy_timeout or > CONFIG_CMD_LOADXY_TIMEOUT to 0. >=20 > Signed-off-by: Pali Roh=E1r > --- > Changes in v2: > * Allow to set timeout via env instead of permanent infinite timeout This breaks platforms like "porter" where we have SPL_YMODEM support but do not have environment support. --=20 Tom --qfesBOB4TKwppX3D Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmMKE7EACgkQFHw5/5Y0 tyw+JQv+LJCK0+ud2JAL5kH6u70QmT/JMEY/JFpB1rALPmU1MJhr+5ExVfEoX7OZ gfgchJ1jw2O5t6rk7P2oqTvxxEiyHs5X7wvgVN+RmIRHCZIumAj/KewdYFCui67H b9q05OV2t2LmcQraT99isK3l8r6/4ygfpZHUkXlpQAk4R96W4UYVse2MDPdXoH0B K1Zb9wRPyhKXn1mDNGWOECos2aA/uPLcRi0yLHjBPaxEf6fe0h8BKO5rojsoJG4z OKUT/pOwgClXD437onKmhxEA2qXrdDlj8w441lkel3PoGJUlXyu6Tsp4MVpfl5SE ra5XdvD0ztPi5u6EJVO/wKYfPmyAaEqOr5b4OuGw82cQUyDoqI7r5TL1atSdSqTy W0odkF6Iu7KFwAw6qXEt0gAGduzWbsmK4E0+mk1T474lCTR+FOFQjuuv/gGg5BtB KRf3oDnp6+amV0ACZeormolCMExCD+owCU0TUGr6uQ79bv1K9U9XgCTeq/yHWWLm faVW7nzP =d15+ -----END PGP SIGNATURE----- --qfesBOB4TKwppX3D--