summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-12-26 10:33:15 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2017-12-26 10:33:15 (GMT)
commit9cdaaa323d75571e785da304b6ba734312b55b08 (patch)
tree00b55911f0f2fe616f12802bf728002b4418d328
parentded746be25acac4a14c53296fd85670b9b79597f (diff)
add mips64r6 testing
-rwxr-xr-xembedded-test.sh71
1 files changed, 60 insertions, 11 deletions
diff --git a/embedded-test.sh b/embedded-test.sh
index 9e6c7b1..81c8092 100755
--- a/embedded-test.sh
+++ b/embedded-test.sh
@@ -26,22 +26,28 @@
arch_list_uclibcng="aarch64 aarch64be alpha arcv1 arcv2 arcv1-be \
arcv2-be arm-nommu armv5 armv6 armv7 armv7-thumb2 armeb avr32 \
bf512-flat bf512-fdpic c6x crisv10 crisv32 frv h8300 hppa ia64 \
- lm32 m68k m68k-nommu metag microblazeel microblazebe mips32 mips32r6 \
- mips32sf mips32el mips32elsf mips64 mips64n32 mips64n64 mips64el \
- mips64eln32 mips64eln64 nds32le nios2 or1k ppc ppcsf sh2 sh3 \
- sh4 sh4eb sparc sparc-leon3 sparc64 x86 x86_64 xtensa xtensabe \
- xtensa-nommu"
+ lm32 m68k m68k-nommu metag microblazeel microblazebe \
+ mips32 mips32r6 mips32sf mips32el mips32r6el mips32elsf \
+ mips64 mips64n32 mips64n64 mips64el mips64eln32 mips64eln64 \
+ mips64r6n32 mips64r6n64 mips64r6eln32 mips64r6eln64 \
+ nds32le nios2 or1k ppc ppcsf sh2 sh3 sh4 sh4eb \
+ sparc sparc-leon3 sparc64 x86 x86_64 \
+ xtensa xtensabe xtensa-nommu"
# musl
-arch_list_musl="aarch64 aarch64be armv5 armv6 armv7 armeb microblazeel \
- microblazebe mips32 mips32r6 mips32sf mips32el mips32elsf mips64n32 mips64n64 \
- mips64eln32 mips64eln64 or1k ppc ppcsf ppc64 ppc64le s390 sh4 \
- sh4eb x86 x86_64 x86_64_x32"
+arch_list_musl="aarch64 aarch64be armv5 armv6 armv7 armeb \
+ microblazeel microblazebe \
+ mips32 mips32r6 mips32sf mips32el mips32elsf \
+ mips64n32 mips64n64 mips64eln32 mips64eln64 \
+ or1k ppc ppcsf ppc64 ppc64le s390 sh4 sh4eb \
+ x86 x86_64 x86_64_x32"
# glibc
arch_list_glibc="aarch64 aarch64be alpha armv5 armv6 armv7 armeb \
- ia64 microblazeel microblazebe mips32 mips32r6 mips32sf mips32el mips32elsf \
+ ia64 microblazeel microblazebe \
+ mips32 mips32r6 mips32sf mips32el mips32elsf \
mips64 mips64n32 mips64n64 mips64el mips64eln32 mips64eln64 \
+ mips64r6n32 mips64r6n64 mips64r6eln32 mips64r6eln64 \
nios2 ppc ppcsf ppc64 ppc64le s390 sh3 sh4 sh4eb sparc64 tilegx \
x86 x86_64 x86_64_x32"
@@ -674,10 +680,25 @@ get_arch_info() {
default_uclibc_ng="ADK_APPLIANCE=test ADK_TARGET_OS=linux ADK_TARGET_ARCH=mips64 ADK_TARGET_FS=initramfsarchive ADK_TARGET_SYSTEM=qemu-mips64 ADK_TARGET_ENDIAN=big ADK_TARGET_ABI=n32 ADK_TARGET_CPU=mips64r6"
default_glibc="ADK_APPLIANCE=test ADK_TARGET_OS=linux ADK_TARGET_ARCH=mips64 ADK_TARGET_FS=initramfsarchive ADK_TARGET_SYSTEM=qemu-mips64 ADK_TARGET_ENDIAN=big ADK_TARGET_ABI=n32 ADK_TARGET_CPU=mips64r6"
cpu_arch=mips64r6
+ march=mips64
+ qemu=qemu-system-${march}
qemu_machine=malta
- qemu_args="${qemu_args} -device e1000,netdev=adk0 -netdev user,id=adk0"
+ qemu_args="${qemu_args} -cpu I6400 -device e1000,netdev=adk0 -netdev user,id=adk0"
suffix=${cpu_arch}_n32
;;
+ mips64r6n64)
+ allowed_libc="uclibc-ng glibc"
+ runtime_test="uclibc-ng glibc"
+ allowed_tests="toolchain boot libc libcmusl mksh ltp native"
+ default_uclibc_ng="ADK_APPLIANCE=test ADK_TARGET_OS=linux ADK_TARGET_ARCH=mips64 ADK_TARGET_FS=initramfsarchive ADK_TARGET_SYSTEM=qemu-mips64 ADK_TARGET_ENDIAN=big ADK_TARGET_ABI=n64 ADK_TARGET_CPU=mips64r6"
+ default_glibc="ADK_APPLIANCE=test ADK_TARGET_OS=linux ADK_TARGET_ARCH=mips64 ADK_TARGET_FS=initramfsarchive ADK_TARGET_SYSTEM=qemu-mips64 ADK_TARGET_ENDIAN=big ADK_TARGET_ABI=n64 ADK_TARGET_CPU=mips64r6"
+ cpu_arch=mips64r6
+ march=mips64
+ qemu=qemu-system-${march}
+ qemu_machine=malta
+ qemu_args="${qemu_args} -cpu I6400 -device e1000,netdev=adk0 -netdev user,id=adk0"
+ suffix=${cpu_arch}_n64
+ ;;
mips64n32)
allowed_libc="uclibc-ng musl glibc"
runtime_test="uclibc-ng musl glibc"
@@ -750,6 +771,34 @@ get_arch_info() {
qemu_args="${qemu_args} -device e1000,netdev=adk0 -netdev user,id=adk0"
suffix=${cpu_arch}${endian}_n64
;;
+ mips64r6eln32)
+ allowed_libc="uclibc-ng glibc"
+ runtime_test="uclibc-ng glibc"
+ allowed_tests="toolchain boot libc libcmusl mksh ltp native"
+ default_uclibc_ng="ADK_APPLIANCE=test ADK_TARGET_OS=linux ADK_TARGET_ARCH=mips64 ADK_TARGET_FS=initramfsarchive ADK_TARGET_SYSTEM=qemu-mips64 ADK_TARGET_ENDIAN=little ADK_TARGET_ABI=n32 ADK_TARGET_CPU=mips64r6"
+ default_glibc="ADK_APPLIANCE=test ADK_TARGET_OS=linux ADK_TARGET_ARCH=mips64 ADK_TARGET_FS=initramfsarchive ADK_TARGET_SYSTEM=qemu-mips64 ADK_TARGET_ENDIAN=little ADK_TARGET_ABI=n32 ADK_TARGET_CPU=mips64r6"
+ cpu_arch=mips64r6
+ march=mips64
+ endian=el
+ qemu=qemu-system-mips64el
+ qemu_machine=malta
+ qemu_args="${qemu_args} -cpu I6400 -device e1000,netdev=adk0 -netdev user,id=adk0"
+ suffix=${cpu_arch}${endian}_n32
+ ;;
+ mips64r6eln64)
+ allowed_libc="uclibc-ng glibc"
+ runtime_test="uclibc-ng glibc"
+ allowed_tests="toolchain boot libc libcmusl mksh ltp native"
+ default_uclibc_ng="ADK_APPLIANCE=test ADK_TARGET_OS=linux ADK_TARGET_ARCH=mips64 ADK_TARGET_FS=initramfsarchive ADK_TARGET_SYSTEM=qemu-mips64 ADK_TARGET_ENDIAN=little ADK_TARGET_ABI=n64 ADK_TARGET_CPU=mips64r6"
+ default_glibc="ADK_APPLIANCE=test ADK_TARGET_OS=linux ADK_TARGET_ARCH=mips64 ADK_TARGET_FS=initramfsarchive ADK_TARGET_SYSTEM=qemu-mips64 ADK_TARGET_ENDIAN=little ADK_TARGET_ABI=n64 ADK_TARGET_CPU=mips64r6"
+ cpu_arch=mips64r6
+ march=mips64
+ endian=el
+ qemu=qemu-system-mips64el
+ qemu_machine=malta
+ qemu_args="${qemu_args} -cpu I6400 -device e1000,netdev=adk0 -netdev user,id=adk0"
+ suffix=${cpu_arch}${endian}_n64
+ ;;
mn10300)
allowed_libc="newlib"
runtime_test=""