summaryrefslogtreecommitdiffstats
path: root/scripts/qemu/qemu-nfs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/qemu/qemu-nfs')
-rwxr-xr-xscripts/qemu/qemu-nfs8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/qemu/qemu-nfs b/scripts/qemu/qemu-nfs
index d827664c92..503aaa2e02 100755
--- a/scripts/qemu/qemu-nfs
+++ b/scripts/qemu/qemu-nfs
@@ -5,4 +5,10 @@ then
5QEMU_MEMORY="64M" 5QEMU_MEMORY="64M"
6fi 6fi
7 7
8qemu-system-arm -kernel $1 -append "root=/dev/nfs nfsroot=192.168.7.1:/srv/qemuarm rw ip=192.168.7.2::192.168.7.1:255.255.255.0 mem=$QEMU_MEMORY" -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=./qemu-ifup 8# New command-line for versatile/PB
9dd if=/dev/zero of=/tmp/blank bs=1024 count=8192
10qemu-system-arm -kernel $1 -append "root=/dev/nfs nfsroot=192.168.7.1:/srv/qemuarm rw ip=192.168.7.2::192.168.7.1:255.255.255.0" -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=./qemu-ifup -M versatilepb -hda /tmp/blank
11rm /tmp/blank
12
13# Old command-line for versatile/CP
14#qemu-system-arm -kernel $1 -append "root=/dev/nfs nfsroot=192.168.7.1:/srv/qemuarm rw ip=192.168.7.2::192.168.7.1:255.255.255.0 mem=$QEMU_MEMORY" -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=./qemu-ifup