From 6e6b3818fa71766a30c21362c60487ff84c0decc Mon Sep 17 00:00:00 2001 From: Matthew Allum Date: Fri, 28 Jul 2006 19:47:37 +0000 Subject: Added scripts dir git-svn-id: https://svn.o-hand.com/repos/poky/trunk@584 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- scripts/qemu/README | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 scripts/qemu/README (limited to 'scripts/qemu/README') diff --git a/scripts/qemu/README b/scripts/qemu/README new file mode 100644 index 000000000..d589b761e --- /dev/null +++ b/scripts/qemu/README @@ -0,0 +1,44 @@ + +qemu-arm quick setup notes +========================== + +As root; + +% apt-get install nfs-kernel-server + +% mkdir /srv/qemuarm + +Edit via /etc/exports : + +# /etc/exports: the access control list for filesystems which may be exported +# to NFS clients. See exports(5). +/srv/qemuarm 192.168.7.2(rw,no_root_squash) + +% /etc/init.d/nfs-kernel-server restart + +% modprobe tun + +untar build/tmp/deploy/images/.rootfs.tar.bz2 into /srv/qemuarm + +Move poky built qemu-system-arm into your path, i.e; + +% cp ./build/tmp/staging/i686-linux/bin/qemu-system-arm /usr/local/bin + +Finally, launch: + +% ./qemu-nfs ../../build/tmp/deploy/images/.bin + +( change perms on /dev/net/tun to run as non root ) + + +Notes +===== + + - There is a bug in qemu in that means occasionally it will use 100% cpu. + You will need to restart it in this situation. + + +More Info +========= + + - See http://o-hand.com/~richard/qemu.html -- cgit v1.2.3