diff options
author | Richard Purdie <richard@openedhand.com> | 2007-01-16 13:49:34 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-01-16 13:49:34 +0000 |
commit | 990788b29580f8689933b5af21dc9cb62c726b0e (patch) | |
tree | 58b7cb274830e8f615b78dbd7ab7452276a1ae9a /scripts/runqemu.README | |
parent | 6531611d9a02ebee72229ee475601a5717222e56 (diff) | |
download | poky-990788b29580f8689933b5af21dc9cb62c726b0e.tar.gz |
scripts: Rename scripts, update README
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1146 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'scripts/runqemu.README')
-rw-r--r-- | scripts/runqemu.README | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/scripts/runqemu.README b/scripts/runqemu.README deleted file mode 100644 index 2f68b85cb8..0000000000 --- a/scripts/runqemu.README +++ /dev/null | |||
@@ -1,61 +0,0 @@ | |||
1 | Using qemu with poky notes | ||
2 | ========================== | ||
3 | |||
4 | Poky can generate qemu bootable kernels and images with can be used | ||
5 | on a desktop system. Both arm and x86 images can currently be booted. | ||
6 | The runqemu script is run as: | ||
7 | |||
8 | runqemu <target> <type> <zimage> <filesystem> | ||
9 | |||
10 | where: | ||
11 | |||
12 | <target> is "qemuarm" or "qemux86" | ||
13 | <type> is "ext2" or "nfs" | ||
14 | <zimage> is the path to a kernel (zimage-qemuarm.bin) | ||
15 | <filesystem> is the path to an ext2 image (filesystem-qemuarm.ext2) | ||
16 | |||
17 | It will default to the qemuarm, ext2 and the last kernel and oh-image-pda | ||
18 | image built by poky. | ||
19 | |||
20 | NFS Image Notes | ||
21 | =============== | ||
22 | |||
23 | As root; | ||
24 | |||
25 | % apt-get install nfs-kernel-server | ||
26 | |||
27 | % mkdir /srv/nfs/qemuarm | ||
28 | |||
29 | Edit via /etc/exports : | ||
30 | |||
31 | # /etc/exports: the access control list for filesystems which may be exported | ||
32 | # to NFS clients. See exports(5). | ||
33 | /srv/nfs/qemuarm 192.168.7.2(rw,no_root_squash) | ||
34 | |||
35 | % /etc/init.d/nfs-kernel-server restart | ||
36 | |||
37 | % modprobe tun | ||
38 | |||
39 | untar build/tmp/deploy/images/<built image>.rootfs.tar.bz2 into /srv/nfs/qemuarm | ||
40 | |||
41 | Finally, launch: | ||
42 | |||
43 | % runqemu <target> nfs | ||
44 | |||
45 | (Substitute qemux86 for qemuarm when using qemux86) | ||
46 | |||
47 | Notes | ||
48 | ===== | ||
49 | |||
50 | - The runqemu script runs qemu with sudo. Change perms on /dev/net/tun to | ||
51 | run as non root | ||
52 | - You can set QEMU_MEMORY env var to control amount of available memory | ||
53 | ( defaults to 64M ) | ||
54 | - There is a bug in qemu in that means occasionally it will use 100% cpu. | ||
55 | You will need to restart it in this situation. | ||
56 | |||
57 | More Info | ||
58 | ========= | ||
59 | |||
60 | - See http://o-hand.com/~richard/qemu.html | ||
61 | |||