acrn-hypervisor/misc/config_tools/board_inspector
David B. Kinder bd57475854 doc: add iomem kernel parameter for board inspector
Without this ``iomem=relaxed`` kernel parameter, the generated board XML
is essentially the same as having ``--basic`` when executing the board
inspector, i.e. the ACPI namespace will not be parsed. The generated
board XML may still work, but some functionality (e.g. passthru of TPM
and other PCI devices that need INTx) will no longer work due to lack of
hardware information.

Replacing PR #6618

Tracked-On: #5692

Signed-off-by: zhongzhenx.liu <zhongzhenx.liu@intel.com>
Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
2021-09-24 11:40:24 -07:00
..
acpiparser config-tools: add tpm2 acpi parser to board_inspector 2021-08-11 14:45:55 +08:00
cpuparser config-tools: remove unused package and add nosec to subprocess 2021-08-13 16:11:42 +08:00
extractors config-tools: add native log area address 2021-08-13 11:09:01 +08:00
legacy config_tools: remove the log of sucessfully generating board XML 2021-08-23 14:50:23 +08:00
lib board_inspector/acpiparser: add DSDT/SSDT parser 2021-05-16 19:02:00 +08:00
memmapparser
pcieparser board_inspector: resume a device if it is not in D0 2021-08-09 09:05:01 +08:00
smbiosparser board_inspector/smbiosparser: add SMBIOS table parsers 2021-05-16 19:02:00 +08:00
board_inspector.py config_tools: rename python script 2021-08-20 07:58:23 +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"