board_inspector/smbiosparser: add SMBIOS table parsers

This patch adds a parser of SMBIOS tables. The tables are fetched from
/sys/firmware/dmi/tables on target board. The parser comes from
BITS (https://biosbits.org/) without modifications, except how the raw
SMBIOS tables are read.

Tracked-On: #5922
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
Junjie Mao 2021-04-30 08:39:57 +08:00 committed by wenlingz
parent 3a395bb342
commit b3921137c2
2 changed files with 2288 additions and 0 deletions

View File

@ -0,0 +1,6 @@
# Copyright (C) 2021 Intel Corporation. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
from smbiosparser.smbios import SMBIOS

File diff suppressed because it is too large Load Diff