annotate kernel/qemutst.sh @ 359:b4ac28efcdf4

Reorganize files
author Windel Bouwman
date Fri, 14 Mar 2014 15:41:55 +0100
parents 5477e499b039
children c05ab629976a
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:
354
5477e499b039 Added some sort of string functionality
Windel Bouwman
parents: 340
diff changeset
10 qemu-system-arm -M vexpress-a9 -m 128M -kernel kernel_arm.bin \
5477e499b039 Added some sort of string functionality
Windel Bouwman
parents: 340
diff changeset
11 -serial stdio -s
340
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