summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2018-06-20 20:11:44 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2018-06-20 20:11:44 (GMT)
commitf58a9940c4b61a04251eac83fd9644015864c312 (patch)
tree09fa9d1d6dc27a2c481a4007695482c78fe2c889
parent8269a783a75f7c365ae41365a4d0d3c72865542b (diff)
fix nsim and xtensa-nommu runtime tests
-rwxr-xr-xembedded-test.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/embedded-test.sh b/embedded-test.sh
index 91545f0..da6a55d 100755
--- a/embedded-test.sh
+++ b/embedded-test.sh
@@ -1243,7 +1243,7 @@ get_arch_info() {
qemu=qemu-system-xtensa
qemu_machine=kc705-nommu
qemu_args="${qemu_args} -cpu de212 -m 256"
- suffix=${cpu_arch}
+ suffix=${cpu_arch}_nommu
piggyback=1
;;
*)
@@ -1424,7 +1424,11 @@ runtest() {
rm -rf openadk/extra 2>/dev/null
mkdir openadk/extra 2>/dev/null
if [ ! -z $suffix ]; then
- kernel=openadk/firmware/${emulator}-${march}_${lib}_${suffix}/${emulator}-${march}-initramfspiggyback-kernel
+ if [ "$emulator" = "synopsys-nsim" ]; then
+ kernel=openadk/firmware/${emulator}_${lib}_${suffix}/${emulator}-initramfspiggyback-kernel
+ else
+ kernel=openadk/firmware/${emulator}-${march}_${lib}_${suffix}/${emulator}-${march}-initramfspiggyback-kernel
+ fi
else
kernel=openadk/firmware/${emulator}-${march}_${lib}/${emulator}-${march}-initramfspiggyback-kernel
fi