mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:04:51 +01:00
kunit: qemu_configs: Add 32-bit big endian ARM configuration
Add a basic config to run kunit tests on 32-bit big endian ARM. Link: https://lore.kernel.org/r/20260102-kunit-armeb-v1-1-e8e5475d735c@linutronix.de Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Reviewed-by: David Gow <davidgow@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
parent
85aff81b0d
commit
ab150c2bba
1 changed files with 16 additions and 0 deletions
16
tools/testing/kunit/qemu_configs/armeb.py
Normal file
16
tools/testing/kunit/qemu_configs/armeb.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
from ..qemu_config import QemuArchParams
|
||||
|
||||
QEMU_ARCH = QemuArchParams(linux_arch='arm',
|
||||
kconfig='''
|
||||
CONFIG_CPU_BIG_ENDIAN=y
|
||||
CONFIG_ARCH_VIRT=y
|
||||
CONFIG_SERIAL_AMBA_PL010=y
|
||||
CONFIG_SERIAL_AMBA_PL010_CONSOLE=y
|
||||
CONFIG_SERIAL_AMBA_PL011=y
|
||||
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y''',
|
||||
qemu_arch='arm',
|
||||
kernel_path='arch/arm/boot/zImage',
|
||||
kernel_command_line='console=ttyAMA0',
|
||||
extra_qemu_params=['-machine', 'virt'])
|
||||
Loading…
Add table
Add a link
Reference in a new issue