diff options
Diffstat (limited to 'scripts/qemu/README')
| -rw-r--r-- | scripts/qemu/README | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/scripts/qemu/README b/scripts/qemu/README new file mode 100644 index 0000000000..d589b761ed --- /dev/null +++ b/scripts/qemu/README | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | |||
| 2 | qemu-arm quick setup notes | ||
| 3 | ========================== | ||
| 4 | |||
| 5 | As root; | ||
| 6 | |||
| 7 | % apt-get install nfs-kernel-server | ||
| 8 | |||
| 9 | % mkdir /srv/qemuarm | ||
| 10 | |||
| 11 | Edit via /etc/exports : | ||
| 12 | |||
| 13 | # /etc/exports: the access control list for filesystems which may be exported | ||
| 14 | # to NFS clients. See exports(5). | ||
| 15 | /srv/qemuarm 192.168.7.2(rw,no_root_squash) | ||
| 16 | |||
| 17 | % /etc/init.d/nfs-kernel-server restart | ||
| 18 | |||
| 19 | % modprobe tun | ||
| 20 | |||
| 21 | untar build/tmp/deploy/images/<built image>.rootfs.tar.bz2 into /srv/qemuarm | ||
| 22 | |||
| 23 | Move poky built qemu-system-arm into your path, i.e; | ||
| 24 | |||
| 25 | % cp ./build/tmp/staging/i686-linux/bin/qemu-system-arm /usr/local/bin | ||
| 26 | |||
| 27 | Finally, launch: | ||
| 28 | |||
| 29 | % ./qemu-nfs ../../build/tmp/deploy/images/<zimage-qemuarm>.bin | ||
| 30 | |||
| 31 | ( change perms on /dev/net/tun to run as non root ) | ||
| 32 | |||
| 33 | |||
| 34 | Notes | ||
| 35 | ===== | ||
| 36 | |||
| 37 | - There is a bug in qemu in that means occasionally it will use 100% cpu. | ||
| 38 | You will need to restart it in this situation. | ||
| 39 | |||
| 40 | |||
| 41 | More Info | ||
| 42 | ========= | ||
| 43 | |||
| 44 | - See http://o-hand.com/~richard/qemu.html | ||
