[RFC 1/1] cmd: add command to dump EFI block devices

Ilias Apalodimas ilias.apalodimas at linaro.org
Wed Oct 5 09:05:59 CEST 2022


Thanks Heinrich

On Tue, Oct 04, 2022 at 07:01:46PM +0200, Heinrich Schuchardt wrote:
> On 10/4/22 18:30, Simon Glass wrote:
> > Hi Heinrich,
> > 
> > On Tue, 4 Oct 2022 at 06:34, Heinrich Schuchardt
> > <heinrich.schuchardt at canonical.com> wrote:
> > > 
> > > Provide a command to dump
> > > 
> > > * all block devices
> > > * the protocol interfaces installed on these
> > > * the open protocol information
> > > 
> > > Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> > > ---
> > > When working on the EFI DM integration this command will us help to
> > > better understand the setup.
> > > 
> > > We might want to add some of the output to efidebug in future.
> > > ---
> > >   cmd/Kconfig   |   7 ++
> > >   cmd/Makefile  |   1 +
> > >   cmd/blkdump.c | 176 ++++++++++++++++++++++++++++++++++++++++++++++++++
> > >   3 files changed, 184 insertions(+)
> > >   create mode 100644 cmd/blkdump.c
> > 
> > Shouldn't this be in efidebug or under the 'efi' command? It seems
> > specific to EFI.
> 
> This is just for Ilias' and my testing purposed. The patch will not be
> merged. I just need an easy way to look at open protocol information.

Definitely useful!

> 
> I have created a separate patch for efidebug:
> 
> cmd: simplify command efidebug
> https://patchwork.ozlabs.org/project/uboot/patch/20221004134032.128142-1-heinrich.schuchardt@canonical.com/
> 
> Best regards
> 
> Heinrich

Regards
/Ilias


More information about the U-Boot mailing list