2014-11-13 15:13:21 +00:00
|
|
|
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
|
|
|
|
[<!ENTITY % poky SYSTEM "../poky.ent"> %poky; ] >
|
|
|
|
|
|
|
|
<chapter id='toaster-manual-intro'>
|
|
|
|
<title>Introduction</title>
|
|
|
|
|
|
|
|
<para>
|
2015-02-13 15:48:24 +00:00
|
|
|
Toaster is web interface to the OpenEmbedded build system, which uses
|
2014-11-19 14:10:51 +00:00
|
|
|
BitBake.
|
2015-02-13 15:48:24 +00:00
|
|
|
The interface allows you to access a datastore that retains build
|
|
|
|
information and report out on the information.
|
|
|
|
</para>
|
|
|
|
<!--THE FOLLOWING IS DETAIL THAT I THINK BELEN WANTED OUT FOR THE MOMENT
|
|
|
|
The interface is based on a Representational State Transfer
|
2014-11-19 14:10:51 +00:00
|
|
|
(REST) API that queries for and returns build information using
|
|
|
|
<filename>GET</filename> and <filename>JSON</filename>.
|
|
|
|
These types of search operations retrieve sets of objects from
|
|
|
|
a datastore used to collect build information.
|
|
|
|
The results contain all the data for the objects being returned.
|
|
|
|
You can order the results of the search by key and the search
|
|
|
|
parameters are consistent for all object types.
|
2014-11-13 15:13:21 +00:00
|
|
|
</para>
|
2015-02-13 15:48:24 +00:00
|
|
|
-->
|
2014-11-13 15:13:21 +00:00
|
|
|
|
2015-02-03 16:44:46 +00:00
|
|
|
<para>
|
|
|
|
You can use Toaster in several different modes:
|
|
|
|
<itemizedlist>
|
2015-02-13 15:48:24 +00:00
|
|
|
<listitem><para><emphasis>Analysis Mode:</emphasis>
|
2015-02-03 16:44:46 +00:00
|
|
|
In this mode, you can record builds and statistics.
|
2015-02-13 15:48:24 +00:00
|
|
|
In Analysis Mode, you have direct access to the
|
2015-02-03 16:44:46 +00:00
|
|
|
<filename>bitbake</filename> command, which you use to build
|
2015-02-13 15:48:24 +00:00
|
|
|
images.</para>
|
|
|
|
<para>Analysis Mode requires you to have first started
|
|
|
|
Toaster and then to initiate your build using the
|
|
|
|
<filename>bitbake</filename> command from the shell.
|
|
|
|
Toaster must be started before the build or it will not
|
|
|
|
collect build data.
|
2015-02-03 16:44:46 +00:00
|
|
|
</para></listitem>
|
2015-02-13 15:48:24 +00:00
|
|
|
<listitem><para><emphasis>Build Mode:</emphasis>
|
2015-02-03 16:44:46 +00:00
|
|
|
In this mode, Toaster handles the build configuration GUI
|
2015-02-13 15:48:24 +00:00
|
|
|
(through project pages) and build scheduling and execution.
|
|
|
|
In this mode, all your interaction with the build system
|
|
|
|
happens through the web interface.
|
2015-02-03 16:44:46 +00:00
|
|
|
You do not have direct access to the
|
|
|
|
<filename>bitbake</filename> command.</para>
|
2015-02-13 15:48:24 +00:00
|
|
|
<para>Using this mode, you configure and start your builds
|
|
|
|
with Toaster's GUI.
|
|
|
|
Each configuration is a project, which requires version and
|
|
|
|
build system selection.
|
|
|
|
As shipped, Toaster supports the Yocto Project releases
|
|
|
|
1.8 and beyond.
|
|
|
|
Aside from these supported releases, you can also select
|
|
|
|
the "Local Yocto Project", which allows you to use your
|
|
|
|
local clone of the Yocto Project
|
|
|
|
<ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>
|
|
|
|
(e.g. <filename>poky</filename>).</para>
|
|
|
|
<para>Build Mode also works two separate ways: locally and
|
|
|
|
remotely.
|
|
|
|
While you can use Build Mode locally, it is best to use
|
|
|
|
Toaster's Build Mode through a hosted service where it can
|
|
|
|
shared by multiple user.
|
2015-02-03 16:44:46 +00:00
|
|
|
</para></listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</para>
|
|
|
|
|
2014-11-19 14:10:51 +00:00
|
|
|
<para>
|
2015-02-13 15:48:24 +00:00
|
|
|
Using Toaster, you can do the following:
|
|
|
|
<note><title>REVIEWER NOTE</title>
|
|
|
|
Belen suggested we split this list out into things that
|
|
|
|
Analysis Mode and Build Mode can do.
|
|
|
|
Also, we can structure the lists so the Build Mode list
|
|
|
|
leverages off what is listed for Analysis Mode.
|
|
|
|
I do not know the information for the complete lists.
|
|
|
|
Someone needs to help me out here.
|
|
|
|
For now, I am leaving the list as follows and will need some
|
|
|
|
information.
|
|
|
|
</note>
|
2014-11-19 14:10:51 +00:00
|
|
|
<itemizedlist>
|
2015-02-13 15:48:24 +00:00
|
|
|
<listitem><para>
|
|
|
|
See information about the tasks executed
|
|
|
|
and reused during the build.
|
|
|
|
</para></listitem>
|
|
|
|
<listitem><para>
|
|
|
|
See what is built (recipes and
|
2014-11-19 14:10:51 +00:00
|
|
|
packages) and what packages were installed into the final
|
2015-02-13 15:48:24 +00:00
|
|
|
image.
|
|
|
|
</para></listitem>
|
|
|
|
<listitem><para>
|
|
|
|
See performance-related information such
|
|
|
|
as build time, CPU usage, and disk I/O.
|
|
|
|
</para></listitem>
|
|
|
|
<listitem><para>
|
|
|
|
Examine error, warning and trace messages
|
|
|
|
to aid in debugging.
|
|
|
|
</para></listitem>
|
2014-11-19 14:10:51 +00:00
|
|
|
</itemizedlist>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<note>
|
2015-02-03 16:44:46 +00:00
|
|
|
<para>
|
2015-02-13 15:48:24 +00:00
|
|
|
This release of Toaster does allow you to configure and initiate
|
|
|
|
builds.
|
|
|
|
However, you cannot use Toaster to customize image recipes, which
|
|
|
|
still must either be done by hand or through
|
2015-02-03 16:44:46 +00:00
|
|
|
<ulink url='&YOCTO_HOME_URL;/tools-resources/projects/hob'>Hob</ulink>.
|
2015-02-13 15:48:24 +00:00
|
|
|
As Toaster matures, it eventually will equal and surpass Hob
|
|
|
|
functionality, at which time Hob will be deprecated.
|
2015-02-03 16:44:46 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2015-02-13 15:48:24 +00:00
|
|
|
For more information on Hob,
|
2015-02-03 16:44:46 +00:00
|
|
|
see the
|
|
|
|
"<ulink url='&YOCTO_DOCS_DEV_URL;#image-development-using-hob'>Image Development Using Hob</ulink>"
|
|
|
|
section in the Yocto Project Development Manual.
|
2014-11-19 14:10:51 +00:00
|
|
|
</para>
|
|
|
|
</note>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
The remainder of this manual describes what you need to have in
|
|
|
|
place to use Toaster, how to start it, use it, and stop it.
|
2015-02-13 15:48:24 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<!--THIS EXTRA INFORMATION PROBABLY WILL GO AWAY
|
2014-11-19 14:10:51 +00:00
|
|
|
For additional information on installing and running Toaster, see the
|
|
|
|
"<ulink url='https://wiki.yoctoproject.org/wiki/Toaster#Installation_and_Running'>Installation and Running</ulink>"
|
|
|
|
section of the "Toaster" wiki page.
|
|
|
|
For complete information on the API and its search operation
|
|
|
|
URI, parameters, and responses, see the
|
|
|
|
<ulink url='https://wiki.yoctoproject.org/wiki/REST_API_Contracts'>REST API Contracts</ulink>
|
|
|
|
Wiki page.
|
|
|
|
</para>
|
2014-11-13 15:13:21 +00:00
|
|
|
-->
|
2015-02-13 15:48:24 +00:00
|
|
|
</chapter>
|