2006-12-05 14:47:12 +00:00
|
|
|
Introduction
|
|
|
|
==
|
|
|
|
|
|
|
|
'Poky' is a combined cross build system and linux distribution based
|
|
|
|
upon OpenEmbedded. It features support for building X11/Matchbox/GTK
|
|
|
|
based filesystem images for various embedded devices and boards.
|
|
|
|
|
|
|
|
|
|
|
|
Required Packages
|
|
|
|
===
|
|
|
|
|
|
|
|
Running Poky on Debian based distributions requires the following
|
|
|
|
extra packages be installed;
|
|
|
|
|
|
|
|
build-essential
|
|
|
|
diffstat
|
2006-12-22 13:51:35 +00:00
|
|
|
texinfo
|
2006-12-05 14:47:12 +00:00
|
|
|
texi2html
|
|
|
|
cvs
|
|
|
|
subversion
|
|
|
|
gawk
|
2007-01-17 17:45:10 +00:00
|
|
|
bochsbios (to run qemux86 images)
|
2006-12-05 14:47:12 +00:00
|
|
|
|
2007-01-17 15:01:34 +00:00
|
|
|
You also need to install the qemu from http://debian.o-hand.com/. A
|
|
|
|
poky-depends deb is also available from this source which will install
|
|
|
|
all the dependencies mentioned above for you.
|
|
|
|
|
2006-12-05 14:47:12 +00:00
|
|
|
Alternatively poky can build qemu itself, but for this you need the
|
|
|
|
following packages installed;
|
|
|
|
|
|
|
|
gcc-3.4
|
|
|
|
libsdl1.2-dev
|
|
|
|
zlib1g-dev
|
|
|
|
|
|
|
|
You will also need to comment out ASSUME_PROVIDED += "qemu-native"' in
|
|
|
|
build/conf/local.conf.
|
|
|
|
|
|
|
|
Building under other distro's such as Fedora is known to work. Use the above
|
|
|
|
package names as a guide for dependencies.
|
|
|
|
|
|
|
|
Building An Image
|
|
|
|
===
|
|
|
|
|
|
|
|
Simply run;
|
|
|
|
|
|
|
|
% source poky-init-build-env
|
2007-06-27 12:18:02 +00:00
|
|
|
% bitbake poky-image-sato
|
2006-12-05 14:47:12 +00:00
|
|
|
|
|
|
|
This will result in an ext2 image and kernel for qemu arm (see scripts dir).
|
|
|
|
|
|
|
|
To build for other machine types see MACHINE in build/conf/local.conf
|
|
|
|
|
2007-06-27 12:18:02 +00:00
|
|
|
Other image targets such as poky-image-sdk or poky-image-minimal are available,
|
2007-03-28 11:27:41 +00:00
|
|
|
see meta/packages/images/*.
|
|
|
|
|
2006-12-05 14:47:12 +00:00
|
|
|
Notes:
|
|
|
|
===
|
|
|
|
|
|
|
|
Useful Links;
|
|
|
|
|
|
|
|
OpenedHand
|
|
|
|
http://openedhand.com
|
|
|
|
|
|
|
|
Poky Homepage
|
|
|
|
http://projects.o-hand.com/poky
|
|
|
|
|
|
|
|
OE Homepage and wiki
|
|
|
|
http://openembedded.org
|
|
|
|
|
2007-05-16 13:48:29 +00:00
|
|
|
Copyright (C) 2006-2007 OpenedHand Ltd.
|