mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-03 04:39:50 +00:00
This patch reorganize the files of the board inspector as follows. 1. Rename the directory name from `target` to `board_inspector`, in order to align with the name used in ACRN documentation. 2. Move the scripts that generate the current board XML into the `legacy` sub-directory. The legacy nodes will be removed after transitioning to the new board XML schema completely, 3. Add the main script `cli.py` which is the command line interface of the board inspector. v1 -> v2: - Rename `run.py` to `cli.py`. Tracked-On: #5922 Signed-off-by: Junjie Mao <junjie.mao@intel.com>
14 lines
792 B
Plaintext
14 lines
792 B
Plaintext
board_parser.py will collect all board related info and then generate a board info file for acrn-config host tool usage.
|
|
|
|
usage: python3 run.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+ or ClearLinux 30210+
|
|
Tools: cpuid, rdmsr, lspci, dmidecode
|
|
kernel cmdline: "idle=nomwait intel_idle.max_cstate=0 intel_pstate=disable"
|