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

Simon Glass sjg at chromium.org
Tue Oct 20 21:12:59 CEST 2020


Hi Wolfgang,

On Mon, 19 Oct 2020 at 08:45, Wolfgang Denk <wd at denx.de> wrote:
>
> Dear Simon,
>
> In message <20201019135602.3943835-8-sjg at chromium.org> 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 also feel eventually that bootm could subsume zboot given the
similarities. Or maybe zboot just dies if people stop using the old
boot approach?

Regards,
Simon


More information about the U-Boot mailing list