Skip to content

Commit 8adefe2

Browse files
Wei Liuacrnsi
authored andcommitted
acrn-config: generate board information on target board
These tools run on the target board and genearate board information. usage: python3 board_parser.py <board_name> [--out board_info_file] sample: $ sudo python3 board_parser.py apl-up2 v1-v2: 1. allow board parameter for new board v2-v3: 1. add the usage descriptions for tools 2. add description of kernel cmd line for README 3. output informations to a xml type 4. coding as PEP8 guildline Tracked-On: #3480 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Reviewed-by: Shuang Zheng shuang.zheng@intel.com Acked-by: Terry Zou <terry.zou@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
1 parent 107c406 commit 8adefe2

File tree

8 files changed

+1275
-0
lines changed

8 files changed

+1275
-0
lines changed

misc/acrn-config/target/README

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
board_parser.py will collect all board related info and then generate a board info file for acrn-config host tool usage.
2+
3+
usage: python3 board_parser.py <board_name> [--out board_info_file]
4+
5+
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.
6+
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.
7+
8+
Please run this script under native Linux environment with root privilege.
9+
10+
OS requirement:
11+
Release: Ubuntu 18.04+ or ClearLinux 30210+
12+
Tools: cpuid, rdmsr, lspci, dmidecode
13+
kernel cmdline: "idle=nomwait intel_idle.max_cstate=0 intel_pstate=disable"

0 commit comments

Comments
 (0)