[U-Boot] [PATCH v5 2/7] cmd: efidebug: add devices command
AKASHI Takahiro
takahiro.akashi at linaro.org
Tue Jan 22 01:38:14 UTC 2019
Alex,
On Mon, Jan 21, 2019 at 02:34:43PM +0100, Alexander Graf wrote:
> On 01/21/2019 08:49 AM, AKASHI Takahiro wrote:
> >"devices" command prints all the uefi variables on the system.
> >
> >=> efi devices
> >Scanning disk ahci_scsi.id0lun0...
> >Scanning disk ahci_scsi.id1lun0...
> >Found 4 disks
> >D
> >e
> >v Device Path
>
> Why the weird formatting of "Dev"?
Good question :)
The format mimics a EDK2's shell.
The purpose is that we will be able to add some *narrow* data fields
later without spilling out a line length.
But I admit that we don't have to do so because we have an enough width,
16 digits, for ID (or address of efi object in this case).
=== From EDK2 UEFI Shell output ===
Shell> drivers
T D
D Y C I
e P F A
V VERSION E G G #D #C DRIVER NAME IMAGE NAME
== ======== = = = == == =================================== ==========
6E 0000000A D - - 1 - Platform Console Management Driver ConPlatformDxe
...
Shell> devices
T D
Y C I
P F A
CTRL E G G #P #D #C Device Name
==== = = = == == === =========================================================
15 R - - 0 1 1 VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)
...
Thanks,
-Takahiro Akashi
> Alex
>
More information about the U-Boot
mailing list