acrn-hypervisor/misc/config_tools/board_inspector
jackwhich c4d0eb3395 config-tools: update board inspector to update pci.ids before fetching PCI information
Add lspci -q Query PCI ID database via DNS for unknown ID‘s

Tracked-On: #7086
Signed-off-by: zhongzhenx.liu <zhongzhenx.liu@intel.com>
2022-02-17 14:59:52 +08:00
..
acpiparser config_tools: category based on different log levels 2022-02-17 14:49:25 +08:00
cpuparser config_tools: category based on different log levels 2022-02-17 14:49:25 +08:00
extractors config_tools: category based on different log levels 2022-02-17 14:49:25 +08:00
inspectorlib deb-pkg: add acrn-hypervisor and acrn-board-inspector into debian package 2021-11-02 15:31:18 +08:00
legacy config-tools: update board inspector to update pci.ids before fetching PCI information 2022-02-17 14:59:52 +08:00
memmapparser board_inspector/memmapparser: add parser of e820 memory maps 2021-05-16 19:02:00 +08:00
pcieparser config_tools: skip directories without a "config" file 2022-01-24 15:38:39 +08:00
smbiosparser config_tools: category based on different log levels 2022-02-17 14:49:25 +08:00
README doc: add iomem kernel parameter for board inspector 2021-09-24 11:40:24 -07:00
board_inspector.py config-tools: update board inspector to update pci.ids before fetching PCI information 2022-02-17 14:59:52 +08:00

README

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"