diff options
author | Matthew Allum <mallum@openedhand.com> | 2006-08-29 22:16:35 +0000 |
---|---|---|
committer | Matthew Allum <mallum@openedhand.com> | 2006-08-29 22:16:35 +0000 |
commit | 6527a796160869a8590042b0fd5bab98df0fcd65 (patch) | |
tree | 6c40774269d04f16d43c2b2ac9611187bb48fea8 /scripts/qemu/qemu-nfs | |
parent | b1d72c57627e19cde254177f08a3a0f879a94803 (diff) | |
download | openembedded-core-6527a796160869a8590042b0fd5bab98df0fcd65.tar.gz openembedded-core-6527a796160869a8590042b0fd5bab98df0fcd65.tar.bz2 openembedded-core-6527a796160869a8590042b0fd5bab98df0fcd65.zip |
Add qemu-ext2 script and new notes to README
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@678 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'scripts/qemu/qemu-nfs')
-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 92c7fc24b1..d827664c92 100755 --- a/scripts/qemu/qemu-nfs +++ b/scripts/qemu/qemu-nfs @@ -1,2 +1,8 @@ #!/bin/sh -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 + +if [ -z "$QEMU_MEMORY" ] +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 |