Difference between revisions of "Yocto: Introduction to Yocto development"

From Compulab Mediawiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
For more detailed and updated Yocto information:
 
For more detailed and updated Yocto information:
 
*For extensive Yocto documentation see: [https://www.yoctoproject.org/docs/ Yocto documentation]
 
*For extensive Yocto documentation see: [https://www.yoctoproject.org/docs/ Yocto documentation]
*For introduction to Yocto see: [https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#overview-yp Introduction to Yocto]
+
*For introduction to Yocto see: [https://docs.yoctoproject.org/overview-manual/index.html Introduction to Yocto]
*For Yocto build see: [https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#brief-yocto-project-qs-intro quick start with Yocto]
 
 
*Comprehensive Yocto presentations at: [https://www.yoctoproject.org/learn/ Yocto Presentations]
 
*Comprehensive Yocto presentations at: [https://www.yoctoproject.org/learn/ Yocto Presentations]
  
Line 19: Line 18:
 
==Bitbake==
 
==Bitbake==
 
BitBake is a generic task execution engine that allows shell and Python tasks to be run efficiently and in parallel. This is the utility used for building Yocto images.
 
BitBake is a generic task execution engine that allows shell and Python tasks to be run efficiently and in parallel. This is the utility used for building Yocto images.
*For Bitbake introduction see: [https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#intro Bitbake Introduction]
+
*For Bitbake introduction see: [https://docs.yoctoproject.org/bitbake/2.6/bitbake-user-manual/bitbake-user-manual-intro.html# Bitbake Introduction]
*For complete Bitbake User's Manual see: [https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#bitbake-user-manual-intro Bitbake User's Manual]
 
  
 
==Recipes==
 
==Recipes==

Latest revision as of 11:48, 30 June 2024

Introduction

The goal of this article is to provide basic information about the build and development process of Yocto for CompuLab boards. The article includes information about system, environment, operation system (Yocto) and development tools.

Yocto Overview

Yocto Project is an open source collaboration project that helps developers create custom Linux-based systems regardless of the hardware architecture (in simple words - it is hardware insensitive Linux version). The project provides flexible set of tools for embedded developers.

For more detailed and updated Yocto information:

Making changes to Yocto images

Yocto is very flexible distribution, which gives wide opportunities for developers. To start making changes in it you need very few tools:

  • Linux PC
  • Bitbake tool installed
  • Basic Yocto for Compulab image (also called meta-layer) downloaded.

Bitbake

BitBake is a generic task execution engine that allows shell and Python tasks to be run efficiently and in parallel. This is the utility used for building Yocto images.

Recipes

One of the most convenient ways of making custom changes in Yocto meta-layer is adding kernel recipes.
Recipe is a fundamental object in Yocto Project which describes how to take a software package and build it for a specific target device.
Each software component built by the OpenEmbedded build system requires a recipe to define its components.

Detailed Examples