Mercurial > lcfOS
comparison 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 |
comparison
equal
deleted
inserted
replaced
324:ed6d0adaa626 | 325:0dd36d2eb954 |
---|---|
1 #!/usr/bin/bash | 1 #!/usr/bin/bash |
2 | |
3 set -e | |
4 | |
5 echo "quit" | socat stdio stdio | |
2 | 6 |
3 echo "Trying to run versatilePB board" | 7 echo "Trying to run versatilePB board" |
4 | 8 |
5 qemu-system-arm -M versatilepb -m 128M -nographic -kernel bare.bin | 9 qemu-system-arm -M versatilepb -m 128M -nographic -kernel bare.bin \ |
10 -monitor unix:vm.sock,server,nowait -serial file:output.txt & | |
6 | 11 |
12 sleep 2 | |
13 | |
14 # Send quit to the monitor application | |
15 echo "quit" | socat stdio UNIX-CONNECT:vm.sock | |
16 |