toaster-manual-intro.xml 7.6 KB

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