acrn-hypervisor/misc/acrn-config/target
Vijay Dhanraj 9a79443204 acrn-config: Generate target xml and board.c file with MBA RDT resource
This patch adds support for,
1. Storing MBA resource and its max supported clos value
in the target xml file under clos subsection.
2. Generating board.c file with MBA RDT resource.

Tracked-On: #3725
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
2020-03-06 08:52:55 +08:00
..
acpi.py acrn-config: Fix target xml generation issue when no 2019-12-09 11:28:11 +08:00
board_parser.py acrn-config: generate a scenario patch and apply to acrn-hypervisor 2019-09-16 09:34:37 +08:00
clos.py acrn-config: Generate target xml and board.c file with MBA RDT resource 2020-03-06 08:52:55 +08:00
dmar.py acrn-config: set DRHDx_IGNORE while no DEV_SCOPE in DRHD 2019-12-13 13:48:14 +08:00
dmi.py acrn-config: enhance the target config 2019-09-16 09:34:37 +08:00
misc.py Python scripts discovering CPU IDs are off by 1 2020-02-10 11:47:53 +08:00
parser_lib.py acrn-config: by-pass acpi_idle/acpi_cpufreq for parsing target board 2019-11-12 22:03:50 +08:00
pci_dev.py acrn-config: enhance the target config 2019-09-16 09:34:37 +08:00
README acrn-config: generate board information on target board 2019-07-30 16:38: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_parser.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 ./out/ folder 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"