summaryrefslogtreecommitdiffstats
path: root/documentation/toaster-manual/toaster-manual-intro.xml
blob: 378f33420c7a87c3ea64575607405134974c15eb (plain)
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
<!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 web interface to the OpenEmbedded build system, which uses
        BitBake.
        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
        (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.
    </para>
-->

    <para>
        You can use Toaster in several different modes:
        <itemizedlist>
            <listitem><para><emphasis>Analysis Mode:</emphasis>
                In this mode, you can record builds and statistics.
                In Analysis Mode, you have direct access to the
                <filename>bitbake</filename> command, which you use to build
                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.
                </para></listitem>
            <listitem><para><emphasis>Build Mode:</emphasis>
                In this mode, Toaster handles the build configuration GUI
                (through project pages) and build scheduling and execution.
                In this mode, all your interaction with the build system
                happens through the web interface.
                You do not have direct access to the
                <filename>bitbake</filename> command.</para>
                <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.
                </para></listitem>
        </itemizedlist>
    </para>

    <para>
        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>
        <itemizedlist>
            <listitem><para>
                See information about the tasks executed
                and reused during the build.
                </para></listitem>
            <listitem><para>
                See what is built (recipes and
                packages) and what packages were installed into the final
                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>
        </itemizedlist>
    </para>

    <note>
        <para>
            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
            <ulink url='&YOCTO_HOME_URL;/tools-resources/projects/hob'>Hob</ulink>.
            As Toaster matures, it eventually will equal and surpass Hob
            functionality, at which time Hob will be deprecated.
        </para>

        <para>
            For more information on Hob,
            see the
            "<ulink url='&YOCTO_DOCS_DEV_URL;#image-development-using-hob'>Image Development Using Hob</ulink>"
           section in the Yocto Project Development Manual.
        </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.
    </para>

<!--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>