view kernel/qemutst.sh @ 354:5477e499b039

Added some sort of string functionality
author Windel Bouwman
date Thu, 13 Mar 2014 18:59:06 +0100
parents c7cc54c0dfdf
children c05ab629976a
line wrap: on
line source

#!/usr/bin/env bash

set -e

echo "quit" | socat stdio stdio

echo "Trying to run test on stellaris qemu machine"

# -S means halt at start:
qemu-system-arm -M vexpress-a9 -m 128M -kernel kernel_arm.bin \
    -serial stdio -s

#sleep 1

# Send quit to the monitor application
#echo "quit" | socat stdio UNIX-CONNECT:vm.sock

#echo "Output from terminal:"
#cat output.txt
#echo ""