summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-02-12 14:35:40 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2023-02-12 14:35:40 +0100
commit028cc36cfd70eee5ca4984612edf3342a9989623 (patch)
tree92f8036e6facad1b97cc25dd9eb9714cbd23ca37
parent26bbe51d501070960aed9cb6c7a14f2b7e9c120d (diff)
use qemu for arcv2 testing
-rwxr-xr-xembedded-test.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/embedded-test.sh b/embedded-test.sh
index 8868e78..2814a81 100755
--- a/embedded-test.sh
+++ b/embedded-test.sh
@@ -405,11 +405,14 @@ get_arch_info() {
allowed_libc="uclibc-ng glibc"
runtime_test="uclibc-ng glibc"
allowed_tests="toolchain boot libc ltp mksh native"
- default_uclibc_ng="ADK_APPLIANCE=test ADK_TARGET_OS=$os ADK_TARGET_ARCH=arc ADK_TARGET_FS=initramfspiggyback ADK_TARGET_SYSTEM=synopsys-nsim ADK_TARGET_ENDIAN=little ADK_TARGET_CPU=archs"
- default_glibc="ADK_APPLIANCE=test ADK_TARGET_OS=$os ADK_TARGET_ARCH=arc ADK_TARGET_FS=initramfspiggyback ADK_TARGET_SYSTEM=synopsys-nsim ADK_TARGET_ENDIAN=little ADK_TARGET_CPU=archs"
+ default_uclibc_ng="ADK_APPLIANCE=test ADK_TARGET_OS=$os ADK_TARGET_ARCH=arc ADK_TARGET_FS=initramfspiggyback ADK_TARGET_SYSTEM=qemu-arc ADK_TARGET_ENDIAN=little ADK_TARGET_CPU=archs"
+ default_glibc="ADK_APPLIANCE=test ADK_TARGET_OS=$os ADK_TARGET_ARCH=arc ADK_TARGET_FS=initramfspiggyback ADK_TARGET_SYSTEM=qemu-arc ADK_TARGET_ENDIAN=little ADK_TARGET_CPU=archs"
default_newlib="ADK_APPLIANCE=toolchain ADK_TARGET_OS=baremetal ADK_TARGET_ARCH=arc ADK_TARGET_ENDIAN=little ADK_TARGET_CPU=archs"
- emulator=synopsys-nsim
+ qemu=qemu-system-arc
+ qemu_machine=virt
+ qemu_args="-nographic -monitor none -serial stdio -cpu archs"
cpu_arch=archs
+ march=arc
suffix=${cpu_arch}
piggyback=1
;;