acrn-hypervisor/misc/acrn-config/target
Wei Liu 911be1d3b6 acrn-config: modify rootfs tag in board information
1. grap 'ext4' rootfs, and store it as "BLOCK_DEVICE_INFO" tag
2. remove 'Tab' from app tools
3. add support to parse ' ' from scenario xml

v1-v2:
    1). modify the board info "ROOT_DEVICE_INFO" -> "BLOCK_DEVICE_INFO"

Tracked-On: #3602
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Terry Zou <terry.zou@intel.com>
2019-09-20 14:39:48 +08:00
..
README
acpi.py acrn-config: generate a scenario patch and apply to acrn-hypervisor 2019-09-16 09:34:37 +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 a scenario patch and apply to acrn-hypervisor 2019-09-16 09:34:37 +08:00
dmar.py acrn-config: enhance the target config 2019-09-16 09:34:37 +08:00
dmi.py acrn-config: enhance the target config 2019-09-16 09:34:37 +08:00
misc.py acrn-config: modify rootfs tag in board information 2019-09-20 14:39:48 +08:00
parser_lib.py acrn-config: modify rootfs tag in board information 2019-09-20 14:39:48 +08:00
pci_dev.py acrn-config: enhance the target config 2019-09-16 09:34:37 +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_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"