Andrew Geissler | f034379 | 2020-11-18 10:42:21 -0600 | [diff] [blame] | 1 | .. SPDX-License-Identifier: CC-BY-SA-2.0-UK |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 2 | |
| 3 | ************ |
| 4 | Introduction |
| 5 | ************ |
| 6 | |
| 7 | Toaster is a web interface to the Yocto Project's |
| 8 | :term:`OpenEmbedded Build System`. The interface |
| 9 | enables you to configure and run your builds. Information about builds |
| 10 | is collected and stored in a database. You can use Toaster to configure |
| 11 | and start builds on multiple remote build servers. |
| 12 | |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 13 | Toaster Features |
| 14 | ================ |
| 15 | |
| 16 | Toaster allows you to configure and run builds, and it provides |
| 17 | extensive information about the build process. |
| 18 | |
| 19 | - *Configure and Run Builds:* You can use the Toaster web interface to |
| 20 | configure and start your builds. Builds started using the Toaster web |
| 21 | interface are organized into projects. When you create a project, you |
| 22 | are asked to select a release, or version of the build system you |
| 23 | want to use for the project builds. As shipped, Toaster supports |
| 24 | Yocto Project releases 1.8 and beyond. With the Toaster web |
| 25 | interface, you can: |
| 26 | |
| 27 | - Browse layers listed in the various |
Andrew Geissler | 09209ee | 2020-12-13 08:44:15 -0600 | [diff] [blame] | 28 | :ref:`layer sources <toaster-manual/reference:layer source>` |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 29 | that are available in your project (e.g. the OpenEmbedded Layer Index at |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 30 | :oe_layerindex:`/`). |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 31 | |
| 32 | - Browse images, recipes, and machines provided by those layers. |
| 33 | |
| 34 | - Import your own layers for building. |
| 35 | |
| 36 | - Add and remove layers from your configuration. |
| 37 | |
| 38 | - Set configuration variables. |
| 39 | |
| 40 | - Select a target or multiple targets to build. |
| 41 | |
| 42 | - Start your builds. |
| 43 | |
| 44 | Toaster also allows you to configure and run your builds from the |
| 45 | command line, and switch between the command line and the web |
| 46 | interface at any time. Builds started from the command line appear |
| 47 | within a special Toaster project called "Command line builds". |
| 48 | |
| 49 | - *Information About the Build Process:* Toaster also records extensive |
| 50 | information about your builds. Toaster collects data for builds you |
| 51 | start from the web interface and from the command line as long as |
| 52 | Toaster is running. |
| 53 | |
| 54 | .. note:: |
| 55 | |
| 56 | You must start Toaster before the build or it will not collect |
| 57 | build data. |
| 58 | |
| 59 | With Toaster you can: |
| 60 | |
| 61 | - See what was built (recipes and packages) and what packages were |
| 62 | installed into your final image. |
| 63 | |
| 64 | - Browse the directory structure of your image. |
| 65 | |
| 66 | - See the value of all variables in your build configuration, and |
| 67 | which files set each value. |
| 68 | |
| 69 | - Examine error, warning, and trace messages to aid in debugging. |
| 70 | |
| 71 | - See information about the BitBake tasks executed and reused during |
| 72 | your build, including those that used shared state. |
| 73 | |
| 74 | - See dependency relationships between recipes, packages, and tasks. |
| 75 | |
| 76 | - See performance information such as build time, task time, CPU |
| 77 | usage, and disk I/O. |
| 78 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 79 | For an overview of Toaster, see this |
| 80 | `introduction video <https://youtu.be/BlXdOYLgPxA>`__. |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 81 | |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 82 | Installation Options |
| 83 | ==================== |
| 84 | |
| 85 | You can set Toaster up to run as a local instance or as a shared hosted |
| 86 | service. |
| 87 | |
| 88 | When Toaster is set up as a local instance, all the components reside on |
| 89 | a single build host. Fundamentally, a local instance of Toaster is |
| 90 | suited for a single user developing on a single build host. |
| 91 | |
| 92 | .. image:: figures/simple-configuration.png |
| 93 | :align: center |
Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 94 | :width: 70% |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 95 | |
| 96 | Toaster as a hosted service is suited for multiple users developing |
| 97 | across several build hosts. When Toaster is set up as a hosted service, |
| 98 | its components can be spread across several machines: |
| 99 | |
| 100 | .. image:: figures/hosted-service.png |
| 101 | :align: center |
Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 102 | :width: 50% |