From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C9CDC07E9C for ; Wed, 7 Jul 2021 14:14:31 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 89FF261CA2 for ; Wed, 7 Jul 2021 14:14:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 89FF261CA2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 47FA682DE6; Wed, 7 Jul 2021 16:14:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (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="ffLHXLs4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9656182E0E; Wed, 7 Jul 2021 16:14:26 +0200 (CEST) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (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 67BF4829C0 for ; Wed, 7 Jul 2021 16:14:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x833.google.com with SMTP id g8so2069693qth.10 for ; Wed, 07 Jul 2021 07:14:22 -0700 (PDT) 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:user-agent; bh=U8tqOBeCSs4OwHal4I+fGnu+huRlRsCZqtbdwKfxccg=; b=ffLHXLs4H4iu/5mqNRJjcc3aDwsuDMeZXSmk2TQ/NAmZloabAvoa7QF8J1n1jPdogG VynW5hYOF5u6JpUlRWJaUUQ6KuMGbypar6uEsjMhRY2eoSnimy7izMUr/JuJ8Cp7L3Jl HNkMfN+BkG45TG1QijugR095a+AOlSNDqi3uc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=U8tqOBeCSs4OwHal4I+fGnu+huRlRsCZqtbdwKfxccg=; b=eBR9SuyTQTts/yF5mmqs4QfTJo+lwIAkYYWaAZdiKBxCMbkiyoXb1amFzN8XD0L6jO S9rjc1H1RC/D3m8KTYLbtWFRMtM8E528BfoZ9xNEKE3TcA9u6xu1Z9QZPt41I21xWOrO 4QBnBu6Cx93rjYkkcUQm4PEVrWGvwNE+e3PnfHqHR9Vv/w9r0XjKX7Ejzfv4WfICR5Pj quogwFplqCH11bGGKA26mWneaMLMg846BoEkwSFgRogqjhhkBc13plc/CBef4p7g3t7I JcCiIzM+FFn7iXZnv2DNrNX1oZTAxp2Xu9yITwlxfCk+FVrt5/ZQkauP4P2NZayg3BRR mIkQ== X-Gm-Message-State: AOAM530o+nnQUXOAmgP+YX7ZX/ltlTG9GBz5j7vZSAfVaagQP2IEoqDW 2pY9FhbN2r+rpNrvUr6amA8TWQ== X-Google-Smtp-Source: ABdhPJzuT8Kf9EnVdUDywtWtOhYBy66ixHDzIAdyaVW15FWMnUfjO/uP0ceIhxsFWte3a359Rx4hNw== X-Received: by 2002:a05:622a:44f:: with SMTP id o15mr7065844qtx.189.1625667261198; Wed, 07 Jul 2021 07:14:21 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-5120-5dda-66b4-5098.res6.spectrum.com. [2603:6081:7b01:cbda:5120:5dda:66b4:5098]) by smtp.gmail.com with ESMTPSA id h6sm1028327qke.100.2021.07.07.07.14.20 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Jul 2021 07:14:20 -0700 (PDT) Date: Wed, 7 Jul 2021 10:14:18 -0400 From: Tom Rini To: Wolfgang Denk Cc: Sean Anderson , u-boot@lists.denx.de, Marek =?iso-8859-1?Q?Beh=FAn?= , Simon Glass , Roland Gaudig , Heinrich Schuchardt , Kostas Michalopoulos Subject: Re: [RFC PATCH 02/28] cli: Add LIL shell Message-ID: <20210707141418.GZ9516@bill-the-cat> References: <8bbdb7a1-5085-a3b7-614f-12ae9aee8e8b@gmail.com> <18831.1625340810@gemini.denx.de> <20210705191058.GB9516@bill-the-cat> <192152.1625557603@gemini.denx.de> <20210706145420.GQ9516@bill-the-cat> <49429.1625645732@gemini.denx.de> <20210707135839.GW9516@bill-the-cat> <75404.1625667043@gemini.denx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="UB/QdmUeuCvkxSMv" Content-Disposition: inline In-Reply-To: <75404.1625667043@gemini.denx.de> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean --UB/QdmUeuCvkxSMv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 07, 2021 at 04:10:43PM +0200, Wolfgang Denk wrote: > Dear Tom, >=20 > In message <20210707135839.GW9516@bill-the-cat> you wrote: > >=20 > > As I've said a few times in this thread, this not being an sh-style > > interpreter is a strike against it. And if we're going to insist on a > > bug-for-bug upgrade to our hush (so that all of the hugely complex > > existing scripts keep working) we might as well not upgrade. Frankly I > > suspect that down the line IF a new cli interpreter comes in to U-Boot > > we will have to keep the old one around as a "use this instead" option > > for another long number of years, so that if there are any systems with > > non-trivial scripts but upgrade U-Boot and don't / won't / can't > > re-validate their entire sequence, they can just use the old cli. >=20 > Do you actually have an example where code working on our ancient > port of hush would fail on the current upstream version? Have you validated one of those exceedingly complex boot scripts with a modern hush (and some fakery for u-boot commands) ? No. I'm just saying I expect there to be enough risk-adverse groups that just dropping our old hush entirely might not be possible right away. Of course, if all of the current in-tree complex cases Just Work, that might be a good argument against needing to keep such levels of backwards compatibility. --=20 Tom --UB/QdmUeuCvkxSMv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmDltroACgkQFHw5/5Y0 tyzqBAwApiEdNcqUZAJ5WozPzHd/RCTX5HmJM5ZExo7FnZmNkiI+fACICVY6KqDe FTGxRU/yTkL1bG08Z0w7fPxkRqYSbhlts2sHa2yKJik9S5sEsxv0D09OjTskKVO2 jjvZZHBCazjkd4J5iCjhg+pqPvANqOrsg7OZ3hkPnL9VU38HncZMFtSSC14Yr4uD qbzK/Ie4i7Uh6pkiqJRoEky0aHct1BguWP18BWA0mcXAr8ii37nKLf0zgd/VnJxY DvAqCsjTz/2bJvxyWumK0uW+QejUMuqIrjGT3Huxx5aGZKqIaDcHMb8z1u2gDXz9 bwAXOPGzElstFzqTbdENUjF2VW5NoSFMGTcBumOPR4zWhIx7lwI1XeLaSdxe5hY9 VREQ+5cuxvqHZUF17jFzi7dhAZSVts0KBHo/h+K8/aeT/zgpXs4ApXygzjVl3PED cb9rJBFxRMdGQr0jBwzf9RXaf/cep3C6R74jqZZ31omrPEKGPJy3P1/cJxIb+Cvw Y8uj5iDs =bwVD -----END PGP SIGNATURE----- --UB/QdmUeuCvkxSMv--