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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70AB9C433F5 for ; Mon, 25 Oct 2021 07:48:56 +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 7932460E05 for ; Mon, 25 Oct 2021 07:48:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7932460E05 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BD6BF83314; Mon, 25 Oct 2021 09:48:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1635148133; bh=HJexPWw9rI06uw4tdaTvBFRvXv5qmq6xb5rKvrPk0hM=; h=To:cc:From:Subject:In-reply-to:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=lsQh0cfbr8zix+mm2wqKrksnY2O21fuxLp9bU6L3ZSQKfoxUbXcdDzw3riI41kM2H I/vU0OpQ9/mj9pY17cQXWimq85adbu8izHytwdcCipWAevaVZXc3WkOpjv2ZIVPrw9 ZlfeX/pLNDdvILV9lHXXJc10Zvb+djOjVEVhi11pBiExjU6g/6B/i8t2eh6cTBCA7l vrvhuFUVxwnGWZVUhG5XQ5CGplTM7vYzgMMAi8vb/NLpT6eNj0QKkHJHqZQOMf+gxo LbIT6/ZFyy0rp3EOVdBNcowtMzGjTuavof/LpcM1X4asiu1sIB8G09HwkR2qm0ohqo Z+UULf8rtJ11Q== Received: from janitor.denx.de (unknown [62.91.23.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: noc@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 23CDD8311B for ; Mon, 25 Oct 2021 09:48:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1635148131; bh=HJexPWw9rI06uw4tdaTvBFRvXv5qmq6xb5rKvrPk0hM=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=K+LHejjE/Utd6pQfBxE6p+UAGSaQWoPrfQ9irXL0Q0Bx5ufqzv46KBO2nrCFdkN8u BZQzNzIVU/H+uz2njXB9s60UG4c9rxZZkNjHB/bh8VVzgqW88vsOgtWmFBZ1u6khkU P90bG4VIEkV8pKG+zXzV3EZoT92oXdqc8r5rwBimKWuW5R0UWRpDeRM8f4zgWiKji1 8JUCQsWEFXv36Mt+s0h3BVKgo+KR4uh8gpDqlZahyiywYMnCGL+z3w4QkrwPEED2k+ kE4eqiTC3rxewP30fuQeIFBvw+J/hbaTNfkEiBnFsAS0HYl2/fkmMDhV4389JnmbYX 9V3zDbIH5ZvZw== Received: by janitor.denx.de (Postfix, from userid 108) id CD8C8A02C5; Mon, 25 Oct 2021 09:48:50 +0200 (CEST) Received: from gemini.denx.de (gemini.denx.de [10.4.0.2]) by janitor.denx.de (Postfix) with ESMTPS id 9059AA005F; Mon, 25 Oct 2021 09:48:42 +0200 (CEST) Received: from gemini.denx.de (localhost [IPv6:::1]) by gemini.denx.de (Postfix) with ESMTP id 264A61E0F1B; Mon, 25 Oct 2021 09:48:42 +0200 (CEST) To: Tom Rini cc: Simon Glass , Marek =?iso-8859-1?Q?Beh=FAn?= , U-Boot Mailing List , Rasmus Villemoes , Heinrich Schuchardt , Joe Hershberger From: Wolfgang Denk Subject: Re: [PATCH v9 3/7] env: Allow U-Boot scripts to be placed in a .env file MIME-Version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8bit In-reply-to: <20211024164404.GQ3577824@bill-the-cat> References: <3682215.1634809802@gemini.denx.de> <20211021122325.GX7964@bill-the-cat> <3695947.1634821611@gemini.denx.de> <20211021152537.441c37b9@thinkpad> <20211021152831.15524883@thinkpad> <20211021160311.GC3577824@bill-the-cat> <3763481.1634890085@gemini.denx.de> <20211022144759.GG3577824@bill-the-cat> <3903411.1635090360@gemini.denx.de> <20211024164404.GQ3577824@bill-the-cat> Comments: In-reply-to Tom Rini message dated "Sun, 24 Oct 2021 12:44:04 -0400." Date: Mon, 25 Oct 2021 09:48:42 +0200 Message-ID: <3938383.1635148122@gemini.denx.de> 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 Dear Tom, In message <20211024164404.GQ3577824@bill-the-cat> you wrote: > > > It is a convenience tool, and it is OK if it has a few restrictions, > > like for the character set of supported variable names. > > > > But: > > > > 1) These restrictions must be clearly documented, both in the commit > > message and in the related documentation/readme. > > 2) There should be another, more primitive way to generate > > environment settings without these restrictions.. > > First, in that we don't have tests today for any of the "interesting" > possible variable options, I have no clue which ones even work as > intended. > > Second, yes, an end result here should be that yes, the default > environment should be more easily buildable and integrated with > arbitrary tools, so if something else can parse it (libubootenv?) it can > be done. Actually I have an even more low-level approach in mind, like the capability to include (or rather import) binary U-Boot environment data given in the usual =\0...=\0\0 form. This might come in handy if your data comes from exporting the environmentof a running system. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de An expert is a person who avoids the small errors while sweeping on to the grand fallacy.