mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-18 11:47:30 +00:00
Currently, MMIO PCI BDF of ttyS was indexed by IRQ, but it may found the wrong BDF when the IRQ was shared and it is not expected. So, the patch uses the MMIO base to query /proc/iomem to find BDF, the waring will get if BDF is not present in iomem. Tracked-On: #4862 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com> |
||
---|---|---|
.. | ||
acpi.py | ||
board_parser.py | ||
clos.py | ||
dmar.py | ||
dmi.py | ||
misc.py | ||
parser_lib.py | ||
pci_dev.py | ||
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"