From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Wed, 21 Oct 2020 09:02:48 +0200 Subject: [PATCH 07/11] bootm: Split out bootargs environment reading / writing In-Reply-To: References: <20201019135602.3943835-1-sjg@chromium.org> <20201019135602.3943835-8-sjg@chromium.org> <283687.1603118701@gemini.denx.de> Message-ID: <329029.1603263768@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: > > > > It is also useful for zimage to use a buffer, since it does not actually > > > put the Linux command line in the bootargs variable. > > > > ...which I consider a bug that should be fixed. > > OK I was wondering about that. > > The messy thing about zimage is that the command line comes from the > setup.bin in the kernel, and then needs to be modified. So you can't > just blindly use the 'bootargs' var. Perhaps that is why it wasn't > done? I can't say. I never used zImages, and probably never will. > I also feel eventually that bootm could subsume zboot given the > similarities. Or maybe zboot just dies if people stop using the old > boot approach? I would not shed a tear. I cannot understand why people still use this. We should more actively encourage the use of FIT images in favour of all these old formats. 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 "If it ain't broke, don't fix it." - Bert Lantz