Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
en:power:tqmt10xx:linux:yocto:quickstart_yocto [2019/09/11 19:09] – liedmann | en:power:tqmt10xx:linux:yocto:quickstart_yocto [2019/09/13 11:04] – liedmann | ||
---|---|---|---|
Line 26: | Line 26: | ||
^ Linux Kernel | ^ Linux Kernel | ||
- | <WRAP round important> | + | <WRAP round important> |
<WRAP round info> | <WRAP round info> | ||
Line 38: | Line 38: | ||
//Yocto Project / Poky// requires a Linux build host, so first of all you need a development workstation (or a virtual machine((for testing purposes //Yocto Project// provides a ready to use virtual machine called [[https:// | //Yocto Project / Poky// requires a Linux build host, so first of all you need a development workstation (or a virtual machine((for testing purposes //Yocto Project// provides a ready to use virtual machine called [[https:// | ||
- | Please refer to section [[http://<label yocto_doc_base_url> | + | Please refer to section [[https://www.yoctoproject.org/docs/2.0.1/ |
Although not required by //Yocto Project / Poky//, we also recommend to configure and run a [[en: | Although not required by //Yocto Project / Poky//, we also recommend to configure and run a [[en: | ||
Line 47: | Line 47: | ||
===== Yocto Project / Poky set-up ===== | ===== Yocto Project / Poky set-up ===== | ||
- | The [[|Yocto Project Quick Start]] document explains how to set up //Yocto Project / Poky// and how to build images using the // | + | The [[https:// |
- | Using this as a guideline, the following | + | Using this as a guideline, the following describes how to use the // |
- | **Install the repo tool on development host** | + | === Install the repo tool on development host === |
* Download the repo tool: < | * Download the repo tool: < | ||
Line 59: | Line 59: | ||
- | **Initialize the repository** | + | === Initialize the repository |
* Create an empty directory: < | * Create an empty directory: < | ||
Line 65: | Line 65: | ||
* Fetch all the source codes: < | * Fetch all the source codes: < | ||
- | **Setup the Yocto project build environment** | + | === Setup the Yocto project build environment |
+ | |||
+ | ==1. Create an environment file in your build directory: == | ||
< | < | ||
cat > environment << EOF | cat > environment << EOF | ||
Line 75: | Line 78: | ||
</ | </ | ||
+ | ==2. Initialize Build environment== | ||
+ | |||
+ | Before image generation can be started the build environment has to be initialized by the following command: | ||
+ | |||
+ | < | ||
+ | |||
+ | This copies default configuration information into the build/conf directory. Additionally some environment variables will be set up for the build system. This configuration directory is not under revision control; you may wish to edit these configuration files for your specific setup. | ||
+ | |||
+ | |||
+ | === Building an Image === | ||
+ | |||
+ | Now building an image can be started by running the command: | ||
+ | |||
+ | < |