Jump to content

OpenEmbedded

From Wikipedia, the free encyclopedia
OpenEmbedded
Developer(s)75+ developers[1]
Repository
Operating systemLinux
PlatformCross-platform
TypeBuild automation
LicenseMIT
Websitewww.openembedded.org

OpenEmbedded is a build automation framework and cross-compile environment used to create Linux distributions for embedded devices.[2] The OpenEmbedded framework is developed by the OpenEmbedded community, which was formally established in 2003. OpenEmbedded is the recommended build system of the Yocto Project, which is a Linux Foundation workgroup that assists commercial companies in the development of Linux-based systems for embedded products.

The build system is based on BitBake "recipes", which specify how a particular package is built but also include lists of dependencies and source code locations, as well as for instructions on how to install and remove a compiled package. OpenEmbedded tools use these recipes to fetch and patch source code, compile and link binaries, produce binary packages (ipk, deb, rpm), and create bootable images.

Historically, OpenEmbedded's collection of recipes was stored in a single repository, and the metadata was structured in a form now called "OpenEmbedded-Classic". By 2010, it had become increasingly difficult to manage the ever-growing number of recipes. To resolve this, recipe metadata was split into multiple layers. The lowest layer, which includes platform-independent and distribution-independent meta data is called "OpenEmbedded-Core".[3] Architecture-specific, application-specific and distribution-dependent instructions are applied in appropriate target support layers that can override or complement the instructions from lower layers. Additionally, changes to the recipes at the core layer are now managed with a pull model: instead of committing their changes directly to the repository (as was previously the case), developers now send their patches to the mailing list. The patches, if approved, are then merged (pulled) by a maintainer.[3]

The OpenEmbedded framework can be installed and automatically updated via Git.[2]

History[edit]

The OpenEmbedded Project (OE for short) was created by Chris Larson, Michael Lauer, and Holger Schurig, merging the achievements of OpenZaurus with contributions from projects like Familiar Linux and OpenSIMpad into a common codebase. OpenEmbedded superseded these projects and was used to build any of them from the same code base.

The OpenEmbedded-Core Project (OE-Core for short) resulted from the merge of the Yocto Project with OpenEmbedded.[4] All package recipes are since then maintained through OpenEmbedded-Core.

Layer organisation[edit]

OpenEmbedded-Core has adapted this layered structure in the merge with Yocto and new layer entries were added over time.[5][6] The Layers represent a structure which is only of declarative nature. The specific entries are stricter in the scope of deciding which entry provides which packages. Overview of layers is available in: layers.openembedded.org/layerindex/branch/master/layers/

Developer layer
The user-defined layer for custom Bitbake recipes. Embedded system software developers would place their recipe here if the software would not fit the commercial or base layer.
Commercial layer
Packages, plugins, and configurations from open source vendors go in this layer.
UI-specific layer
Layers currently present within the meta-openembedded layer:
  • meta-efl (Enlightenment window manager)
  • meta-gnome (GNOME window manager)
  • meta-gpe (GPE window manager)
  • meta-xfce (Xfce window manager)
Hardware-specific layer
Yocto layer
  • meta-yocto (Yocto Project layer[5][4])
OpenEmbedded-Core layer
  • openembedded-core
  • meta-openembedded

Distributions supported[edit]

In OpenEmbedded-Classic, the configurations from Base- to the UI-Layer can be supplemented by various Linux distributions. The following list is available for OpenEmbedded:

Supported hardware[edit]

Various devices are supported:[10]

Boards and processors
The BeagleBoard from Texas Instruments, and a variety of devices based on an ARM CPU are supported.
Smartphones
Smartphones like the Nokia N800 and Neo FreeRunner are supported.
Porting to new hardware
The constellation of OpenEmbedded, especially the open design, allows it to get OpenEmbedded to adapt new hardware fairly easy.[11][improper synthesis?][12][improper synthesis?]

See also[edit]

References[edit]

  1. ^ "OpenEmbedded Developers". Archived from the original on 2012-11-09.
  2. ^ Jump up to: a b Brake, Cliff; et al. (2015), "Welcome to OpenEmbedded", OpenEmbedded Wiki, Blacksburg, VA: openembedded.org.
  3. ^ Jump up to: a b Eggleton, Paul (2015), "OpenEmbedded-Core", OpenEmbedded Wiki, Blacksburg, VA: openembedded.org.
  4. ^ Jump up to: a b "Yocto Project Aligns Technology with OpenEmbedded and Gains Corporate Collaborators". Archived from the original on 2012-01-11.
  5. ^ Jump up to: a b Yocto & OpenEmbedded Core Layers Archived 2011-09-19 at the Wayback Machine
  6. ^ "OpenEmbedded Metadata Index - layers". Archived from the original on 2013-06-22. Retrieved 2013-06-18.
  7. ^ "SHR".
  8. ^ Ben Combee on Palm Developer Forum - Fri Jul 16, 2010. Building static libs Archived 2011-07-26 at the Wayback Machine
  9. ^ "B2C Info Solutions".
  10. ^ "Overview of OE supported machines". Retrieved 2022-09-08.
  11. ^ Yocto Project Board Support Package guide
  12. ^ "Yocto Project Development Manual".

External links[edit]