[RFC 1/1] cmd: add command to dump EFI block devices
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Tue Oct 4 19:01:46 CEST 2022
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.
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
More information about the U-Boot
mailing list