[PATCH v4 45/46] pxe_utils: Refactor to separate reading from booting

Simon Glass sjg at chromium.org
Sat Jan 25 18:11:30 CET 2025


Hi Tom,

On Thu, 23 Jan 2025 at 09:28, Tom Rini <trini at konsulko.com> wrote:
>
> On Thu, Jan 23, 2025 at 09:11:06AM -0700, Simon Glass wrote:
> > It is useful to be able to select a bootflow and read its images,
> > without actually doing the boot. This allows adjusting the bootargs, for
> > example.
> >
> > Provide support for this in the pxe_utils module, by adding a 'probe'
> > method which selects a label and saves its settings, so it can be booted
> > later, if desired.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> > Changes in v4:
> > - Fix the force-prompt logic to leave the flag alone unless forced
> >
> >  boot/pxe_utils.c    | 71 ++++++++++++++++++++++++++++++++++++++++++---
> >  include/pxe_utils.h | 41 ++++++++++++++++++++++++++
> >  2 files changed, 108 insertions(+), 4 deletions(-)
>
> In the future can you please use --in-reply-to so that patchwork and b4
> will track this correctly? Thanks.

OK will do.

Regards,
Simon


More information about the U-Boot mailing list