diff options
author | Chris Lord <chris@openedhand.com> | 2006-09-08 11:02:05 +0000 |
---|---|---|
committer | Chris Lord <chris@openedhand.com> | 2006-09-08 11:02:05 +0000 |
commit | d1da9bfc6c8db5d54e77d0b72d98a333ada87ba3 (patch) | |
tree | 8f64f97795da66043182f2a62efc76af4cde5883 /scripts/qemu | |
parent | abfc1dbd73d59344564e7cc00754a259d2f2bc85 (diff) | |
download | openembedded-core-d1da9bfc6c8db5d54e77d0b72d98a333ada87ba3.tar.gz openembedded-core-d1da9bfc6c8db5d54e77d0b72d98a333ada87ba3.tar.bz2 openembedded-core-d1da9bfc6c8db5d54e77d0b72d98a333ada87ba3.tar.xz openembedded-core-d1da9bfc6c8db5d54e77d0b72d98a333ada87ba3.zip |
Update qemu-nfs script to work with versatile/PB kernel
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@700 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'scripts/qemu')
-rwxr-xr-x | scripts/qemu/qemu-nfs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/qemu/qemu-nfs b/scripts/qemu/qemu-nfs index d827664c9..503aaa2e0 100755 --- a/scripts/qemu/qemu-nfs +++ b/scripts/qemu/qemu-nfs @@ -5,4 +5,10 @@ then QEMU_MEMORY="64M" fi -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 +# New command-line for versatile/PB +dd if=/dev/zero of=/tmp/blank bs=1024 count=8192 +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" -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=./qemu-ifup -M versatilepb -hda /tmp/blank +rm /tmp/blank + +# Old command-line for versatile/CP +#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 |