Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Embedded Linux Development Using Yocto Project Cookbook. - Second Edition

You're reading from  Embedded Linux Development Using Yocto Project Cookbook. - Second Edition

Product type Book
Published in Jan 2018
Publisher
ISBN-13 9781788399210
Pages 456 pages
Edition 2nd Edition
Languages
Author (1):
Alex Gonzalez Alex Gonzalez
Profile icon Alex Gonzalez

Table of Contents (13) Chapters

Title Page
Dedication
Packt Upsell
Foreword
Contributors
Preface
The Build System The BSP Layer The Software Layer Application Development Debugging, Tracing, and Profiling Other Books You May Enjoy Index

Introduction


The Yocto Project (http://www.yoctoproject.org/) is an embedded Linux distribution builder that makes use of several other open source projects. In this book, the generic term Yocto refers to the Yocto Project.

A Linux distribution is a collection of software packages and policies, and there are hundreds of Linux distributions available. Most of these are not designed for embedded systems and they lack the flexibility needed to accomplish target footprint sizes and functionality tweaks, as well as not catering well for resource constrained systems.

The Yocto Project, in contrast, is not a distribution per se; it allows you to create a Linux distribution designed for your particular embedded system. The Yocto Project provides a reference distribution for embedded Linux, called Poky.

The Yocto Project has the BitBake and OpenEmbedded-Core (OE-Core) projects at its base. Together they form the Yocto build system which builds the components needed for an embedded Linux product, namely:

  • A bootloader image
  • A Linux kernel image
  • A root filesystem image
  • Toolchains and software development kits (SDKs) for application development

With these, the Yocto Project covers the needs of both system and application developers. When the Yocto Project is used as an integration environment for bootloaders, the Linux kernel, and user space applications, we refer to it as system development.

For application development, the Yocto Project builds SDKs that enable the development of applications independently of the Yocto build system.

The Yocto Project makes a new release every 6 months. The latest release at the time of this writing is Yocto 2.4 Rocko, and all the examples in this book refer to the 2.4 release.

A Yocto release comprises the following components:

  • Poky, the reference build system and distribution
  • Board Support Packages (BSPs) with the recipes needed to support different architectures and boards
  • Build Appliance, a virtual machine image ready to use Yocto
  • Standard and extensible SDKs for the host system
  • Eclipse plugins

And for the different supported platforms:

  • Prebuilt toolchains
  • Prebuilt images

The Yocto 2.4 release is available to download from http://downloads.yoctoproject.org/releases/yocto/yocto-2.4/.

You have been reading a chapter from
Embedded Linux Development Using Yocto Project Cookbook. - Second Edition
Published in: Jan 2018 Publisher: ISBN-13: 9781788399210
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}