poky/scripts/qemu
2006-09-08 11:02:05 +00:00
..
qemu-ext2 Add qemu-ext2 script and new notes to README 2006-08-29 22:16:35 +00:00
qemu-ifup Added scripts dir 2006-07-28 19:47:37 +00:00
qemu-nfs Update qemu-nfs script to work with versatile/PB kernel 2006-09-08 11:02:05 +00:00
README Add qemu-ext2 script and new notes to README 2006-08-29 22:16:35 +00:00

qemu-arm poky image notes

Poky can generate qemu-system-arm bootable kernels and images with can then be used on an x86 desktop. There are two ways to run such images;

Via ext2 filesystem image

Run;

qemu-ext2 .bin .ext2

Via NFS

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

  • You can set QEMU_MEMORY env var to control amount of available memory ( defaults to 64M )
  • 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