[PATCH v2] arch/x86/lib: implement cmdline configuration property
ranquet guillaume
ranquet.guillaume at gmail.com
Fri Jun 26 01:20:58 CEST 2026
On Mon, Apr 13, 2026 at 3:36 PM Simon Glass <sjg at chromium.org> wrote:
>
> Hi Guillaume,
>
> On Mon, 13 Apr 2026 at 04:48, Guillaume Ranquet
> <ranquet.guillaume at gmail.com> wrote:
> >
> > On Sun, 12 Apr 2026 13:37, Simon Glass <sjg at chromium.org> wrote:
> > >Hi,
> > >
> > >On Sat, 11 Apr 2026 at 05:25, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> > >>
> > >> Am 3. April 2026 16:28:23 MESZ schrieb Guillaume Ranquet <ranquet.guillaume at gmail.com>:
> > >> >Implement the cmdline configuration property as described in the spec
> > >> >[1]
> > >>
> > >>
> > >> I can't see in the spec that the command line property is x86 specific. Why would you try to implement it in arch/x86?
> > >>
> > >
> > >This is a little tricky though. It could perhaps be handled in
> > >bootm_process_cmdline_env() by setting bootargs. Both legacy bootm and
> > >bootstd (via the on_bootargs callback) would then pick it up without
> > >any arch-specific code. But I haven't tried it. Commands like
> > >'bootflow cmdline set' need to continue to operate as now.
> > >
> > >Regards,
> > >Simon
> > >
> >
> > Indeed, I've looked at implementing this in a generic way but it
> > requires a bit of massaging to get things working.
> >
> > I was also under the impression that no one in their right mind would
> > use the command line property if they had access to a device tree?
> >
> > Tell me if you think I should propose a generic implementation?
>
> I'm happy with what you have for now, so I'll leave this to Heinrich.
Hi Heinrich,
Any feedback on this?
Thx,
Guillaume.
>
> Regards,
> Simon
More information about the U-Boot
mailing list