annotate kernel/qemutst.sh @ 341:4d204f6f7d4e devel

Rewrite of assembler parts
author Windel Bouwman
date Fri, 28 Feb 2014 18:07:14 +0100
parents c7cc54c0dfdf
children 5477e499b039
rev   line source
340
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
1 #!/usr/bin/env bash
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
2
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
3 set -e
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
4
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
5 echo "quit" | socat stdio stdio
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
6
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
7 echo "Trying to run test on stellaris qemu machine"
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
8
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
9 # -S means halt at start:
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
10 qemu-system-arm -M vexpress-a9 -m 128M -kernel kernel.bin \
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
11 -monitor unix:vm.sock,server -serial file:output.txt -S -s
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
12
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
13 #sleep 1
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
14
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
15 # Send quit to the monitor application
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
16 #echo "quit" | socat stdio UNIX-CONNECT:vm.sock
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
17
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
18 #echo "Output from terminal:"
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
19 #cat output.txt
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
20 #echo ""
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
21