summaryrefslogtreecommitdiffstats
path: root/scripts/qemu/README
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-11-17 11:08:32 +0000
committerRichard Purdie <richard@openedhand.com>2006-11-17 11:08:32 +0000
commit4a9392f5a3295b900eebc81fd6fd64a8029525df (patch)
tree9211a76434c7cf72cbe4b55b4320d9574089bc3b /scripts/qemu/README
parentf4a8621a19550e4168a45e69386c82f031aa37f1 (diff)
downloadpoky-4a9392f5a3295b900eebc81fd6fd64a8029525df.tar.gz
Improve the qemu scripts and documentation (qemux86 support isn't complete yet)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@867 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'scripts/qemu/README')
-rw-r--r--scripts/qemu/README58
1 files changed, 0 insertions, 58 deletions
diff --git a/scripts/qemu/README b/scripts/qemu/README
deleted file mode 100644
index 10bf64ebba..0000000000
--- a/scripts/qemu/README
+++ /dev/null
@@ -1,58 +0,0 @@
1qemu-arm poky image notes
2=========================
3
4Poky can generate qemu-system-arm bootable kernels and images with can
5then be used on an x86 desktop. There are two ways to run such images;
6
7Via ext2 filesystem image
8==========================
9
10Run;
11
12qemu-ext2 <zimage-qemuarm>.bin <filesystem-qemuarm>.ext2
13
14
15Via NFS
16========
17
18As root;
19
20% apt-get install nfs-kernel-server
21
22% mkdir /srv/qemuarm
23
24Edit via /etc/exports :
25
26# /etc/exports: the access control list for filesystems which may be exported
27# to NFS clients. See exports(5).
28/srv/qemuarm 192.168.7.2(rw,no_root_squash)
29
30% /etc/init.d/nfs-kernel-server restart
31
32% modprobe tun
33
34untar build/tmp/deploy/images/<built image>.rootfs.tar.bz2 into /srv/qemuarm
35
36Move poky built qemu-system-arm into your path, i.e;
37
38% cp ./build/tmp/staging/i686-linux/bin/qemu-system-arm /usr/local/bin
39
40Finally, launch:
41
42% ./qemu-nfs ../../build/tmp/deploy/images/<zimage-qemuarm>.bin
43
44( change perms on /dev/net/tun to run as non root )
45
46Notes
47=====
48
49 - You can set QEMU_MEMORY env var to control amount of available memory
50 ( defaults to 64M )
51 - There is a bug in qemu in that means occasionally it will use 100% cpu.
52 You will need to restart it in this situation.
53
54
55More Info
56=========
57
58 - See http://o-hand.com/~richard/qemu.html