ref-images.xml 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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='ref-images'>
  5. <title>Images</title>
  6. <para>
  7. The OpenEmbedded build system provides several example
  8. images to satisfy different needs.
  9. When you issue the <filename>bitbake</filename> command you provide a “top-level” recipe
  10. that essentially begins the build for the type of image you want.
  11. </para>
  12. <note>
  13. Building an image without GNU General Public License Version 3 (GPLv3),
  14. GNU Lesser General Public License Version 3 (LGPLv3), and the
  15. GNU Affero General Public License Version 3 (AGPL-3.0) components
  16. is only supported for minimal and base images.
  17. Furthermore, if you are going to build an image using non-GPLv3 and
  18. similarly licensed components, you must make the following changes in
  19. the <filename>local.conf</filename> file before using the BitBake
  20. command to build the minimal or base image:
  21. <literallayout class='monospaced'>
  22. 1. Comment out the EXTRA_IMAGE_FEATURES line
  23. 2. Set INCOMPATIBLE_LICENSE = "GPL-3.0 LGPL-3.0 AGPL-3.0"
  24. </literallayout>
  25. </note>
  26. <para>
  27. From within the <filename>poky</filename> Git repository, you can use
  28. the following command to display the list of directories within the
  29. <link linkend='source-directory'>Source Directory</link>
  30. that contain image recipe files:
  31. <literallayout class='monospaced'>
  32. $ ls meta*/recipes*/images/*.bb
  33. </literallayout>
  34. </para>
  35. <para>
  36. Following is a list of supported recipes:
  37. <itemizedlist>
  38. <listitem><para>
  39. <filename>build-appliance-image</filename>:
  40. An example virtual machine that contains all the pieces
  41. required to run builds using the build system as well as the
  42. build system itself.
  43. You can boot and run the image using either the
  44. <ulink url='http://www.vmware.com/products/player/overview.html'>VMware Player</ulink>
  45. or
  46. <ulink url='http://www.vmware.com/products/workstation/overview.html'>VMware Workstation</ulink>.
  47. For more information on this image, see the
  48. <ulink url='&YOCTO_HOME_URL;/software-item/build-appliance/'>Build Appliance</ulink>
  49. page on the Yocto Project website.
  50. </para></listitem>
  51. <listitem><para><filename>core-image-base</filename>:
  52. A console-only image that fully supports the target device hardware.</para></listitem>
  53. <listitem><para><filename>core-image-clutter</filename>:
  54. An image with support for the Open GL-based toolkit Clutter, which enables development of
  55. rich and animated graphical user interfaces.</para></listitem>
  56. <listitem><para><filename>core-image-full-cmdline</filename>:
  57. A console-only image with more full-featured Linux system
  58. functionality installed.</para></listitem>
  59. <listitem><para><filename>core-image-lsb</filename>:
  60. An image that conforms to the Linux Standard Base (LSB)
  61. specification.
  62. This image requires a distribution configuration that
  63. enables LSB compliance (e.g. <filename>poky-lsb</filename>).
  64. If you build <filename>core-image-lsb</filename> without that
  65. configuration, the image will not be LSB-compliant.
  66. </para></listitem>
  67. <listitem><para><filename>core-image-lsb-dev</filename>:
  68. A <filename>core-image-lsb</filename> image that is suitable for development work
  69. using the host.
  70. The image includes headers and libraries you can use in a host development
  71. environment.
  72. This image requires a distribution configuration that
  73. enables LSB compliance (e.g. <filename>poky-lsb</filename>).
  74. If you build <filename>core-image-lsb-dev</filename> without that
  75. configuration, the image will not be LSB-compliant.
  76. </para></listitem>
  77. <listitem><para><filename>core-image-lsb-sdk</filename>:
  78. A <filename>core-image-lsb</filename> that includes everything in
  79. the cross-toolchain but also includes development headers and libraries
  80. to form a complete standalone SDK.
  81. This image requires a distribution configuration that
  82. enables LSB compliance (e.g. <filename>poky-lsb</filename>).
  83. If you build <filename>core-image-lsb-sdk</filename> without that
  84. configuration, the image will not be LSB-compliant.
  85. This image is suitable for development using the target.</para></listitem>
  86. <listitem><para><filename>core-image-minimal</filename>:
  87. A small image just capable of allowing a device to boot.</para></listitem>
  88. <listitem><para><filename>core-image-minimal-dev</filename>:
  89. A <filename>core-image-minimal</filename> image suitable for development work
  90. using the host.
  91. The image includes headers and libraries you can use in a host development
  92. environment.
  93. </para></listitem>
  94. <listitem><para id='images-core-image-minimal-initramfs'><filename>core-image-minimal-initramfs</filename>:
  95. A <filename>core-image-minimal</filename> image that has the Minimal RAM-based
  96. Initial Root Filesystem (initramfs) as part of the kernel,
  97. which allows the system to find the first “init” program more efficiently.
  98. See the
  99. <link linkend='var-PACKAGE_INSTALL'><filename>PACKAGE_INSTALL</filename></link>
  100. variable for additional information helpful when working with
  101. initramfs images.
  102. </para></listitem>
  103. <listitem><para><filename>core-image-minimal-mtdutils</filename>:
  104. A <filename>core-image-minimal</filename> image that has support
  105. for the Minimal MTD Utilities, which let the user interact with the
  106. MTD subsystem in the kernel to perform operations on flash devices.
  107. </para></listitem>
  108. <listitem><para><filename>core-image-rt</filename>:
  109. A <filename>core-image-minimal</filename> image plus a real-time test suite and
  110. tools appropriate for real-time use.</para></listitem>
  111. <listitem><para><filename>core-image-rt-sdk</filename>:
  112. A <filename>core-image-rt</filename> image that includes everything in
  113. the cross-toolchain.
  114. The image also includes development headers and libraries to form a complete
  115. stand-alone SDK and is suitable for development using the target.
  116. </para></listitem>
  117. <listitem><para><filename>core-image-sato</filename>:
  118. An image with Sato support, a mobile environment and visual style that works well
  119. with mobile devices.
  120. The image supports X11 with a Sato theme and applications such as
  121. a terminal, editor, file manager, media player, and so forth.
  122. </para></listitem>
  123. <listitem><para><filename>core-image-sato-dev</filename>:
  124. A <filename>core-image-sato</filename> image suitable for development
  125. using the host.
  126. The image includes libraries needed to build applications on the device itself,
  127. testing and profiling tools, and debug symbols.
  128. This image was formerly <filename>core-image-sdk</filename>.
  129. </para></listitem>
  130. <listitem><para><filename>core-image-sato-sdk</filename>:
  131. A <filename>core-image-sato</filename> image that includes everything in
  132. the cross-toolchain.
  133. The image also includes development headers and libraries to form a complete standalone SDK
  134. and is suitable for development using the target.</para></listitem>
  135. <listitem><para><filename>core-image-testmaster</filename>:
  136. A "master" image designed to be used for automated runtime testing.
  137. Provides a "known good" image that is deployed to a separate
  138. partition so that you can boot into it and use it to deploy a
  139. second image to be tested.
  140. You can find more information about runtime testing in the
  141. "<ulink url='&YOCTO_DOCS_DEV_URL;#performing-automated-runtime-testing'>Performing Automated Runtime Testing</ulink>"
  142. section in the Yocto Project Development Tasks Manual.
  143. </para></listitem>
  144. <listitem><para><filename>core-image-testmaster-initramfs</filename>:
  145. A RAM-based Initial Root Filesystem (initramfs) image tailored for
  146. use with the <filename>core-image-testmaster</filename> image.
  147. </para></listitem>
  148. <listitem><para><filename>core-image-weston</filename>:
  149. A very basic Wayland image with a terminal.
  150. This image provides the Wayland protocol libraries and the
  151. reference Weston compositor.
  152. For more information, see the
  153. "<ulink url='&YOCTO_DOCS_DEV_URL;#dev-using-wayland-and-weston'>Using Wayland and Weston</ulink>"
  154. section in the Yocto Project Development Tasks Manual.
  155. </para></listitem>
  156. <listitem><para><filename>core-image-x11</filename>:
  157. A very basic X11 image with a terminal.
  158. </para></listitem>
  159. </itemizedlist>
  160. </para>
  161. </chapter>
  162. <!--
  163. vim: expandtab tw=80 ts=4
  164. -->