Mercurial > lcfOS
annotate test/bare/qemutst.sh @ 385:d056b552d3f4
Made better use of layout
author | Windel Bouwman |
---|---|
date | Thu, 01 May 2014 14:03:12 +0200 |
parents | a78b41ff6ad2 |
children |
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 | |
327 | 9 qemu-system-arm -M realview-pb-a8 -m 128M -nographic -kernel bare.bin \ |
325 | 10 -monitor unix:vm.sock,server,nowait -serial file:output.txt & |
324 | 11 |
331 | 12 sleep 1 |
325 | 13 |
14 # Send quit to the monitor application | |
15 echo "quit" | socat stdio UNIX-CONNECT:vm.sock | |
16 | |
327 | 17 echo "Output from terminal:" |
18 cat output.txt | |
19 echo "" | |
20 |