1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
|
<!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>
Toaster is a web interface to the Yocto Project's
<ulink url='&YOCTO_DOCS_REF_URL;#build-system-term'>OpenEmbedded build system</ulink>.
The interface enables you to configure and run your builds.
Information about builds is collected and stored in a database.
You can use Toaster to configure and start builds on multiple
remote build servers.
</para>
<section id='intro-features'>
<title>Toaster Features</title>
<para>
Toaster allows you to configure and run builds, and it
provides extensive information about the build process.
<itemizedlist>
<listitem><para id='toaster-build-features'>
<emphasis>Configure and Run Builds:</emphasis>
You can use the Toaster web interface to configure and
start your builds.
Builds started using the Toaster web interface are
organized into projects.
When you create a project, you are asked to select a
release, or version of the build system you want to
use for the project builds.
As shipped, Toaster supports Yocto Project releases 1.8
and beyond.
With the Toaster web interface, you can:
<itemizedlist>
<listitem><para>
Browse layers listed in the various
<link linkend='layer-source'>layer sources</link>
that are available in your project (e.g. the
OpenEmbedded Layer Index at
<ulink url='http://layers.openembedded.org/layerindex/'></ulink>).
</para></listitem>
<listitem><para>
Browse images, recipes, and machines provided by
those layers.
</para></listitem>
<listitem><para>
Import your own layers for building.
</para></listitem>
<listitem><para>
Add and remove layers from your configuration.
</para></listitem>
<listitem><para>
Set configuration variables.
</para></listitem>
<listitem><para>
Select a target or multiple targets to build.
</para></listitem>
<listitem><para>
Start your builds.
</para></listitem>
</itemizedlist>
Toaster also allows you to configure and run your builds
from the command line, and switch between the command line and
the web interface at any time.
Builds started from the command line appear within a special
Toaster project called "Command line builds".
</para></listitem>
<listitem><para id='toaster-analysis-features'>
<emphasis>Information About the Build Process:</emphasis>
Toaster also records extensive information about your builds.
Toaster collects data for builds you start from the web
interface and from the command line as long as Toaster
is running.
<note>
You must start Toaster before the build or it will not
collect build data.
</note></para>
<para>With Toaster you can:
<itemizedlist>
<listitem><para>
See what was built (recipes and packages) and what
packages were installed into your final image.
</para></listitem>
<listitem><para>
Browse the directory structure of your image.
</para></listitem>
<listitem><para>
See the value of all variables in your build
configuration, and which files set each value.
</para></listitem>
<listitem><para>
Examine error, warning, and trace messages to aid
in debugging.
</para></listitem>
<listitem><para>
See information about the BitBake tasks executed
and reused during your build, including those that
used shared state.
</para></listitem>
<listitem><para>
See dependency relationships between recipes,
packages, and tasks.
</para></listitem>
<listitem><para>
See performance information such as build time,
task time, CPU usage, and disk I/O.
</para></listitem>
</itemizedlist>
</para></listitem>
</itemizedlist>
</para>
<para>
For an overview of Toaster shipped with the Yocto Project &DISTRO;
Release, see the
"<ulink url='https://youtu.be/BlXdOYLgPxA'>Toaster - Yocto Project 2.2</ulink>"
video.
</para>
</section>
<section id='toaster-installation-options'>
<title>Installation Options</title>
<para>
You can set Toaster up to run as a local instance or as a shared
hosted service.
</para>
<para>
When Toaster is set up as a local instance, all the components
reside on a single build host.
Fundamentally, a local instance of Toaster is suited for a single
user developing on a single build host.
</para>
<para>
<imagedata fileref="figures/simple-configuration.png" align="center" width="6in" depth="1.5in" />
</para>
<para>
Toaster as a hosted service is suited for multiple users
developing across several build hosts.
When Toaster is set up as a hosted service, its components can
be spread across several machines:
</para>
<para>
<imagedata fileref="figures/hosted-service.png" align="center" width="6in" depth="3.5in" />
</para>
</section>
<!--THIS EXTRA INFORMATION PROBABLY WILL GO AWAY
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>
-->
</chapter>
|