Building and Running an Image
If you want to try Poky, you can do so in a few commands. The example below checks out the Poky source code, sets up a build environment, builds an image and then runs that image under the QEMU emulator in ARM system emulation mode:
$ wget http://pokylinux.org/releases/pinky-3.1.tar.gz$ tar zxvf pinky-3.1.tar.gz$ cd pinky-3.1/$ source poky-init-build-env$ bitbake poky-image-sato$ runqemu qemuarm
To build for other machines see the MACHINE variable in build/conf/local.conf which also contains other configuration information. The images/kernels built by Poky are placed in the tmp/deploy/images directory.
You could also run "poky-qemu zImage-qemuarm.bin poky-image-sato-qemuarm.ext2" within the images directory if you have the poky-scripts Debian package installed from debian.o-hand.com. This allows the QEMU images to be used standalone outside the Poky build environment.
To setup networking within QEMU see the QEMU/USB networking with IP masquerading section.
Downloading and Using Prebuilt Images
Prebuilt images from Poky are also available if you just want to run the system under QEMU. To use these you need to:
Add debian.o-hand.com to your APT sources (See http://debian.o-hand.com for instructions on doing this)
Install patched QEMU and poky-scripts:
$ apt-get install qemu poky-scripts
Download a Poky QEMU release kernel (*zImage*qemu*.bin) and compressed filesystem image (poky-image-*-qemu*.ext2.bz2) which you'll need to decompress with 'bzip2 -d'. These are available from the last release or from the autobuilder.
Start the image:
$ poky-qemu
What is Poky?
Poky is an open source platform build tool. It is a complete software development environment for the creation of Linux devices. It aids the design, development, building, debugging, simulation and testing of complete modern software stacks using Linux, the X Window System and GNOME Mobile based application frameworks. It is based on OpenEmbedded but has been customised with a particular focus.
Poky was setup to:
Provide an open source Linux, X11, Matchbox, GTK+, Pimlico, Clutter, and other GNOME Mobile technologies based full platform build and development tool.
Create a focused, stable, subset of OpenEmbedded that can be easily and reliably built and developed upon.
Fully support a wide range of x86 and ARM hardware and device virtulisation
Debian/Ubuntu users
Debian users can add debian.o-hand.com to their APT sources (See http://debian.o-hand.com for instructions on doing this) and then run "apt-get install qemu poky-depends poky-scripts" which will automatically install all these dependencies. OpenedHand can also provide VMware images with Poky and all dependencies pre-installed if required.
Poky can use a system provided QEMU or build its own depending on how it's configured. See the options in local.conf for more details.
OpenedHand Debian/Ubuntu Packages
To use, add the relevent line for your distribution to /etc/apt/sources.list and apt-get update.
deb http://debian.o-hand.com etch/
deb http://debian.o-hand.com unstable/
deb http://debian.o-hand.com edgy/
deb http://debian.o-hand.com feisty/
deb http://debian.o-hand.com gutsy/
deb http://debian.o-hand.com hardy/
Others,
http://people.debian.org/~aurel32/qemu/arm/
http://909ers.apl.washington.edu/~dushaw/ARM/