Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
software:linux:yocto:start [2020-01-16 12:42]
Lammerich Moritz
software:linux:yocto:start [2020-05-27 09:36] (aktuell)
Lammerich Moritz
Zeile 2: Zeile 2:
  
 [[https://​www.yoctoproject.org/​ | yocto]] and [[https://​www.openembedded.org/​wiki/​Main_Page | OpenEmbedded]] provide the tools necessary to create small customised linux distributions aimed at embedded systems. [[https://​www.yoctoproject.org/​ | yocto]] and [[https://​www.openembedded.org/​wiki/​Main_Page | OpenEmbedded]] provide the tools necessary to create small customised linux distributions aimed at embedded systems.
 +
 +===== meta-ntb =====
 +
 +[[.:​meta-ntb | meta-ntb]] is the layer containing recipes required for various NTB projects. See [[ .:meta-ntb | meta-ntb]]
 +
 +
 +===== Getting Started =====
 +
 +Check out [[ .:​getting_started_cpp | this guide]] to get started developing a C/C++ application using [[ software:​cmake:​start | cmake ]] and yocto.
 +
  
 ===== yocto, OpenEmbedded,​ bitbake and poky ===== ===== yocto, OpenEmbedded,​ bitbake and poky =====
Zeile 8: Zeile 18:
  
 **OpenEmbedded** maintains a build environment and cross-compile environment to build linux. **OpenEmbedded** maintains a build environment and cross-compile environment to build linux.
-The **yocto** project uses OpenEmmbedded ​to provide a framework to create repeatable custom linux distributions and images.+The **yocto** project uses OpenEmbedded ​to provide a framework to create repeatable custom linux distributions and images.
 Yocto includes a reference distribution called **poky** as a starting point for customisation. Yocto includes a reference distribution called **poky** as a starting point for customisation.
 Poky encompasses everything needed to boot to a shell prompt and most of the typical posix command line tools (as provided by [[https://​busybox.net/​ | busybox]]). Poky encompasses everything needed to boot to a shell prompt and most of the typical posix command line tools (as provided by [[https://​busybox.net/​ | busybox]]).
Zeile 29: Zeile 39:
  
 Groups of recipes that belong together are grouped into layers. Groups of recipes that belong together are grouped into layers.
-For example [[https://​github.com/​zechenturm/​meta-ntb | meta-ntb]] is the layer that contains all the things we need in our images.+For example [[.:meta-ntb | meta-ntb]] is the layer that contains all the things we need in our images.
 You may also find repositories named like layers that contain a collection of layers in it. You may also find repositories named like layers that contain a collection of layers in it.
 ''​meta-openembedded''​ is such a collection. ''​meta-openembedded''​ is such a collection.
Zeile 37: Zeile 47:
  
  
-Check the [[ .:recipes ​| Layer page]] for more information. +Check the [[ .:layer | Layer page]] for more information. 
- >+
 === BSP === === BSP ===
  
Zeile 48: Zeile 58:
 Machines are defined in ''<​layer-name>/​conf/​machine/<​machine-name>​.conf''​. Machines are defined in ''<​layer-name>/​conf/​machine/<​machine-name>​.conf''​.
 This is the place to set machine specific configurations such as the kernel provider. This is the place to set machine specific configurations such as the kernel provider.
 +
 +See also: [[.:layer | Layers]]
 +
 +===== Kernel Development =====
 +
 +See [[ .:kernel | Kernel ]]
 +
 +===== SDK's =====
 +
 +There are essentially three ways to build on/for a yocto image:
 +
 +  * include the toolchain in the image and build natively (not recommended)
 +  * SDK
 +  * extensible SDK
 +
 +See [[ .:sdk | SDK'​s]]