From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Tue, 20 Oct 2020 15:17:21 +0200 Subject: [PATCH 11/11] bootm: Support string substitution in bootargs In-Reply-To: References: <20201019135602.3943835-1-sjg@chromium.org> <20201019135602.3943835-12-sjg@chromium.org> <283890.1603119290@gemini.denx.de> Message-ID: <312662.1603199841@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Simon, In message you wrote: > > > You add something unconditionally to common code which very few > > people need. U-Boot size is growing all the time because of such > > ... features. This may be acceptable on the systems you have in > > mind, but I consider this selfish. > > Did you see the Kconfig option? So you claim the size does not grow with the feature not selected? > > Why do we have to add yet another non-standard way of substituting > > variables in a string? Can we not use alreay existing methonds > > instead? > > What sort of methods? Variable substitution? > > Why do you have to use "%U" in your template instead of for example > > "${uuid}" ? > > This is what Chrome OS uses, so it is easier this way, Otherwise I > have to replace %U with ${uuid} first. That's what I meant when I wrote "selfish" ;-) > Which code can I use to parse the ${var} thing? setenv and run ? 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 at denx.de My brother sent me a postcard the other day with this big sattelite photo of the entire earth on it. On the back it said: "Wish you were here". - Steven Wright