run-qemu.sh: Add new target mips64 and mips64el
authorKhem Raj <raj.khem@gmail.com>
Sat, 25 Sep 2010 23:04:10 +0000 (16:04 -0700)
committerKhem Raj <raj.khem@gmail.com>
Mon, 27 Sep 2010 22:05:27 +0000 (15:05 -0700)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
contrib/qemu/run-qemu.sh

index 068fd3e..574bf72 100755 (executable)
@@ -145,13 +145,37 @@ case $arch in
        kernel="bzImage"
        image="minimalist-image"
        ;;
+    mips64)
+       address="192.168.1.107"
+       macaddr="00:16:3e:00:00:07"
+       gdbport="1238"
+       machine="malta"
+       mem="256"
+       consoleopt="console=ttyS0"
+       rootdisk="hda"
+       qemuopts="-nographic"
+       kernel="vmlinux"
+       image="minimalist-image"
+       ;;
+    mips64el)
+       address="192.168.1.108"
+       macaddr="00:16:3e:00:00:08"
+       gdbport="1239"
+       machine="malta"
+       mem="256"
+       consoleopt="console=ttyS0"
+       rootdisk="hda"
+       qemuopts="-nographic"
+       kernel="vmlinux"
+       image="minimalist-image"
+       ;;
     *)
        echo "Specify one architectures out of $supported_archs to emulate."
        exit 1
        ;;
     esac
 
-nfsserver="192.168.1.1"                # address of NFS server
+nfsserver="192.168.1.64"       # address of NFS server
 gateway="192.168.1.254"                # default gateway
 netmask="255.255.255.0"                # subnet mask
 hostname="qemu$arch"           # hostname for guest server