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