acrn-hypervisor/misc/config_tools/board_inspector
Yang,Yu-chu 30951f7a83 hv: rename CONFIG_GPU_SBDF to CONFIG_IGD_SBDF
The name CONFIG_IGD_SBDF indicates the bdf of an integrated GPU on platform.

Tracked-On: #6855
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
2021-11-28 14:23:29 +08:00
..
acpiparser deb-pkg: add acrn-hypervisor and acrn-board-inspector into debian package 2021-11-02 15:31:18 +08:00
cpuparser config-tools: remove unused package and add nosec to subprocess 2021-08-13 16:11:42 +08:00
extractors board_inspector: add _CID to vACPI device objects 2021-10-21 12:58:43 +08:00
inspectorlib deb-pkg: add acrn-hypervisor and acrn-board-inspector into debian package 2021-11-02 15:31:18 +08:00
legacy hv: rename CONFIG_GPU_SBDF to CONFIG_IGD_SBDF 2021-11-28 14:23:29 +08:00
memmapparser board_inspector/memmapparser: add parser of e820 memory maps 2021-05-16 19:02:00 +08:00
pcieparser deb-pkg: add acrn-hypervisor and acrn-board-inspector into debian package 2021-11-02 15:31:18 +08:00
smbiosparser deb-pkg: add acrn-hypervisor and acrn-board-inspector into debian package 2021-11-02 15:31:18 +08:00
board_inspector.py config_tools: fix crash in board_inspector if cpuid is missing 2021-10-27 10:17:31 +08:00
README doc: add iomem kernel parameter for board inspector 2021-09-24 11:40:24 -07: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 board_inspector.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+
	Tools:		cpuid, rdmsr, lspci, lxml, dmidecode (optional)
	kernel cmdline: "idle=nomwait iomem=relaxed intel_idle.max_cstate=0 intel_pstate=disable"