We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a571a9a commit 9aa08e7Copy full SHA for 9aa08e7
tools/testing/kunit/qemu_configs/riscv32.py
@@ -0,0 +1,17 @@
1
+# SPDX-License-Identifier: GPL-2.0
2
+
3
+from ..qemu_config import QemuArchParams
4
5
+QEMU_ARCH = QemuArchParams(linux_arch='riscv',
6
+ kconfig='''
7
+CONFIG_NONPORTABLE=y
8
+CONFIG_ARCH_RV32I=y
9
+CONFIG_ARCH_VIRT=y
10
+CONFIG_SERIAL_8250=y
11
+CONFIG_SERIAL_8250_CONSOLE=y
12
+CONFIG_SERIAL_OF_PLATFORM=y
13
+''',
14
+ qemu_arch='riscv32',
15
+ kernel_path='arch/riscv/boot/Image',
16
+ kernel_command_line='console=ttyS0',
17
+ extra_qemu_params=['-machine', 'virt'])
0 commit comments