annotate test/bare/qemutst.sh @ 326:2fa27c44e3c9

Changed hasbang
author Windel Bouwman
date Sat, 01 Feb 2014 16:54:33 +0100
parents 0dd36d2eb954
children 61c9df5bffce
rev   line source
326
2fa27c44e3c9 Changed hasbang
Windel Bouwman
parents: 325
diff changeset
1 #!/usr/bin/env bash
324
ed6d0adaa626 Added qemu arm emulated image
Windel Bouwman
parents:
diff changeset
2
325
0dd36d2eb954 Added bin file for test
Windel Bouwman
parents: 324
diff changeset
3 set -e
0dd36d2eb954 Added bin file for test
Windel Bouwman
parents: 324
diff changeset
4
0dd36d2eb954 Added bin file for test
Windel Bouwman
parents: 324
diff changeset
5 echo "quit" | socat stdio stdio
0dd36d2eb954 Added bin file for test
Windel Bouwman
parents: 324
diff changeset
6
324
ed6d0adaa626 Added qemu arm emulated image
Windel Bouwman
parents:
diff changeset
7 echo "Trying to run versatilePB board"
ed6d0adaa626 Added qemu arm emulated image
Windel Bouwman
parents:
diff changeset
8
325
0dd36d2eb954 Added bin file for test
Windel Bouwman
parents: 324
diff changeset
9 qemu-system-arm -M versatilepb -m 128M -nographic -kernel bare.bin \
0dd36d2eb954 Added bin file for test
Windel Bouwman
parents: 324
diff changeset
10 -monitor unix:vm.sock,server,nowait -serial file:output.txt &
324
ed6d0adaa626 Added qemu arm emulated image
Windel Bouwman
parents:
diff changeset
11
325
0dd36d2eb954 Added bin file for test
Windel Bouwman
parents: 324
diff changeset
12 sleep 2
0dd36d2eb954 Added bin file for test
Windel Bouwman
parents: 324
diff changeset
13
0dd36d2eb954 Added bin file for test
Windel Bouwman
parents: 324
diff changeset
14 # Send quit to the monitor application
0dd36d2eb954 Added bin file for test
Windel Bouwman
parents: 324
diff changeset
15 echo "quit" | socat stdio UNIX-CONNECT:vm.sock
0dd36d2eb954 Added bin file for test
Windel Bouwman
parents: 324
diff changeset
16