changeset 113:46e794241456

Update mips to grab a kernel image qemu can boot and to invoke it via qemu.
author Rob Landley <rob@landley.net>
date Wed, 28 Feb 2007 19:35:47 -0500
parents 7889b25745fa
children 304fd441e6a4
files sources/configs/mipsel
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sources/configs/mipsel	Mon Feb 26 17:57:27 2007 -0500
+++ b/sources/configs/mipsel	Wed Feb 28 19:35:47 2007 -0500
@@ -1,9 +1,15 @@
 KARCH=mips
-KERNEL_PATH=arch/${KARCH}/boot/vmlinux.bin
+KERNEL_PATH=vmlinux
 BINUTILS_FLAGS=
 GCC_FLAGS=
 QEMU_TEST=mipsel
 
+run_emulator()
+{
+  qemu-system-mips -M mips -no-reboot -nographic -hda "$1" -kernel "$2" \
+	-append "$3 console=ttyS0 root=hda"
+}
+
 # Write out uClibc .config file.
 
 cat > "${WORK}"/config-uClibc << 'EOF'