]> git.ipfire.org Git - thirdparty/u-boot.git/commit
efi_loader: provide tool to dump SMBIOS table
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 3 Jan 2024 08:07:21 +0000 (09:07 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 9 Jan 2024 09:09:15 +0000 (10:09 +0100)
commit8aec7031112eba0dbfc8f23f9be11c081ea5cc56
tree031a2f88015827904d5575205ab0825cc79c71b3
parentefe441a0a3ad852b7f6921898775ed57f83f15d9
efi_loader: provide tool to dump SMBIOS table

An EFI binary smbiosdump.efi is provided that can be used to check the
SMBIOS table for consistency and to dump it as a file.

The tool provides the following commands:

check
    Check the SMBIOS table for consistency.

exit
    Leave the tool.

help
    Show available commands.

save
    Save the SMBIOS table to a file on the EFI system partition. The file
    can be further analyzed with the dmidecode command line tool::

        dmidecode --from-dump <filename>

Specifying 'nocolor' as load option data suppresses colored output and
clearing of the screen.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/Makefile
lib/efi_loader/smbiosdump.c [new file with mode: 0644]