[PATCH v3 0/2] efi_loader: provide tool to dump SMBIOS table

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Wed Jan 3 09:07:19 CET 2024


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.

As a prerequisite remove superfluous include from smbios.h.

v3:
	rename the tool
	restructure the code
	catch missing load option argument
v2:
	remove dm/ofnode.h from smbios.h
	fix a wrong variable usage on dmidump.efi

Heinrich Schuchardt (2):
  smbios: smbios.h should not import ofnode.h
  efi_loader: provide tool to dump SMBIOS table

 include/smbios.h            |   6 +-
 lib/efi_loader/Makefile     |   7 +
 lib/efi_loader/efi_smbios.c |   3 +
 lib/efi_loader/smbiosdump.c | 622 ++++++++++++++++++++++++++++++++++++
 lib/smbios-parser.c         |   3 +
 5 files changed, 636 insertions(+), 5 deletions(-)
 create mode 100644 lib/efi_loader/smbiosdump.c

-- 
2.43.0



More information about the U-Boot mailing list