Skip to content

Commit 6e12287

Browse files
Wei Liuwenlingz
authored andcommitted
acrn-config: add xmls for acrn-config tools
1. add $(board) xmls which generate by acrn-config/target acrn-config/target/board_parser.py will generate native board information and store to $(board).xml then, acrn-config/board_config/board_cfg_gen.py will use the xml to generate hypervisor/arch/x86/configs/$(board)/ source file and apply to the local acrn-hypervisor 2. add $(scenario) xmls for acrn-config/scenario_config to config scenario acrn-config/scenario_config/scenario_cfg_gen.py will parse scenario xmls and generate hypervisor/scenarios/$(scenario) source file and apply to the local acrn-hypervisor Tracked-On: #3602 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com> Acked-by: Terry Zou <terry.zou@intel.com>
1 parent 8a16d8b commit 6e12287

29 files changed

+3749
-0
lines changed

misc/acrn-config/xmls/board-xmls/apl-mrb.xml

Lines changed: 320 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 298 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,298 @@
1+
<acrn-config board="apl-up2">
2+
<BIOS_INFO>
3+
BIOS Information
4+
Vendor: American Megatrends Inc.
5+
Version: UPA1AM40
6+
Release Date: 08/06/2018
7+
BIOS Revision: 5.12
8+
</BIOS_INFO>
9+
10+
<BASE_BOARD_INFO>
11+
Base Board Information
12+
Manufacturer: AAEON
13+
Product Name: UP-APL01
14+
Version: V0.4
15+
</BASE_BOARD_INFO>
16+
17+
<PCI_DEVICE>
18+
00:00.0 Host bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Host Bridge (rev 0b)
19+
00:02.0 VGA compatible controller: Intel Corporation Device 5a85 (rev 0b)
20+
Region 0: Memory at 90000000 (64-bit, non-prefetchable) [size=16M]
21+
Region 2: Memory at 80000000 (64-bit, prefetchable) [size=256M]
22+
00:0e.0 Multimedia audio controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster (rev 0b)
23+
Region 0: Memory at 91510000 (64-bit, non-prefetchable) [size=16K]
24+
Region 4: Memory at 91200000 (64-bit, non-prefetchable) [size=1M]
25+
00:0f.0 Communication controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Trusted Execution Engine (rev 0b)
26+
Region 0: Memory at 9153c000 (64-bit, non-prefetchable) [size=4K]
27+
00:12.0 SATA controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SATA AHCI Controller (rev 0b)
28+
Region 0: Memory at 91514000 (32-bit, non-prefetchable) [size=8K]
29+
Region 1: Memory at 91539000 (32-bit, non-prefetchable) [size=256]
30+
Region 5: Memory at 91538000 (32-bit, non-prefetchable) [size=2K]
31+
00:13.0 PCI bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A #1 (rev fb)
32+
00:13.1 PCI bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A #2 (rev fb)
33+
00:13.2 PCI bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A #3 (rev fb)
34+
00:13.3 PCI bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A #4 (rev fb)
35+
00:14.0 PCI bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port B #1 (rev fb)
36+
00:14.1 PCI bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port B #2 (rev fb)
37+
00:15.0 USB controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series USB xHCI (rev 0b)
38+
Region 0: Memory at 91500000 (64-bit, non-prefetchable) [size=64K]
39+
00:15.1 USB controller: Intel Corporation Device 5aaa (rev 0b)
40+
Region 0: Memory at 91000000 (64-bit, non-prefetchable) [size=2M]
41+
Region 2: Memory at 91537000 (64-bit, non-prefetchable) [size=4K]
42+
00:16.0 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #1 (rev 0b)
43+
Region 0: Memory at 91536000 (64-bit, non-prefetchable) [size=4K]
44+
Region 2: Memory at 91535000 (64-bit, non-prefetchable) [size=4K]
45+
00:16.1 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #2 (rev 0b)
46+
Region 0: Memory at 91534000 (64-bit, non-prefetchable) [size=4K]
47+
Region 2: Memory at 91533000 (64-bit, non-prefetchable) [size=4K]
48+
00:16.2 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #3 (rev 0b)
49+
Region 0: Memory at 91532000 (64-bit, non-prefetchable) [size=4K]
50+
Region 2: Memory at 91531000 (64-bit, non-prefetchable) [size=4K]
51+
00:16.3 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #4 (rev 0b)
52+
Region 0: Memory at 91530000 (64-bit, non-prefetchable) [size=4K]
53+
Region 2: Memory at 9152f000 (64-bit, non-prefetchable) [size=4K]
54+
00:17.0 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #5 (rev 0b)
55+
Region 0: Memory at 9152e000 (64-bit, non-prefetchable) [size=4K]
56+
Region 2: Memory at 9152d000 (64-bit, non-prefetchable) [size=4K]
57+
00:17.1 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #6 (rev 0b)
58+
Region 0: Memory at 9152c000 (64-bit, non-prefetchable) [size=4K]
59+
Region 2: Memory at 9152b000 (64-bit, non-prefetchable) [size=4K]
60+
00:17.2 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #7 (rev 0b)
61+
Region 0: Memory at 9152a000 (64-bit, non-prefetchable) [size=4K]
62+
Region 2: Memory at 91529000 (64-bit, non-prefetchable) [size=4K]
63+
00:17.3 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #8 (rev 0b)
64+
Region 0: Memory at 91528000 (64-bit, non-prefetchable) [size=4K]
65+
Region 2: Memory at 91527000 (64-bit, non-prefetchable) [size=4K]
66+
00:18.0 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller #1 (rev 0b)
67+
Region 0: Memory at 91526000 (64-bit, non-prefetchable) [size=4K]
68+
Region 2: Memory at 91525000 (64-bit, non-prefetchable) [size=4K]
69+
00:18.1 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller #2 (rev 0b)
70+
Region 0: Memory at 91524000 (64-bit, non-prefetchable) [size=4K]
71+
Region 2: Memory at 91523000 (64-bit, non-prefetchable) [size=4K]
72+
00:19.0 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller #1 (rev 0b)
73+
Region 0: Memory at 91522000 (64-bit, non-prefetchable) [size=4K]
74+
Region 2: Memory at 91521000 (64-bit, non-prefetchable) [size=4K]
75+
00:19.1 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller #2 (rev 0b)
76+
Region 0: Memory at 91520000 (64-bit, non-prefetchable) [size=4K]
77+
Region 2: Memory at 9151f000 (64-bit, non-prefetchable) [size=4K]
78+
00:19.2 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller #3 (rev 0b)
79+
Region 0: Memory at 9151e000 (64-bit, non-prefetchable) [size=4K]
80+
Region 2: Memory at 9151d000 (64-bit, non-prefetchable) [size=4K]
81+
00:1a.0 Serial bus controller [0c80]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PWM Pin Controller (rev 0b)
82+
Region 0: Memory at 9151c000 (64-bit, non-prefetchable) [size=4K]
83+
Region 2: Memory at 9151b000 (64-bit, non-prefetchable) [size=4K]
84+
00:1c.0 SD Host controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series eMMC Controller (rev 0b)
85+
Region 0: Memory at 9151a000 (64-bit, non-prefetchable) [size=4K]
86+
Region 2: Memory at 91519000 (64-bit, non-prefetchable) [size=4K]
87+
00:1e.0 SD Host controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SDIO Controller (rev 0b)
88+
Region 0: Memory at 91518000 (64-bit, non-prefetchable) [size=4K]
89+
Region 2: Memory at 91517000 (64-bit, non-prefetchable) [size=4K]
90+
00:1f.0 ISA bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Low Pin Count Interface (rev 0b)
91+
00:1f.1 SMBus: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SMBus Controller (rev 0b)
92+
Region 0: Memory at 91516000 (64-bit, non-prefetchable) [size=256]
93+
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
94+
Region 2: Memory at 91404000 (64-bit, non-prefetchable) [size=4K]
95+
Region 4: Memory at 91400000 (64-bit, prefetchable) [size=16K]
96+
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
97+
Region 2: Memory at 91304000 (64-bit, non-prefetchable) [size=4K]
98+
Region 4: Memory at 91300000 (64-bit, prefetchable) [size=16K]
99+
</PCI_DEVICE>
100+
101+
<PCI_VID_PID>
102+
00:00.0 0600: 8086:5af0 (rev 0b)
103+
00:02.0 0300: 8086:5a85 (rev 0b)
104+
00:0e.0 0401: 8086:5a98 (rev 0b)
105+
00:0f.0 0780: 8086:5a9a (rev 0b)
106+
00:12.0 0106: 8086:5ae3 (rev 0b)
107+
00:13.0 0604: 8086:5ad8 (rev fb)
108+
00:13.1 0604: 8086:5ad9 (rev fb)
109+
00:13.2 0604: 8086:5ada (rev fb)
110+
00:13.3 0604: 8086:5adb (rev fb)
111+
00:14.0 0604: 8086:5ad6 (rev fb)
112+
00:14.1 0604: 8086:5ad7 (rev fb)
113+
00:15.0 0c03: 8086:5aa8 (rev 0b)
114+
00:15.1 0c03: 8086:5aaa (rev 0b)
115+
00:16.0 1180: 8086:5aac (rev 0b)
116+
00:16.1 1180: 8086:5aae (rev 0b)
117+
00:16.2 1180: 8086:5ab0 (rev 0b)
118+
00:16.3 1180: 8086:5ab2 (rev 0b)
119+
00:17.0 1180: 8086:5ab4 (rev 0b)
120+
00:17.1 1180: 8086:5ab6 (rev 0b)
121+
00:17.2 1180: 8086:5ab8 (rev 0b)
122+
00:17.3 1180: 8086:5aba (rev 0b)
123+
00:18.0 1180: 8086:5abc (rev 0b)
124+
00:18.1 1180: 8086:5abe (rev 0b)
125+
00:19.0 1180: 8086:5ac2 (rev 0b)
126+
00:19.1 1180: 8086:5ac4 (rev 0b)
127+
00:19.2 1180: 8086:5ac6 (rev 0b)
128+
00:1a.0 0c80: 8086:5ac8 (rev 0b)
129+
00:1c.0 0805: 8086:5acc (rev 0b)
130+
00:1e.0 0805: 8086:5ad0 (rev 0b)
131+
00:1f.0 0601: 8086:5ae8 (rev 0b)
132+
00:1f.1 0c05: 8086:5ad4 (rev 0b)
133+
02:00.0 0200: 10ec:8168 (rev 0c)
134+
03:00.0 0200: 10ec:8168 (rev 0c)
135+
</PCI_VID_PID>
136+
137+
<WAKE_VECTOR_INFO>
138+
#define WAKE_VECTOR_32 0x79CB308CUL
139+
#define WAKE_VECTOR_64 0x79CB3098UL
140+
</WAKE_VECTOR_INFO>
141+
142+
<RESET_REGISTER_INFO>
143+
#define RESET_REGISTER_ADDRESS 0xCF9UL
144+
#define RESET_REGISTER_SPACE_ID SPACE_SYSTEM_IO
145+
#define RESET_REGISTER_VALUE 0x6U
146+
</RESET_REGISTER_INFO>
147+
148+
<PM_INFO>
149+
#define PM1A_EVT_SPACE_ID SPACE_SYSTEM_IO
150+
#define PM1A_EVT_BIT_WIDTH 0x20U
151+
#define PM1A_EVT_BIT_OFFSET 0x0U
152+
#define PM1A_EVT_ADDRESS 0x400UL
153+
#define PM1A_EVT_ACCESS_SIZE 0x2U
154+
#define PM1B_EVT_SPACE_ID SPACE_SYSTEM_IO
155+
#define PM1B_EVT_BIT_WIDTH 0x0U
156+
#define PM1B_EVT_BIT_OFFSET 0x0U
157+
#define PM1B_EVT_ADDRESS 0x0UL
158+
#define PM1B_EVT_ACCESS_SIZE 0x2U
159+
#define PM1A_CNT_SPACE_ID SPACE_SYSTEM_IO
160+
#define PM1A_CNT_BIT_WIDTH 0x10U
161+
#define PM1A_CNT_BIT_OFFSET 0x0U
162+
#define PM1A_CNT_ADDRESS 0x404UL
163+
#define PM1A_CNT_ACCESS_SIZE 0x2U
164+
#define PM1B_CNT_SPACE_ID SPACE_SYSTEM_IO
165+
#define PM1B_CNT_BIT_WIDTH 0x0U
166+
#define PM1B_CNT_BIT_OFFSET 0x0U
167+
#define PM1B_CNT_ADDRESS 0x0UL
168+
#define PM1B_CNT_ACCESS_SIZE 0x2U
169+
</PM_INFO>
170+
171+
<S3_INFO>
172+
#define S3_PKG_VAL_PM1A 0x5U
173+
#define S3_PKG_VAL_PM1B 0U
174+
#define S3_PKG_RESERVED 0x0U
175+
</S3_INFO>
176+
177+
<S5_INFO>
178+
#define S5_PKG_VAL_PM1A 0x7U
179+
#define S5_PKG_VAL_PM1B 0U
180+
#define S5_PKG_RESERVED 0x0U
181+
</S5_INFO>
182+
183+
<DRHD_INFO>
184+
#define DRHD_COUNT 2U
185+
#define DRHD0_DEV_CNT 1U
186+
#define DRHD0_SEGMENT 0U
187+
#define DRHD0_FLAGS 0U
188+
#define DRHD0_REG_BASE 0xFED64000UL
189+
#define DRHD0_IGNORE false
190+
#define DRHD0_DEVSCOPE0_BUS 0x0U
191+
#define DRHD0_DEVSCOPE0_PATH 0x10U
192+
#define DRHD0_DEVSCOPE1_BUS 0x0U
193+
#define DRHD0_DEVSCOPE1_PATH 0x0U
194+
#define DRHD0_DEVSCOPE2_BUS 0x0U
195+
#define DRHD0_DEVSCOPE2_PATH 0x0U
196+
#define DRHD0_DEVSCOPE3_BUS 0x0U
197+
#define DRHD0_DEVSCOPE3_PATH 0x0U
198+
#define DRHD1_DEV_CNT 2U
199+
#define DRHD1_SEGMENT 0U
200+
#define DRHD1_FLAGS 1U
201+
#define DRHD1_REG_BASE 0xFED65000UL
202+
#define DRHD1_IGNORE false
203+
#define DRHD1_DEVSCOPE0_BUS 0xfaU
204+
#define DRHD1_DEVSCOPE0_PATH 0xf8U
205+
#define DRHD1_DEVSCOPE1_BUS 0x0U
206+
#define DRHD1_DEVSCOPE1_PATH 0xffU
207+
#define DRHD1_DEVSCOPE2_BUS 0x0U
208+
#define DRHD1_DEVSCOPE2_PATH 0x0U
209+
#define DRHD1_DEVSCOPE3_BUS 0x0U
210+
#define DRHD1_DEVSCOPE3_PATH 0x0U
211+
#define DRHD1_IOAPIC_ID 1U
212+
#define DRHD2_DEV_CNT 0U
213+
#define DRHD2_SEGMENT 0U
214+
#define DRHD2_FLAGS 0U
215+
#define DRHD2_REG_BASE 0x00UL
216+
#define DRHD2_IGNORE false
217+
#define DRHD2_DEVSCOPE0_BUS 0x0U
218+
#define DRHD2_DEVSCOPE0_PATH 0x0U
219+
#define DRHD2_DEVSCOPE1_BUS 0x0U
220+
#define DRHD2_DEVSCOPE1_PATH 0x0U
221+
#define DRHD2_DEVSCOPE2_BUS 0x0U
222+
#define DRHD2_DEVSCOPE2_PATH 0x0U
223+
#define DRHD2_DEVSCOPE3_BUS 0x0U
224+
#define DRHD2_DEVSCOPE3_PATH 0x0U
225+
#define DRHD3_DEV_CNT 0U
226+
#define DRHD3_SEGMENT 0U
227+
#define DRHD3_FLAGS 0U
228+
#define DRHD3_REG_BASE 0x00UL
229+
#define DRHD3_IGNORE false
230+
#define DRHD3_DEVSCOPE0_BUS 0x0U
231+
#define DRHD3_DEVSCOPE0_PATH 0x0U
232+
#define DRHD3_DEVSCOPE1_BUS 0x0U
233+
#define DRHD3_DEVSCOPE1_PATH 0x0U
234+
#define DRHD3_DEVSCOPE2_BUS 0x0U
235+
#define DRHD3_DEVSCOPE2_PATH 0x0U
236+
#define DRHD3_DEVSCOPE3_BUS 0x0U
237+
#define DRHD3_DEVSCOPE3_PATH 0x0U
238+
</DRHD_INFO>
239+
240+
<CPU_BRAND>
241+
"Intel(R) Celeron(R) CPU N3350 @ 1.10GHz"
242+
</CPU_BRAND>
243+
244+
<CX_INFO>
245+
{{SPACE_FFixedHW, 0x00U, 0x00U, 0x00U, 0x00UL}, 0x01U, 0x01U, 0x00U}, /* C1 */
246+
{{SPACE_SYSTEM_IO, 0x08U, 0x00U, 0x00U, 0x415UL}, 0x02U, 0x32U, 0x00U}, /* C2 */
247+
{{SPACE_SYSTEM_IO, 0x08U, 0x00U, 0x00U, 0x419UL}, 0x03U, 0x96U, 0x00U}, /* C3 */
248+
</CX_INFO>
249+
250+
<PX_INFO>
251+
{0x44DUL, 0x00UL, 0x0AUL, 0x0AUL, 0x001800UL, 0x001800UL}, /* P0 */
252+
{0x44CUL, 0x00UL, 0x0AUL, 0x0AUL, 0x000B00UL, 0x000B00UL}, /* P1 */
253+
{0x3E8UL, 0x00UL, 0x0AUL, 0x0AUL, 0x000A00UL, 0x000A00UL}, /* P2 */
254+
{0x384UL, 0x00UL, 0x0AUL, 0x0AUL, 0x000900UL, 0x000900UL}, /* P3 */
255+
{0x320UL, 0x00UL, 0x0AUL, 0x0AUL, 0x000800UL, 0x000800UL}, /* P4 */
256+
</PX_INFO>
257+
258+
<CLOS_INFO>
259+
clos supported by cache:L2
260+
clos max:4
261+
</CLOS_INFO>
262+
263+
<SYSTEM_RAM_INFO>
264+
00001000-0003efff : System RAM
265+
00040000-0009dfff : System RAM
266+
00100000-0fffffff : System RAM
267+
12151000-7074c017 : System RAM
268+
7074c018-7075c057 : System RAM
269+
7075c058-77b30fff : System RAM
270+
7a09d000-7a40afff : System RAM
271+
7a426000-7a964fff : System RAM
272+
7a967000-7affffff : System RAM
273+
100000000-17fffffff : System RAM
274+
</SYSTEM_RAM_INFO>
275+
276+
<ROOT_DEVICE_INFO>
277+
/dev/mmcblk0p3: UUID="bb0d14f3-e780-41d9-bcca-6f3ef493216c" TYPE="ext4" PARTLABEL="primary" PARTUUID="87cd7180-6c0b-4bc9-a0d0-5406a95988cc"
278+
/dev/sda3: TYPE="ext4"
279+
</ROOT_DEVICE_INFO>
280+
281+
<TTYS_INFO>
282+
BDF:(00:18.0) seri:/dev/ttyS0 base:0x91526000 irq:4
283+
BDF:(00:18.1) seri:/dev/ttyS1 base:0x91524000 irq:5
284+
</TTYS_INFO>
285+
286+
<AVAILABLE_IRQ_INFO>
287+
3, 6, 7, 10, 11, 12, 13, 15
288+
</AVAILABLE_IRQ_INFO>
289+
290+
<TOTAL_MEM_INFO>
291+
3874760 kB
292+
</TOTAL_MEM_INFO>
293+
294+
<CPU_PROCESSOR_INFO>
295+
0, 1
296+
</CPU_PROCESSOR_INFO>
297+
298+
</acrn-config>

0 commit comments

Comments
 (0)