109209eecSAndrew Geissler.. SPDX-License-Identifier: CC-BY-SA-2.0-UK 209209eecSAndrew Geissler 309209eecSAndrew Geissler========================= 409209eecSAndrew GeisslerYocto Project Quick Build 509209eecSAndrew Geissler========================= 609209eecSAndrew Geissler 709209eecSAndrew GeisslerWelcome! 809209eecSAndrew Geissler======== 909209eecSAndrew Geissler 1009209eecSAndrew GeisslerThis short document steps you through the process for a typical 1109209eecSAndrew Geisslerimage build using the Yocto Project. The document also introduces how to 1209209eecSAndrew Geisslerconfigure a build for specific hardware. You will use Yocto Project to 1309209eecSAndrew Geisslerbuild a reference embedded OS called Poky. 1409209eecSAndrew Geissler 1509209eecSAndrew Geissler.. note:: 1609209eecSAndrew Geissler 1709209eecSAndrew Geissler - The examples in this paper assume you are using a native Linux 1809209eecSAndrew Geissler system running a recent Ubuntu Linux distribution. If the machine 1909209eecSAndrew Geissler you want to use Yocto Project on to build an image 2009209eecSAndrew Geissler (:term:`Build Host`) is not 2109209eecSAndrew Geissler a native Linux system, you can still perform these steps by using 2209209eecSAndrew Geissler CROss PlatformS (CROPS) and setting up a Poky container. See the 2309209eecSAndrew Geissler :ref:`dev-manual/start:setting up to use cross platforms (crops)` 2409209eecSAndrew Geissler section 2509209eecSAndrew Geissler in the Yocto Project Development Tasks Manual for more 2609209eecSAndrew Geissler information. 2709209eecSAndrew Geissler 2809209eecSAndrew Geissler - You may use Windows Subsystem For Linux v2 to set up a build host 2909209eecSAndrew Geissler using Windows 10. 3009209eecSAndrew Geissler 3109209eecSAndrew Geissler .. note:: 3209209eecSAndrew Geissler 3309209eecSAndrew Geissler The Yocto Project is not compatible with WSLv1, it is 3409209eecSAndrew Geissler compatible but not officially supported nor validated with 3509209eecSAndrew Geissler WSLv2, if you still decide to use WSL please upgrade to WSLv2. 3609209eecSAndrew Geissler 3709209eecSAndrew Geissler See the :ref:`dev-manual/start:setting up to use windows 3809209eecSAndrew Geissler subsystem for linux (wslv2)` section in the Yocto Project Development 3909209eecSAndrew Geissler Tasks Manual for more information. 4009209eecSAndrew Geissler 4109209eecSAndrew GeisslerIf you want more conceptual or background information on the Yocto 4209209eecSAndrew GeisslerProject, see the :doc:`/overview-manual/index`. 4309209eecSAndrew Geissler 4409209eecSAndrew GeisslerCompatible Linux Distribution 4509209eecSAndrew Geissler============================= 4609209eecSAndrew Geissler 4709209eecSAndrew GeisslerMake sure your :term:`Build Host` meets the 4809209eecSAndrew Geisslerfollowing requirements: 4909209eecSAndrew Geissler 5009209eecSAndrew Geissler- 50 Gbytes of free disk space 5109209eecSAndrew Geissler 5209209eecSAndrew Geissler- Runs a supported Linux distribution (i.e. recent releases of Fedora, 5309209eecSAndrew Geissler openSUSE, CentOS, Debian, or Ubuntu). For a list of Linux 5409209eecSAndrew Geissler distributions that support the Yocto Project, see the 5509209eecSAndrew Geissler :ref:`ref-manual/system-requirements:supported linux distributions` 5609209eecSAndrew Geissler section in the Yocto Project Reference Manual. For detailed 5709209eecSAndrew Geissler information on preparing your build host, see the 5809209eecSAndrew Geissler :ref:`dev-manual/start:preparing the build host` 5909209eecSAndrew Geissler section in the Yocto Project Development Tasks Manual. 6009209eecSAndrew Geissler 6109209eecSAndrew Geissler- 6209209eecSAndrew Geissler 6309209eecSAndrew Geissler - Git 1.8.3.1 or greater 6409209eecSAndrew Geissler - tar 1.28 or greater 6509209eecSAndrew Geissler - Python 3.5.0 or greater. 6609209eecSAndrew Geissler - gcc 5.0 or greater. 6709209eecSAndrew Geissler 6809209eecSAndrew GeisslerIf your build host does not meet any of these three listed version 6909209eecSAndrew Geisslerrequirements, you can take steps to prepare the system so that you 7009209eecSAndrew Geisslercan still use the Yocto Project. See the 7109209eecSAndrew Geissler:ref:`ref-manual/system-requirements:required git, tar, python and gcc versions` 7209209eecSAndrew Geisslersection in the Yocto Project Reference Manual for information. 7309209eecSAndrew Geissler 7409209eecSAndrew GeisslerBuild Host Packages 7509209eecSAndrew Geissler=================== 7609209eecSAndrew Geissler 7709209eecSAndrew GeisslerYou must install essential host packages on your build host. The 7809209eecSAndrew Geisslerfollowing command installs the host packages based on an Ubuntu 7909209eecSAndrew Geisslerdistribution: 8009209eecSAndrew Geissler 8109209eecSAndrew Geissler.. code-block:: shell 8209209eecSAndrew Geissler 8309209eecSAndrew Geissler $ sudo apt-get install &UBUNTU_HOST_PACKAGES_ESSENTIAL; 8409209eecSAndrew Geissler 8509209eecSAndrew Geissler.. note:: 8609209eecSAndrew Geissler 8709209eecSAndrew Geissler For host package requirements on all supported Linux distributions, 8809209eecSAndrew Geissler see the :ref:`ref-manual/system-requirements:required packages for the build host` 8909209eecSAndrew Geissler section in the Yocto Project Reference Manual. 9009209eecSAndrew Geissler 9109209eecSAndrew GeisslerUse Git to Clone Poky 9209209eecSAndrew Geissler===================== 9309209eecSAndrew Geissler 9409209eecSAndrew GeisslerOnce you complete the setup instructions for your machine, you need to 9509209eecSAndrew Geisslerget a copy of the Poky repository on your build host. Use the following 9609209eecSAndrew Geisslercommands to clone the Poky repository. 9709209eecSAndrew Geissler 9809209eecSAndrew Geissler.. code-block:: shell 9909209eecSAndrew Geissler 10009209eecSAndrew Geissler $ git clone git://git.yoctoproject.org/poky 10109209eecSAndrew Geissler Cloning into 'poky'... 10209209eecSAndrew Geissler remote: Counting 10309209eecSAndrew Geissler objects: 432160, done. remote: Compressing objects: 100% 10409209eecSAndrew Geissler (102056/102056), done. remote: Total 432160 (delta 323116), reused 10509209eecSAndrew Geissler 432037 (delta 323000) Receiving objects: 100% (432160/432160), 153.81 MiB | 8.54 MiB/s, done. 10609209eecSAndrew Geissler Resolving deltas: 100% (323116/323116), done. 10709209eecSAndrew Geissler Checking connectivity... done. 10809209eecSAndrew Geissler 10909209eecSAndrew GeisslerMove to the ``poky`` directory and take a look at the tags: 11009209eecSAndrew Geissler 11109209eecSAndrew Geissler.. code-block:: shell 11209209eecSAndrew Geissler 11309209eecSAndrew Geissler $ cd poky 11409209eecSAndrew Geissler $ git fetch --tags 11509209eecSAndrew Geissler $ git tag 11609209eecSAndrew Geissler 1.1_M1.final 11709209eecSAndrew Geissler 1.1_M1.rc1 11809209eecSAndrew Geissler 1.1_M1.rc2 11909209eecSAndrew Geissler 1.1_M2.final 12009209eecSAndrew Geissler 1.1_M2.rc1 12109209eecSAndrew Geissler . 12209209eecSAndrew Geissler . 12309209eecSAndrew Geissler . 12409209eecSAndrew Geissler yocto-2.5 12509209eecSAndrew Geissler yocto-2.5.1 12609209eecSAndrew Geissler yocto-2.5.2 12709209eecSAndrew Geissler yocto-2.6 12809209eecSAndrew Geissler yocto-2.6.1 12909209eecSAndrew Geissler yocto-2.6.2 13009209eecSAndrew Geissler yocto-2.7 13109209eecSAndrew Geissler yocto_1.5_M5.rc8 13209209eecSAndrew Geissler 13309209eecSAndrew GeisslerFor this example, check out the branch based on the 13409209eecSAndrew Geissler``&DISTRO_REL_TAG;`` release: 13509209eecSAndrew Geissler 13609209eecSAndrew Geissler.. code-block:: shell 13709209eecSAndrew Geissler 13809209eecSAndrew Geissler $ git checkout tags/&DISTRO_REL_TAG; -b my-&DISTRO_REL_TAG; 13909209eecSAndrew Geissler Switched to a new branch 'my-&DISTRO_REL_TAG;' 14009209eecSAndrew Geissler 14109209eecSAndrew GeisslerThe previous Git checkout command creates a local branch named 14209209eecSAndrew Geissler``my-&DISTRO_REL_TAG;``. The files available to you in that branch exactly 14309209eecSAndrew Geisslermatch the repository's files in the ``&DISTRO_NAME_NO_CAP;`` development 14409209eecSAndrew Geisslerbranch at the time of the Yocto Project &DISTRO_REL_TAG; release. 14509209eecSAndrew Geissler 14609209eecSAndrew GeisslerFor more options and information about accessing Yocto Project related 14709209eecSAndrew Geisslerrepositories, see the 14809209eecSAndrew Geissler:ref:`dev-manual/start:locating yocto project source files` 14909209eecSAndrew Geisslersection in the Yocto Project Development Tasks Manual. 15009209eecSAndrew Geissler 15109209eecSAndrew GeisslerBuilding Your Image 15209209eecSAndrew Geissler=================== 15309209eecSAndrew Geissler 15409209eecSAndrew GeisslerUse the following steps to build your image. The build process creates 15509209eecSAndrew Geissleran entire Linux distribution, including the toolchain, from source. 15609209eecSAndrew Geissler 15709209eecSAndrew Geissler.. note:: 15809209eecSAndrew Geissler 15909209eecSAndrew Geissler - If you are working behind a firewall and your build host is not 16009209eecSAndrew Geissler set up for proxies, you could encounter problems with the build 16109209eecSAndrew Geissler process when fetching source code (e.g. fetcher failures or Git 16209209eecSAndrew Geissler failures). 16309209eecSAndrew Geissler 16409209eecSAndrew Geissler - If you do not know your proxy settings, consult your local network 16509209eecSAndrew Geissler infrastructure resources and get that information. A good starting 16609209eecSAndrew Geissler point could also be to check your web browser settings. Finally, 16709209eecSAndrew Geissler you can find more information on the 16809209eecSAndrew Geissler ":yocto_wiki:`Working Behind a Network Proxy </Working_Behind_a_Network_Proxy>`" 16909209eecSAndrew Geissler page of the Yocto Project Wiki. 17009209eecSAndrew Geissler 17109209eecSAndrew Geissler#. **Initialize the Build Environment:** From within the ``poky`` 17209209eecSAndrew Geissler directory, run the :ref:`ref-manual/structure:\`\`oe-init-build-env\`\`` 17309209eecSAndrew Geissler environment 17409209eecSAndrew Geissler setup script to define Yocto Project's build environment on your 17509209eecSAndrew Geissler build host. 17609209eecSAndrew Geissler 17709209eecSAndrew Geissler .. code-block:: shell 17809209eecSAndrew Geissler 17909209eecSAndrew Geissler $ cd ~/poky 18009209eecSAndrew Geissler $ source oe-init-build-env 18109209eecSAndrew Geissler You had no conf/local.conf file. This configuration file has therefore been 18209209eecSAndrew Geissler created for you with some default values. You may wish to edit it to, for 18309209eecSAndrew Geissler example, select a different MACHINE (target hardware). See conf/local.conf 18409209eecSAndrew Geissler for more information as common configuration options are commented. 18509209eecSAndrew Geissler 18609209eecSAndrew Geissler You had no conf/bblayers.conf file. This configuration file has therefore 18709209eecSAndrew Geissler been created for you with some default values. To add additional metadata 18809209eecSAndrew Geissler layers into your configuration please add entries to conf/bblayers.conf. 18909209eecSAndrew Geissler 19009209eecSAndrew Geissler The Yocto Project has extensive documentation about OE including a reference 19109209eecSAndrew Geissler manual which can be found at: 19209209eecSAndrew Geissler http://yoctoproject.org/documentation 19309209eecSAndrew Geissler 19409209eecSAndrew Geissler For more information about OpenEmbedded see their website: 19509209eecSAndrew Geissler http://www.openembedded.org/ 19609209eecSAndrew Geissler 19709209eecSAndrew Geissler ### Shell environment set up for builds. ### 19809209eecSAndrew Geissler 19909209eecSAndrew Geissler You can now run 'bitbake <target>' 20009209eecSAndrew Geissler 20109209eecSAndrew Geissler Common targets are: 20209209eecSAndrew Geissler core-image-minimal 20309209eecSAndrew Geissler core-image-sato 20409209eecSAndrew Geissler meta-toolchain 20509209eecSAndrew Geissler meta-ide-support 20609209eecSAndrew Geissler 20709209eecSAndrew Geissler You can also run generated qemu images with a command like 'runqemu qemux86-64' 20809209eecSAndrew Geissler 20909209eecSAndrew Geissler Among other things, the script creates the :term:`Build Directory`, which is 21009209eecSAndrew Geissler ``build`` in this case and is located in the :term:`Source Directory`. After 21109209eecSAndrew Geissler the script runs, your current working directory is set to the Build 21209209eecSAndrew Geissler Directory. Later, when the build completes, the Build Directory contains all the 21309209eecSAndrew Geissler files created during the build. 21409209eecSAndrew Geissler 21509209eecSAndrew Geissler#. **Examine Your Local Configuration File:** When you set up the build 21609209eecSAndrew Geissler environment, a local configuration file named ``local.conf`` becomes 21709209eecSAndrew Geissler available in a ``conf`` subdirectory of the Build Directory. For this 21809209eecSAndrew Geissler example, the defaults are set to build for a ``qemux86`` target, 21909209eecSAndrew Geissler which is suitable for emulation. The package manager used is set to 22009209eecSAndrew Geissler the RPM package manager. 22109209eecSAndrew Geissler 22209209eecSAndrew Geissler .. tip:: 22309209eecSAndrew Geissler 22409209eecSAndrew Geissler You can significantly speed up your build and guard against fetcher 22509209eecSAndrew Geissler failures by using mirrors. To use mirrors, add these lines to your 22609209eecSAndrew Geissler local.conf file in the Build directory: :: 22709209eecSAndrew Geissler 22809209eecSAndrew Geissler SSTATE_MIRRORS = "\ 22909209eecSAndrew Geissler file://.* http://sstate.yoctoproject.org/dev/PATH;downloadfilename=PATH \n \ 23009209eecSAndrew Geissler file://.* http://sstate.yoctoproject.org/&YOCTO_DOC_VERSION_MINUS_ONE;/PATH;downloadfilename=PATH \n \ 23109209eecSAndrew Geissler file://.* http://sstate.yoctoproject.org/&YOCTO_DOC_VERSION;/PATH;downloadfilename=PATH \n \ 23209209eecSAndrew Geissler " 23309209eecSAndrew Geissler 23409209eecSAndrew Geissler 23509209eecSAndrew Geissler The previous examples showed how to add sstate paths for Yocto Project 23609209eecSAndrew Geissler &YOCTO_DOC_VERSION_MINUS_ONE;, &YOCTO_DOC_VERSION;, and a development 23709209eecSAndrew Geissler area. For a complete index of sstate locations, see http://sstate.yoctoproject.org/. 23809209eecSAndrew Geissler 23909209eecSAndrew Geissler#. **Start the Build:** Continue with the following command to build an OS 24009209eecSAndrew Geissler image for the target, which is ``core-image-sato`` in this example: 24109209eecSAndrew Geissler 24209209eecSAndrew Geissler .. code-block:: shell 24309209eecSAndrew Geissler 24409209eecSAndrew Geissler $ bitbake core-image-sato 24509209eecSAndrew Geissler 24609209eecSAndrew Geissler For information on using the ``bitbake`` command, see the 24709209eecSAndrew Geissler :ref:`overview-manual/concepts:bitbake` section in the Yocto Project Overview and 24809209eecSAndrew Geissler Concepts Manual, or see the ":ref:`BitBake Command 24909209eecSAndrew Geissler <bitbake:bitbake-user-manual/bitbake-user-manual-intro:the bitbake command>`" section in the BitBake User Manual. 25009209eecSAndrew Geissler 25109209eecSAndrew Geissler#. **Simulate Your Image Using QEMU:** Once this particular image is 25209209eecSAndrew Geissler built, you can start QEMU, which is a Quick EMUlator that ships with 25309209eecSAndrew Geissler the Yocto Project: 25409209eecSAndrew Geissler 25509209eecSAndrew Geissler .. code-block:: shell 25609209eecSAndrew Geissler 25709209eecSAndrew Geissler $ runqemu qemux86-64 25809209eecSAndrew Geissler 25909209eecSAndrew Geissler If you want to learn more about running QEMU, see the 26009209eecSAndrew Geissler :ref:`dev-manual/qemu:using the quick emulator (qemu)` chapter in 26109209eecSAndrew Geissler the Yocto Project Development Tasks Manual. 26209209eecSAndrew Geissler 26309209eecSAndrew Geissler#. **Exit QEMU:** Exit QEMU by either clicking on the shutdown icon or by typing 26409209eecSAndrew Geissler ``Ctrl-C`` in the QEMU transcript window from which you evoked QEMU. 26509209eecSAndrew Geissler 26609209eecSAndrew GeisslerCustomizing Your Build for Specific Hardware 26709209eecSAndrew Geissler============================================ 26809209eecSAndrew Geissler 26909209eecSAndrew GeisslerSo far, all you have done is quickly built an image suitable for 27009209eecSAndrew Geissleremulation only. This section shows you how to customize your build for 27109209eecSAndrew Geisslerspecific hardware by adding a hardware layer into the Yocto Project 27209209eecSAndrew Geisslerdevelopment environment. 27309209eecSAndrew Geissler 27409209eecSAndrew GeisslerIn general, layers are repositories that contain related sets of 27509209eecSAndrew Geisslerinstructions and configurations that tell the Yocto Project what to do. 27609209eecSAndrew GeisslerIsolating related metadata into functionally specific layers facilitates 27709209eecSAndrew Geisslermodular development and makes it easier to reuse the layer metadata. 27809209eecSAndrew Geissler 27909209eecSAndrew Geissler.. note:: 28009209eecSAndrew Geissler 28109209eecSAndrew Geissler By convention, layer names start with the string "meta-". 28209209eecSAndrew Geissler 28309209eecSAndrew GeisslerFollow these steps to add a hardware layer: 28409209eecSAndrew Geissler 28509209eecSAndrew Geissler#. **Find a Layer:** Lots of hardware layers exist. The Yocto Project 28609209eecSAndrew Geissler :yocto_git:`Source Repositories <>` has many hardware layers. 28709209eecSAndrew Geissler This example adds the 28809209eecSAndrew Geissler `meta-altera <https://github.com/kraj/meta-altera>`__ hardware layer. 28909209eecSAndrew Geissler 29009209eecSAndrew Geissler#. **Clone the Layer:** Use Git to make a local copy of the layer on your 29109209eecSAndrew Geissler machine. You can put the copy in the top level of the copy of the 29209209eecSAndrew Geissler Poky repository created earlier: 29309209eecSAndrew Geissler 29409209eecSAndrew Geissler .. code-block:: shell 29509209eecSAndrew Geissler 29609209eecSAndrew Geissler $ cd ~/poky 29709209eecSAndrew Geissler $ git clone https://github.com/kraj/meta-altera.git 29809209eecSAndrew Geissler Cloning into 'meta-altera'... 29909209eecSAndrew Geissler remote: Counting objects: 25170, done. 30009209eecSAndrew Geissler remote: Compressing objects: 100% (350/350), done. 30109209eecSAndrew Geissler remote: Total 25170 (delta 645), reused 719 (delta 538), pack-reused 24219 30209209eecSAndrew Geissler Receiving objects: 100% (25170/25170), 41.02 MiB | 1.64 MiB/s, done. 30309209eecSAndrew Geissler Resolving deltas: 100% (13385/13385), done. 30409209eecSAndrew Geissler Checking connectivity... done. 30509209eecSAndrew Geissler 30609209eecSAndrew Geissler The hardware layer now exists 30709209eecSAndrew Geissler with other layers inside the Poky reference repository on your build 30809209eecSAndrew Geissler host as ``meta-altera`` and contains all the metadata needed to 30909209eecSAndrew Geissler support hardware from Altera, which is owned by Intel. 31009209eecSAndrew Geissler 31109209eecSAndrew Geissler .. note:: 31209209eecSAndrew Geissler 31309209eecSAndrew Geissler It is recommended for layers to have a branch per Yocto Project release. 31409209eecSAndrew Geissler Please make sure to checkout the layer branch supporting the Yocto Project 31509209eecSAndrew Geissler release you're using. 31609209eecSAndrew Geissler 31709209eecSAndrew Geissler#. **Change the Configuration to Build for a Specific Machine:** The 31809209eecSAndrew Geissler :term:`MACHINE` variable in the 31909209eecSAndrew Geissler ``local.conf`` file specifies the machine for the build. For this 32009209eecSAndrew Geissler example, set the ``MACHINE`` variable to ``cyclone5``. These 32109209eecSAndrew Geissler configurations are used: 32209209eecSAndrew Geissler https://github.com/kraj/meta-altera/blob/master/conf/machine/cyclone5.conf. 32309209eecSAndrew Geissler 32409209eecSAndrew Geissler .. note:: 32509209eecSAndrew Geissler 32609209eecSAndrew Geissler See the "Examine Your Local Configuration File" step earlier for more 32709209eecSAndrew Geissler information on configuring the build. 32809209eecSAndrew Geissler 32909209eecSAndrew Geissler#. **Add Your Layer to the Layer Configuration File:** Before you can use 33009209eecSAndrew Geissler a layer during a build, you must add it to your ``bblayers.conf`` 33109209eecSAndrew Geissler file, which is found in the 33209209eecSAndrew Geissler :term:`Build Directory` ``conf`` 33309209eecSAndrew Geissler directory. 33409209eecSAndrew Geissler 33509209eecSAndrew Geissler Use the ``bitbake-layers add-layer`` command to add the layer to the 33609209eecSAndrew Geissler configuration file: 33709209eecSAndrew Geissler 33809209eecSAndrew Geissler .. code-block:: shell 33909209eecSAndrew Geissler 34009209eecSAndrew Geissler $ cd ~/poky/build 34109209eecSAndrew Geissler $ bitbake-layers add-layer ../meta-altera 34209209eecSAndrew Geissler NOTE: Starting bitbake server... 34309209eecSAndrew Geissler Parsing recipes: 100% |##################################################################| Time: 0:00:32 34409209eecSAndrew Geissler Parsing of 918 .bb files complete (0 cached, 918 parsed). 1401 targets, 34509209eecSAndrew Geissler 123 skipped, 0 masked, 0 errors. 34609209eecSAndrew Geissler 34709209eecSAndrew Geissler You can find 34809209eecSAndrew Geissler more information on adding layers in the 34909209eecSAndrew Geissler :ref:`dev-manual/common-tasks:adding a layer using the \`\`bitbake-layers\`\` script` 35009209eecSAndrew Geissler section. 35109209eecSAndrew Geissler 35209209eecSAndrew GeisslerCompleting these steps has added the ``meta-altera`` layer to your Yocto 35309209eecSAndrew GeisslerProject development environment and configured it to build for the 35409209eecSAndrew Geissler``cyclone5`` machine. 35509209eecSAndrew Geissler 35609209eecSAndrew Geissler.. note:: 35709209eecSAndrew Geissler 35809209eecSAndrew Geissler The previous steps are for demonstration purposes only. If you were 35909209eecSAndrew Geissler to attempt to build an image for the ``cyclone5`` machine, you should 36009209eecSAndrew Geissler read the Altera ``README``. 36109209eecSAndrew Geissler 36209209eecSAndrew GeisslerCreating Your Own General Layer 36309209eecSAndrew Geissler=============================== 36409209eecSAndrew Geissler 36509209eecSAndrew GeisslerMaybe you have an application or specific set of behaviors you need to 36609209eecSAndrew Geisslerisolate. You can create your own general layer using the 36709209eecSAndrew Geissler``bitbake-layers create-layer`` command. The tool automates layer 36809209eecSAndrew Geisslercreation by setting up a subdirectory with a ``layer.conf`` 36909209eecSAndrew Geisslerconfiguration file, a ``recipes-example`` subdirectory that contains an 37009209eecSAndrew Geissler``example.bb`` recipe, a licensing file, and a ``README``. 37109209eecSAndrew Geissler 37209209eecSAndrew GeisslerThe following commands run the tool to create a layer named 37309209eecSAndrew Geissler``meta-mylayer`` in the ``poky`` directory: 37409209eecSAndrew Geissler 37509209eecSAndrew Geissler.. code-block:: shell 37609209eecSAndrew Geissler 37709209eecSAndrew Geissler $ cd ~/poky 37809209eecSAndrew Geissler $ bitbake-layers create-layer meta-mylayer 37909209eecSAndrew Geissler NOTE: Starting bitbake server... 38009209eecSAndrew Geissler Add your new layer with 'bitbake-layers add-layer meta-mylayer' 38109209eecSAndrew Geissler 38209209eecSAndrew GeisslerFor more information 38309209eecSAndrew Geissleron layers and how to create them, see the 38409209eecSAndrew Geissler:ref:`dev-manual/common-tasks:creating a general layer using the \`\`bitbake-layers\`\` script` 38509209eecSAndrew Geisslersection in the Yocto Project Development Tasks Manual. 38609209eecSAndrew Geissler 38709209eecSAndrew GeisslerWhere To Go Next 38809209eecSAndrew Geissler================ 38909209eecSAndrew Geissler 39009209eecSAndrew GeisslerNow that you have experienced using the Yocto Project, you might be 39109209eecSAndrew Geisslerasking yourself "What now?". The Yocto Project has many sources of 39209209eecSAndrew Geisslerinformation including the website, wiki pages, and user manuals: 39309209eecSAndrew Geissler 39409209eecSAndrew Geissler- **Website:** The :yocto_home:`Yocto Project Website <>` provides 39509209eecSAndrew Geissler background information, the latest builds, breaking news, full 39609209eecSAndrew Geissler development documentation, and access to a rich Yocto Project 39709209eecSAndrew Geissler Development Community into which you can tap. 39809209eecSAndrew Geissler 39909209eecSAndrew Geissler- **Developer Screencast:** The `Getting Started with the Yocto Project - 400*d1e89497SAndrew Geissler New Developer Screencast Tutorial <https://vimeo.com/36450321>`__ 40109209eecSAndrew Geissler provides a 30-minute video created for users unfamiliar with the 40209209eecSAndrew Geissler Yocto Project but familiar with Linux build hosts. While this 40309209eecSAndrew Geissler screencast is somewhat dated, the introductory and fundamental 40409209eecSAndrew Geissler concepts are useful for the beginner. 40509209eecSAndrew Geissler 40609209eecSAndrew Geissler- **Yocto Project Overview and Concepts Manual:** The 40709209eecSAndrew Geissler :doc:`/overview-manual/index` is a great 40809209eecSAndrew Geissler place to start to learn about the Yocto Project. This manual 40909209eecSAndrew Geissler introduces you to the Yocto Project and its development environment. 41009209eecSAndrew Geissler The manual also provides conceptual information for various aspects 41109209eecSAndrew Geissler of the Yocto Project. 41209209eecSAndrew Geissler 41309209eecSAndrew Geissler- **Yocto Project Wiki:** The :yocto_wiki:`Yocto Project Wiki <>` 41409209eecSAndrew Geissler provides additional information on where to go next when ramping up 41509209eecSAndrew Geissler with the Yocto Project, release information, project planning, and QA 41609209eecSAndrew Geissler information. 41709209eecSAndrew Geissler 41809209eecSAndrew Geissler- **Yocto Project Mailing Lists:** Related mailing lists provide a forum 41909209eecSAndrew Geissler for discussion, patch submission and announcements. Several mailing 42009209eecSAndrew Geissler lists exist and are grouped according to areas of concern. See the 42109209eecSAndrew Geissler :ref:`ref-manual/resources:mailing lists` 42209209eecSAndrew Geissler section in the Yocto Project Reference Manual for a complete list of 42309209eecSAndrew Geissler Yocto Project mailing lists. 42409209eecSAndrew Geissler 42509209eecSAndrew Geissler- **Comprehensive List of Links and Other Documentation:** The 42609209eecSAndrew Geissler :ref:`ref-manual/resources:links and related documentation` 42709209eecSAndrew Geissler section in the Yocto Project Reference Manual provides a 42809209eecSAndrew Geissler comprehensive list of all related links and other user documentation. 42909209eecSAndrew Geissler 43009209eecSAndrew Geissler.. include:: /boilerplate.rst 431