annotate test/bare/qemutst.sh @ 325:0dd36d2eb954

Added bin file for test
author Windel Bouwman
date Fri, 31 Jan 2014 19:14:54 +0100
parents ed6d0adaa626
children 2fa27c44e3c9
rev   line source
324
ed6d0adaa626 Added qemu arm emulated image
Windel Bouwman
parents:
diff changeset
1 #!/usr/bin/bash
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