[PATCH 07/11] bootm: Split out bootargs environment reading / writing

Wolfgang Denk wd at denx.de
Wed Oct 21 09:02:48 CEST 2020


Dear Simon,

In message <CAPnjgZ0LCKLdpq85gfyOU-Z0BJgydo_KY+JEX7KTb_WFDpFM+A at mail.gmail.com> 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


More information about the U-Boot mailing list