File tree Expand file tree Collapse file tree 3 files changed +31
-1
lines changed
tests/drivers/build_all/virtio Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 77/ {
88 chosen {
99 zephyr,entropy = &virtio_entropy;
10+ zephyr,console = &virtio_console;
1011 };
1112};
1213
1819 status = "okay";
1920 };
2021};
22+
23+ &virtio_mmio1 {
24+ status = "okay";
25+
26+ virtio_console: virtio_console {
27+ compatible = "virtio,console";
28+ status = "okay";
29+ };
30+ };
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2024 Antmicro <www.antmicro.com>
2+ * Copyright (c) 2024-2025 Antmicro <www.antmicro.com>
33 *
44 * SPDX-License-Identifier: Apache-2.0
55 */
66
77/ {
88 chosen {
9+ zephyr,console = &virtio_console;
910 zephyr,entropy = &virtio_entropy;
1011 };
1112};
2324 status = "okay";
2425 };
2526
27+ virtio_console_pci: virtio_console_pci {
28+ compatible = "virtio,pci";
29+
30+ vendor-id = <0x1af4>;
31+ device-id = <0x1003>;
32+
33+ interrupts = <0xb 0x0 0x0>;
34+ interrupt-parent = <&intc>;
35+
36+ virtio_console: virtio_console {
37+ compatible = "virtio,console";
38+ status = "okay";
39+ };
40+ };
41+
2642 virtio_entropy: virtio_entropy {
2743 compatible = "virtio,pci";
2844
Original file line number Diff line number Diff line change 11CONFIG_TEST=y
22CONFIG_VIRTIO=y
33CONFIG_HEAP_MEM_POOL_SIZE=1024
4+ CONFIG_BOOT_BANNER=n
5+ CONFIG_EARLY_CONSOLE=n
6+ CONFIG_X86_VERY_EARLY_CONSOLE=n
7+ CONFIG_UART_VIRTIO_CONSOLE_F_MULTIPORT=y
48CONFIG_ENTROPY_GENERATOR=y
You can’t perform that action at this time.
0 commit comments