[PATCH 02/10] Add part_find command
Simon Glass
sjg at chromium.org
Tue Dec 10 17:16:50 CET 2024
Hi Heinrich,
On Tue, 10 Dec 2024 at 01:21, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> On 23.11.24 20:55, Matthew Garrett wrote:
> > From: Matthew Garrett <mgarrett at aurora.tech>
> >
> > part_find takes a GPT GUID and searches for a partition that matches
> > that. It then sets the target_part environment variable to the media
> > type, device number and partition number that matched, allowing
> > $target_part to be passed directly to bootm and similar commands.
> >
> > Signed-off-by: Matthew Garrett <mgarrett at aurora.tech>
>
> For user to memorize the command it would be preferable to add the
> functionality as sub-command to the existing part command.
I looked at that when sending this series. My only concern is that it
is wildly different from the existing 'part' command, in that it does
special EFI things.
But I don't have any strong opinions so am happy to incorporate it,
with its own Kconfig option, of course.
Regards,
Simon
More information about the U-Boot
mailing list