acrn-hypervisor/misc/config_tools/board_inspector
Junjie Mao 04602949fe board_inspector: fix the invocation to rdmsr
Commit 0cbcdbd7c ("board_inspector: use executables found under system
paths") unintendedly changes how acpi.py invokes `rdmsr` and that impacts
the type of the execution results and causes incompatible method calls when
the results are parsed.

Convert the invocation back to shell-style.

Fixes: 0cbcdbd7c ("board_inspector: use executables found under system paths")
Tracked-On: #8315
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2022-11-22 15:01:27 +08:00
..
acpiparser Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
cpuparser board_inspector: use executables found under system paths 2022-11-16 14:12:36 +08:00
extractors misc: configurator: Config usb mediator devices in dropdown list 2022-05-07 17:37:03 +08:00
inspectorlib board_inspector: use executables found under system paths 2022-11-16 14:12:36 +08:00
legacy board_inspector: fix the invocation to rdmsr 2022-11-22 15:01:27 +08:00
memmapparser Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
pcieparser board_inspector: parse SR-IOV capability structure properly 2022-04-18 14:58:58 +08:00
schema config_tools: add BIOS invalid setting check 2022-03-30 09:43:31 +08:00
smbiosparser Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
board_inspector.py board_inspector: use executables found under system paths 2022-11-16 14:12:36 +08:00
README config-tools: remove 'nomwait' from board_inspector's requirement 2022-04-30 17:06:23 +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 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: "iomem=relaxed intel_idle.max_cstate=0 intel_pstate=disable" or
			"idle=nomwait iomem=relaxed intel_idle.max_cstate=0 intel_pstate=disable" for Apollo Lake