summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
Diffstat (limited to 'documentation')
-rw-r--r--documentation/bsp-guide/Makefile35
-rw-r--r--documentation/bsp-guide/bsp-guide-customization.xsl6
-rw-r--r--documentation/bsp-guide/bsp-guide.xml62
-rw-r--r--documentation/bsp-guide/bsp.xml644
-rwxr-xr-xdocumentation/bsp-guide/figures/bsp-title.pngbin15226 -> 0 bytes
-rw-r--r--documentation/bsp-guide/figures/poky-ref-manual.pngbin17829 -> 0 bytes
-rw-r--r--documentation/bsp-guide/style.css952
-rw-r--r--documentation/kernel-manual/Makefile42
-rwxr-xr-xdocumentation/kernel-manual/figures/kernel-architecture-overview.pngbin40748 -> 0 bytes
-rwxr-xr-xdocumentation/kernel-manual/figures/kernel-big-picture.pngbin173130 -> 0 bytes
-rwxr-xr-xdocumentation/kernel-manual/figures/kernel-title.pngbin14549 -> 0 bytes
-rwxr-xr-xdocumentation/kernel-manual/figures/yocto-project-transp.pngbin8626 -> 0 bytes
-rw-r--r--documentation/kernel-manual/kernel-concepts.xml335
-rw-r--r--documentation/kernel-manual/kernel-doc-intro.xml57
-rw-r--r--documentation/kernel-manual/kernel-how-to.xml2130
-rw-r--r--documentation/kernel-manual/kernel-manual.xml66
-rw-r--r--documentation/kernel-manual/style.css968
-rw-r--r--documentation/kernel-manual/yocto-project-kernel-manual-customization.xsl8
-rw-r--r--documentation/poky-ref-manual/Makefile36
-rw-r--r--documentation/poky-ref-manual/TODO11
-rw-r--r--documentation/poky-ref-manual/development.xml1098
-rw-r--r--documentation/poky-ref-manual/examples/hello-autotools/hello_2.3.bb7
-rw-r--r--documentation/poky-ref-manual/examples/hello-single/files/helloworld.c8
-rw-r--r--documentation/poky-ref-manual/examples/hello-single/hello.bb16
-rw-r--r--documentation/poky-ref-manual/examples/libxpm/libxpm_3.5.6.bb13
-rw-r--r--documentation/poky-ref-manual/examples/mtd-makefile/mtd-utils_1.0.0.bb13
-rw-r--r--documentation/poky-ref-manual/extendpoky.xml1016
-rw-r--r--documentation/poky-ref-manual/faq.xml314
-rwxr-xr-xdocumentation/poky-ref-manual/figures/cropped-yocto-project-bw.pngbin5453 -> 0 bytes
-rw-r--r--documentation/poky-ref-manual/figures/poky-ref-manual.pngbin17829 -> 0 bytes
-rwxr-xr-xdocumentation/poky-ref-manual/figures/yocto-project-transp.pngbin8626 -> 0 bytes
-rw-r--r--documentation/poky-ref-manual/introduction.xml170
-rw-r--r--documentation/poky-ref-manual/poky-beaver.pngbin26252 -> 0 bytes
-rw-r--r--documentation/poky-ref-manual/poky-logo.svg117
-rw-r--r--documentation/poky-ref-manual/poky-ref-manual-customization.xsl6
-rw-r--r--documentation/poky-ref-manual/poky-ref-manual.xml102
-rw-r--r--documentation/poky-ref-manual/ref-bitbake.xml349
-rw-r--r--documentation/poky-ref-manual/ref-classes.xml455
-rw-r--r--documentation/poky-ref-manual/ref-features.xml302
-rw-r--r--documentation/poky-ref-manual/ref-images.xml71
-rw-r--r--documentation/poky-ref-manual/ref-structure.xml531
-rw-r--r--documentation/poky-ref-manual/ref-variables.xml950
-rw-r--r--documentation/poky-ref-manual/ref-varlocality.xml211
-rw-r--r--documentation/poky-ref-manual/resources.xml163
-rw-r--r--documentation/poky-ref-manual/screenshots/ss-anjuta-poky-1.pngbin96531 -> 0 bytes
-rw-r--r--documentation/poky-ref-manual/screenshots/ss-anjuta-poky-2.pngbin76419 -> 0 bytes
-rw-r--r--documentation/poky-ref-manual/screenshots/ss-oprofile-viewer.pngbin51240 -> 0 bytes
-rw-r--r--documentation/poky-ref-manual/screenshots/ss-sato.pngbin38689 -> 0 bytes
-rw-r--r--documentation/poky-ref-manual/style.css952
-rw-r--r--documentation/poky-ref-manual/usingpoky.xml337
-rwxr-xr-xdocumentation/poky-ref-manual/white-on-black-yp.pngbin9584 -> 0 bytes
-rw-r--r--documentation/template/Vera.ttfbin65932 -> 0 bytes
-rw-r--r--documentation/template/Vera.xml1
-rw-r--r--documentation/template/VeraMoBd.ttfbin49052 -> 0 bytes
-rw-r--r--documentation/template/VeraMoBd.xml1
-rw-r--r--documentation/template/VeraMono.ttfbin49224 -> 0 bytes
-rw-r--r--documentation/template/VeraMono.xml1
-rw-r--r--documentation/template/draft.pngbin24847 -> 0 bytes
-rw-r--r--documentation/template/fop-config.xml58
-rw-r--r--documentation/template/ohand-color.svg150
-rw-r--r--documentation/template/poky-db-pdf.xsl64
-rw-r--r--documentation/template/poky-ref-manual.pngbin32145 -> 0 bytes
-rw-r--r--documentation/template/poky.svg163
-rw-r--r--documentation/template/titlepage.templates.xml1240
-rw-r--r--documentation/template/yocto-project-qs.pngbin17829 -> 0 bytes
-rwxr-xr-xdocumentation/tools/poky-docbook-to-pdf51
-rw-r--r--documentation/yocto-project-qs/Makefile32
-rwxr-xr-xdocumentation/yocto-project-qs/figures/building-an-image.pngbin14891 -> 0 bytes
-rwxr-xr-xdocumentation/yocto-project-qs/figures/cropped-yocto-project-bw.pngbin5453 -> 0 bytes
-rw-r--r--documentation/yocto-project-qs/figures/using-a-pre-built-image.pngbin12733 -> 0 bytes
-rwxr-xr-xdocumentation/yocto-project-qs/figures/white-on-black.pngbin18296 -> 0 bytes
-rwxr-xr-xdocumentation/yocto-project-qs/figures/yocto-environment.pngbin63851 -> 0 bytes
-rwxr-xr-xdocumentation/yocto-project-qs/figures/yocto-project-transp.pngbin8626 -> 0 bytes
-rw-r--r--documentation/yocto-project-qs/style.css963
-rw-r--r--documentation/yocto-project-qs/yocto-project-qs-customization.xsl8
-rw-r--r--documentation/yocto-project-qs/yocto-project-qs.xml493
76 files changed, 0 insertions, 15778 deletions
diff --git a/documentation/bsp-guide/Makefile b/documentation/bsp-guide/Makefile
deleted file mode 100644
index 93f2aabb44..0000000000
--- a/documentation/bsp-guide/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-XSLTOPTS = --stringparam html.stylesheet style.css \
- --stringparam chapter.autolabel 1 \
- --stringparam section.autolabel 1 \
- --stringparam section.label.includes.component.label 1 \
- --xinclude
-
-##
-# These URI should be rewritten by your distribution's xml catalog to
-# match your localy installed XSL stylesheets.
-XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current
-XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl
-
-all: html pdf tarball
-
-pdf:
- ../tools/poky-docbook-to-pdf bsp-guide.xml ../template
-
-html:
-# See http://www.sagehill.net/docbookxsl/HtmlOutput.html
- xsltproc $(XSLTOPTS) -o bsp-guide.html bsp-guide-customization.xsl bsp-guide.xml
-
-tarball: html
- tar -cvzf bsp-guide.tgz style.css bsp-guide.html figures/bsp-title.png
-
-validate:
- xmllint --postvalid --xinclude --noout bsp-guide.xml
-
-OUTPUTS = bsp-guide.pdf bsp-guide.html
-SOURCES = *.png *.xml *.css *.svg
-
-publish:
- scp -r $(OUTPUTS) $(SOURCES) o-hand.com:/srv/www/pokylinux.org/doc/
-
-clean:
- rm -f $(OUTPUTS)
diff --git a/documentation/bsp-guide/bsp-guide-customization.xsl b/documentation/bsp-guide/bsp-guide-customization.xsl
deleted file mode 100644
index 362ebed131..0000000000
--- a/documentation/bsp-guide/bsp-guide-customization.xsl
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version='1.0'?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
-
- <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" />
-
-</xsl:stylesheet>
diff --git a/documentation/bsp-guide/bsp-guide.xml b/documentation/bsp-guide/bsp-guide.xml
deleted file mode 100644
index 3479d159a1..0000000000
--- a/documentation/bsp-guide/bsp-guide.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
-
-<book id='bsp-guide' lang='en'
- xmlns:xi="http://www.w3.org/2003/XInclude"
- xmlns="http://docbook.org/ns/docbook"
- >
- <bookinfo>
-
- <mediaobject>
- <imageobject>
- <imagedata fileref='figures/bsp-title.png'
- format='SVG'
- align='center' scalefit='1' width='100%'/>
- </imageobject>
- </mediaobject>
-
- <title></title>
-
- <authorgroup>
- <author>
- <firstname>Richard</firstname> <surname>Purdie</surname>
- <affiliation>
- <orgname>Intel Corporation</orgname>
- </affiliation>
- <email>richard@linux.intel.com</email>
- </author>
- </authorgroup>
-
- <revhistory>
- <revision>
- <revnumber>0.9</revnumber>
- <date>27 October 2010</date>
- <revremark>Beta Draft</revremark>
- </revision>
- </revhistory>
-
- <copyright>
- <year>2010</year>
- <holder>Linux Foundation</holder>
- </copyright>
-
- <legalnotice>
- <para>
- Permission is granted to copy, distribute and/or modify this document under
- the terms of the <ulink type="http" url="http://creativecommons.org/licenses/by-nc-sa/2.0/uk/">Creative Commons Attribution-Non-Commercial-Share Alike 2.0 UK: England &amp; Wales</ulink> as published by Creative Commons.
- </para>
- </legalnotice>
-
- </bookinfo>
-
- <xi:include href="bsp.xml"/>
-
-<!-- <index id='index'>
- <title>Index</title>
- </index>
--->
-
-</book>
-<!--
-vim: expandtab tw=80 ts=4
--->
diff --git a/documentation/bsp-guide/bsp.xml b/documentation/bsp-guide/bsp.xml
deleted file mode 100644
index 076c08cf60..0000000000
--- a/documentation/bsp-guide/bsp.xml
+++ /dev/null
@@ -1,644 +0,0 @@
-<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
-
-<chapter id='bsp'>
-
- <title>Board Support Packages (BSP) - Developers Guide</title>
-
- <para>
- A Board Support Package (BSP) is a collection of information that
- defines how to support a particular hardware device, set of devices, or
- hardware platform.
- The BSP includes information about the hardware features
- present on the device and kernel configuration information along with any
- additional hardware drivers required.
- The BSP also lists any additional software
- components required in addition to a generic Linux software stack for both
- essential and optional platform features.
- </para>
-
- <para>
- This section (or document if you are reading the BSP Developer's Guide) defines
- a structure for these components
- so that BSPs follow a commonly understood layout.
- Providing a common form allows end-users to understand and become familiar
- with the layout.
- A common form also encourages standardization
- of software support of hardware.
- </para>
-
- <para>
- The proposed format does have elements that are specific to the Poky and
- OpenEmbedded build systems.
- It is intended that this information can be
- used by other systems besides Poky and OpenEmbedded and that it will be simple
- to extract information and convert it to other formats if required.
- Poky, through its standard layers mechanism, can directly accept the format
- described as a layer.
- The BSP captures all
- the hardware-specific details in one place in a standard format, which is
- useful for any person wishing to use the hardware platform regardless of
- the build system they are using.
- </para>
-
- <para>
- The BSP specification does not include a build system or other tools -
- it is concerned with the hardware-specific components only.
- At the end
- distribution point you can ship the BSP combined with a build system
- and other tools.
- However, it is important to maintain the distinction that these
- are separate components that happen to be combined in certain end products.
- </para>
-
- <section id="bsp-filelayout">
- <title>Example Filesystem Layout</title>
-
- <para>
- The BSP consists of a file structure inside a base directory, which uses the following
- naming convention:
- <literallayout class='monospaced'>
- meta-&lt;bsp_name&gt;
- </literallayout>
- "bsp_name" is a placeholder for the machine or platform name.
- Here are some example base directory names:
- <literallayout class='monospaced'>
- meta-emenlow
- meta-intel_n450
- meta-beagleboard
- </literallayout>
- </para>
-
- <para>
- Below is the common form for the file structure inside a base directory.
- While you can use this basic form for the standard, realize that the actual structures
- for specific BSPs could differ.
-
- <programlisting>
-meta-&lt;bsp_name&gt;/
-meta-&lt;bsp_name&gt;/&lt;bsp_license_file&gt;
-meta-&lt;bsp_name&gt;/README
-meta-&lt;bsp_name&gt;/binary/&lt;bootable_images&gt;
-meta-&lt;bsp_name&gt;/conf/layer.conf
-meta-&lt;bsp_name&gt;/conf/machine/*.conf
-meta-&lt;bsp_name&gt;/recipes-bsp/*
-meta-&lt;bsp_name&gt;/recipes-graphics/*
-meta-&lt;bsp_name&gt;/recipes-kernel/linux/linux-yocto-stable.bbappend
- </programlisting>
- </para>
-
- <para>
- Below is an example of the crownbay BSP:
-
- <programlisting>
-meta-crownbay/COPYING.MIT
-meta-crownbay/README
-meta-crownbay/binary/.gitignore
-meta-crownbay/conf/layer.conf
-meta-crownbay/conf/machine/crownbay.conf
-meta-crownbay/recipes-bsp/formfactor/formfactor/crownbay/machconfig
-meta-crownbay/recipes-bsp/formfactor/formfactor_0.0.bbappend
-meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-config/crownbay/xcorg.conf
-meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
-meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd-bin/.gitignore
-meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd-bin_1.7.99.2.bb
-meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/crosscompile.patch
-meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/fix_open_max_preprocessor_error.patch
-meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/macro_tweak.patch
-meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/nodolt.patch
-meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd_1.7.99.2.bb
-meta-crownbay/recipes-kernel/linux/linux-wrs_git.bbappend
- </programlisting>
- </para>
-
- <para>
- The following sections describe each part of the proposed BSP format.
- </para>
-
- <section id="bsp-filelayout-license">
- <title>License Files</title>
- <programlisting>
-meta-&lt;bsp_name&gt;/&lt;bsp_license_file&gt;
- </programlisting>
-
- <para>
- These optional files satisfy licensing requirements for the BSP.
- The type or types of files here can vary depending on the licensing requirements.
- For example, in the crownbay BSP all licensing requirements are handled with the
- <filename>COPYING.MIT</filename> file.
- </para>
-
- <para>
- Licensing files can be MIT, BSD, GPLv*, and so forth.
- These files are recommended for the BSP but are optional and totally up to the BSP developer.
- </para>
- </section>
-
- <section id="bsp-filelayout-readme">
- <title>README File</title>
- <programlisting>
-meta-&lt;bsp_name&gt;/README
- </programlisting>
-
- <para>
- This file provides information on how to boot the live images that are optionally
- included in the <filename>/binary</filename> directory.
- The <filename>README</filename> file also provides special information needed for
- building the image.
- </para>
-
- <para>
- Technically speaking a <filename>README</filename> is optional but it is highly
- recommended that every BSP has one.
- </para>
- </section>
-
- <section id="bsp-filelayout-binary">
- <title>Pre-built User Binaries</title>
- <programlisting>
-meta-&lt;bsp_name&gt;/binary/&lt;bootable_images&gt;
- </programlisting>
-
- <para>
- This optional area contains useful pre-built kernels and userspace filesystem
- images appropriate to the target system.
- This directory contains the Application Development Toolkit (ADT) and minimal
- live images when the BSP is has been "tar-balled" and placed on the Yocto Project website.
- You can use these kernels and images to get a system running and quickly get started
- on development tasks.
- </para>
-
- <para>
- The exact types of binaries present are highly hardware-dependent.
- However, a README file should be present in the BSP file structure that explains how to use
- the kernels and images with the target hardware.
- If pre-built binaries are present, source code to meet licensing requirements must also
- be provided in some form.
- </para>
- </section>
-
- <section id='bsp-filelayout-layer'>
- <title>Layer Configuration File</title>
- <programlisting>
-meta-&lt;bsp_name&gt;/conf/layer.conf
- </programlisting>
-
- <para>
- This file identifies the structure as a Poky layer, identifies the
- contents of the layer, and contains information about how Poky should use it.
- Generally, a standard boilerplate file such as the following works.
- In the following example you would replace "bsp" and "_bsp" with the actual name
- of the BSP (i.e. &lt;bsp_name&gt; from the example template).
- </para>
-
- <para>
- <programlisting>
-# We have a conf directory, add to BBPATH
-BBPATH := "${BBPATH}:${LAYERDIR}"
-
-# We have a recipes directory containing .bb and .bbappend files, add to BBFILES
-BBFILES := "${BBFILES} ${LAYERDIR}/recipes/*/*.bb \ ${LAYERDIR}/recipes/*/*.bbappend"
-
-BBFILE_COLLECTIONS += "bsp"
-BBFILE_PATTERN_bsp := "^${LAYERDIR}/"
-BBFILE_PRIORITY_bsp = "5"
- </programlisting>
- </para>
-
- <para>
- This file simply makes BitBake aware of the recipes and configuration directories.
- This file must exist so that Poky can recognize the BSP.
- </para>
- </section>
-
- <section id="bsp-filelayout-machine">
- <title>Hardware Configuration Options</title>
- <programlisting>
-meta-&lt;bsp_name&gt;/conf/machine/*.conf
- </programlisting>
-
- <para>
- The machine files bind together all the information contained elsewhere
- in the BSP into a format that Poky can understand.
- If the BSP supports multiple machines, multiple machine configuration files
- can be present.
- These filenames correspond to the values to which users have set the MACHINE variable.
- </para>
-
- <para>
- These files define things such as the kernel package to use
- (PREFERRED_PROVIDER of virtual/kernel), the hardware drivers to
- include in different types of images, any special software components
- that are needed, any bootloader information, and also any special image
- format requirements.
- </para>
-
- <para>
- At least one machine file is required for a BSP layer.
- However, you can supply more than one file.
- </para>
-
- <para>
- This directory could also contain shared hardware "tuning" definitions that are commonly used to
- pass specific optimization flags to the compiler.
- An example is <filename>tune-atom.inc</filename>:
- </para>
- <para>
- <programlisting>
-BASE_PACKAGE_ARCH = "core2"
-TARGET_CC_ARCH = "-m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse"
- </programlisting>
- </para>
- <para>
- This example defines a new package architecture called "core2" and uses the
- specified optimization flags, which are carefully chosen to give best
- performance on atom processors.
- </para>
- <para>
- The tune file would be included by the machine definition and can be
- contained in the BSP or referenced from one of the standard core set of
- files included with Poky itself.
- </para>
- <para>
- Both the base package architecture file and the tune file are optional for a Poky BSP layer.
- </para>
- </section>
-
- <section id='bsp-filelayout-misc-recipes'>
- <title>Miscellaneous Recipe Files</title>
- <programlisting>
-meta-&lt;bsp_name&gt;/recipes-bsp/*
- </programlisting>
-
- <para>
- This optional directory contains miscellaneous recipe files for the BSP.
- Most notably would be the formfactor files.
- For example, in the crownbay BSP there is a <filename>machconfig</filename> file and a
- <filename>formfactor_0.0.bbappend</filename> file:
- <programlisting>
-meta-crownbay/recipes-bsp/formfactor/formfactor/crownbay/machconfig
-meta-crownbay/recipes-bsp/formfactor/formfactor_0.0.bbappend
- </programlisting>
- </para>
-
- <note><para>
- If a BSP does not have a formfactor entry, defaults are established according to
- the configuration script.
- </para></note>
- </section>
-
- <section id='bsp-filelayout-recipes-graphics'>
- <title>Display Support Files</title>
- <programlisting>
-meta-&lt;bsp_name&gt;/recipes-graphics/*
- </programlisting>
-
- <para>
- This optional directory contains recipes for the BSP if it has
- special requirements for graphics support.
- All files that are needed for the BSP to support a display are kept here.
- For example, in the crownbay BSP several display support files exist:
- <programlisting>