acrn-hypervisor/misc/config_tools/board_inspector
Yonghua Huang 9facbb43b3 config-tool: rename PSRARM to SSRAM
'psram' and 'PSRAM' are legacy names and replaced
  with 'ssram' and 'SSRAM' respectively.

Tracked-On: #6012
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Reviewed-by: Shuang Zheng <shuang.zheng@intel.com>
2021-05-17 14:31:42 +08:00
..
acpiparser board_inspector/acpiparser: add DSDT/SSDT parser 2021-05-16 19:02:00 +08:00
cpuparser board_inspector/cpuparser: add CPUID parsers 2021-05-16 19:02:00 +08:00
extractors board_inspector/extractors: extract device information 2021-05-16 19:02:00 +08:00
legacy config-tool: rename PSRARM to SSRAM 2021-05-17 14:31:42 +08:00
lib board_inspector/acpiparser: add DSDT/SSDT parser 2021-05-16 19:02:00 +08:00
memmapparser board_inspector/memmapparser: add parser of e820 memory maps 2021-05-16 19:02:00 +08:00
pcieparser board_inspector/extractors: extract device information 2021-05-16 19:02:00 +08:00
smbiosparser board_inspector/smbiosparser: add SMBIOS table parsers 2021-05-16 19:02:00 +08:00
cli.py board_inspector/extractors: framework to support extractors 2021-05-16 19:02:00 +08:00
README board-inspector: reorganize the scripts 2021-05-16 19:02:00 +08:00

board_parser.py will collect all board related info and then generate a board info file for acrn-config host tool usage.

usage: python3 run.py <board_name> [--out board_info_file]

board_name : the name of board that run ACRN hypervisor, like apl-up2/nuc7i7dnb. It will be used as name of the board configurations folder which created by acrn-config host tool.
board_info_file : (optional) the name of board info file. if it is not specified, a name of <board_name>.xml will be generated under the current working directory by default.

Please run this script under native Linux environment with root privilege.

OS requirement:
	Release:	Ubuntu 18.04+ or ClearLinux 30210+
	Tools:		cpuid, rdmsr, lspci, dmidecode
	kernel cmdline: "idle=nomwait intel_idle.max_cstate=0 intel_pstate=disable"