changeset 137:e09d44f952cd

A script to run sparc. It currently runs hello-static and hello-dynamic but nothing else. Dunno why yet.
author Rob Landley <rob@landley.net>
date Mon, 26 Mar 2007 18:43:20 -0400
parents 8c3d95f52237
children 7dffe9648a56
files sources/configs/sparc
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sources/configs/sparc	Mon Mar 26 18:42:37 2007 -0400
+++ b/sources/configs/sparc	Mon Mar 26 18:43:20 2007 -0400
@@ -5,6 +5,12 @@
 BINUTILS_FLAGS=
 GCC_FLAGS=
 QEMU_TEST=$KARCH
+run_emulator()
+{
+  qemu-system-sparc -nographic -no-reboot -hda "$1" \
+        -kernel "$2" -append "$3 root=/dev/sda console=ttyS0"
+}
+
 
 # Write out uClibc .config file.