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 D12AAC07E9B for ; Wed, 7 Jul 2021 13:58:53 +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 4935C61C92 for ; Wed, 7 Jul 2021 13:58:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4935C61C92 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 AD58482E54; Wed, 7 Jul 2021 15:58:48 +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="MXELvmnb"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AE0B882E2B; Wed, 7 Jul 2021 15:58:46 +0200 (CEST) Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) (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 1F906829EF for ; Wed, 7 Jul 2021 15:58:43 +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-qk1-x729.google.com with SMTP id 77so235390qkk.11 for ; Wed, 07 Jul 2021 06:58:43 -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=hi6n60m4iimIlE6/MhlrHA6fT5cGCs5tHM6dnNxzaXk=; b=MXELvmnbB89UagmqnNJMVFlAHd6R9GS4cestTz73uPyi8jAEG7D+gAlGfivuxaE6v/ bcJfS0iUt0rzusa7Cp025vxLYv44s1b1KF0qDEKbDI2Cj+lUzSWWcK5tu6NQpv/yPe04 ylh1BjaXuMGPKBSfZSnUx0IDTz/z1+2rZEghU= 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=hi6n60m4iimIlE6/MhlrHA6fT5cGCs5tHM6dnNxzaXk=; b=ns7xVf/HLuIyK251C3J8IbRbjHJtGmLZ3Y4+0s4Xd0um38py+CuOwlDt6B9KHlJ4kl xrpsYwzBZ+YV103EBb8px4CkT93CQedTDc4Aj3y7A6ifRaA5fb2BBdVgajZ2IvUrTOgZ YTTlTokaP6EMiMIArJV/4P4m3pF4UrMlNmUh5h28Hv++vy6ael4SuSgUhPhvboIqewJs P+DLP4LgybAO/36Kuj7nCAYBvuVpygpO3DzKGP9Yxl1geDTyfQSXTDT4Pn08NQBJL+qb IUkCis0UzyZ8AOOf1434yyJPFMx1BT7WsnLDugpsP+hr8qomJQmZvGC6c/RQtrgKeqOS kdKA== X-Gm-Message-State: AOAM5310dqEpAVkcwy7cklZvBxLmZ7d7+urpLMW4Sx6Ns0ZENm9LHYKh qEribYPDuMNAUD3rhEwFbvkTPA== X-Google-Smtp-Source: ABdhPJww3avDTNe67GYH56bcJfMRSm6yHUvAMbxcJFSSzlx2b++Y8UI4GyecvcyRa/bY+cjKRhJvtw== X-Received: by 2002:a37:67ce:: with SMTP id b197mr14949522qkc.269.1625666321992; Wed, 07 Jul 2021 06:58:41 -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 p187sm637159qkd.101.2021.07.07.06.58.40 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Jul 2021 06:58:41 -0700 (PDT) Date: Wed, 7 Jul 2021 09:58:39 -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: <20210707135839.GW9516@bill-the-cat> References: <20210701061611.957918-3-seanga2@gmail.com> <126700.1625223815@gemini.denx.de> <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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6UBW/bMuV88uzHt6" Content-Disposition: inline In-Reply-To: <49429.1625645732@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 --6UBW/bMuV88uzHt6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 07, 2021 at 10:15:32AM +0200, Wolfgang Denk wrote: > Dear Tom, >=20 > In message <20210706145420.GQ9516@bill-the-cat> you wrote: > >=20 > > > Updating to a current version would fix this, in an almost 100% > > > backward compatible way. > > > > Let us cut to the chase then. Who is going to port a modern version of > > hush over to U-Boot, and maintain it? If we fork and forget again, > > we'll be in a bad place once again in 2-3 years. >=20 > Would we really be better off if we switch to some exotic piece of > code instead (I was not able to locate any user base, nor other > developers), which has been reported to have poor or no error > handling, and comes with an incompatible command line interface? >=20 > There is a zillion of shell scripts in the field, from non-trivial > boot sequences to complex download-and-upgrade scripts. You can't > really even think of breaking compatibility on such a level. 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 Tom --6UBW/bMuV88uzHt6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmDlsw8ACgkQFHw5/5Y0 tyxf4Av/fKCCvKRppW/HdVuy1X1H5jqq2mX7fXjyATzqcvU58D8pQuyYm6GL/ORz NQeO3+LuF3yslHpo7w8sfQPfleobVn9+QT1cZNpiLtb3wRdGs/5gyVcdd1Am3Fd1 q9v4GvqkrmNVrT76Iiggbv1/VctnUZdzkbxJu7gnI5B8Myss3DEWDRRDRdtsz4OE ccwx6LWeZKTc0bPHB05TbL09nAGsQi3jXqKLLKwrNdjqK8p92Vpjn7JEFGgb4YmO Uel1ApwbyTPLxLC1o7DRiwVt7e3fGrwFm+fA7kNguJG5wBeZpio6aluwa+axOZar ehzvh125fQVirc7DcV4MwgGEN02VkX2cTyrTEfZP5T66N7f6Hk6Qvk1Lp22JG7+S aP4lg04YTuaU8qJGTlHaQzAbOA+wZow2UZ7qKtNSXEHgfvj6X1K68De5TNCI3W30 K6ebdl4EZsI1qUkiYEZA/fEeMkgqD006aJ3qGoNf+aIwCBsaNpLbheQw0E6Cepzx uNJWC+9d =YbaF -----END PGP SIGNATURE----- --6UBW/bMuV88uzHt6--