mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 09:41:03 +02:00
Add a basic configuration to run kunit tests on or1k / openrisc. Link: https://lore.kernel.org/r/20260427-kunit-or1k-v1-2-9d3109e991e8@weissschuh.net Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Reviewed-by: David Gow <david@davidgow.net> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
19 lines
478 B
Python
19 lines
478 B
Python
# SPDX-License-Identifier: GPL-2.0-only
|
|
from ..qemu_config import QemuArchParams
|
|
|
|
QEMU_ARCH = QemuArchParams(linux_arch='openrisc',
|
|
kconfig='''
|
|
CONFIG_SERIAL_8250=y
|
|
CONFIG_SERIAL_8250_CONSOLE=y
|
|
CONFIG_SERIAL_OF_PLATFORM=y
|
|
CONFIG_POWER_RESET=y
|
|
CONFIG_POWER_RESET_SYSCON=y
|
|
''',
|
|
qemu_arch='or1k',
|
|
kernel_path='vmlinux',
|
|
kernel_command_line='console=ttyS0',
|
|
extra_qemu_params=[
|
|
'-machine', 'virt',
|
|
'-m', '512',
|
|
])
|