Embedded Linux Development using Yocto Projects - Second Edition

Optimize and boost your Linux-based system with Yocto Project and increase its reliability and robustness efficiently and cost-effectively.
Preview in Mapt
Code Files

Embedded Linux Development using Yocto Projects - Second Edition

Otavio Salvador, Daiane Angolini

Optimize and boost your Linux-based system with Yocto Project and increase its reliability and robustness efficiently and cost-effectively.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$19.60
RRP $27.99
Save 29%
Print + eBook
$34.99
RRP $34.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$19.60
$34.99
$29.99 p/m after trial
RRP $27.99
RRP $34.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Embedded Linux Development using Yocto Projects - Second Edition Book Cover
Embedded Linux Development using Yocto Projects - Second Edition
$ 27.99
$ 19.60
Learning Angular - Second Edition Book Cover
Learning Angular - Second Edition
$ 35.99
$ 25.20
Buy 2 for $35.00
Save $28.98
Add to Cart

Book Details

ISBN 139781788470469
Paperback162 pages

Book Description

Yocto Project is turning out to be the best integration framework for creating reliable embedded Linux projects. It has the edge over other frameworks because of its features such as less development time and improved reliability and robustness.

Embedded Linux Development using Yocto Project starts with an in-depth explanation of all Yocto Project tools, to help you perform different Linux-based tasks. The book then moves on to in-depth explanations of Poky and BitBake. It also includes some practical use cases for building a Linux subsystem project using Yocto Project tools available for embedded Linux. The book also covers topics such as SDK, recipetool, and others.

By the end of the book, you will have learned how to generate and run an image for real hardware boards and will have gained hands-on experience at building efficient Linux systems using Yocto Project.

Table of Contents

Chapter 1: Meeting the Yocto Project
What is the Yocto Project?
Delineating the Yocto Project
Understanding Poky
Using BitBake
OpenEmbedded-Core
Metadata
The alliance of the OpenEmbedded Project and the Yocto Project
Summary
Chapter 2: Baking Our Poky-Based System
Configuring a host system
Downloading the Poky source code
Preparing the build environment
Knowing the local.conf file
Building a target image
Running images in QEMU
Summary
Chapter 3: Using Toaster to Bake an Image
What is Toaster?
Installing Toaster
Starting Toaster
Building an image to QEMU
Summary
Chapter 4: Grasping the BitBake Tool
Understanding the BitBake tool
Exploring metadata
Parsing metadata
Dependencies
Preferring and providing recipes
Fetching the source code
Understanding BitBake's tasks
Generating a root filesystem image
Summary
Chapter 5: Detailing the Temporary Build Directory
Detailing the build directory
Constructing the build directory
Exploring the temporary build directory
Understanding the work directory
Understanding the sysroot directories
Summary
Chapter 6: Assimilating Packaging Support
Using supported package formats
Understanding shared state cache
Explaining package versioning
Specifying runtime package dependencies
Package feeds
Summary
Chapter 7: Diving into BitBake Metadata
Using metadata
Summary
Chapter 8: Developing with the Yocto Project
Deciphering the software development kit
Working with the Poky SDK
Integrating with Eclipse
Summary
Chapter 9: Debugging with the Yocto Project
Differentiating metadata and application debugging
Tracking image, package, and SDK contents
Debugging packaging
Logging information during task execution
Utilizing a development shell
Using the GNU Project Debugger for debugging
Summary
Chapter 10: Exploring External Layers
Powering flexibility with layers
Detailing the layer's source code
Adding meta layers
The Yocto Project layer ecosystem
Summary
Chapter 11: Creating Custom Layers
Making a new layer
Adding metadata to the layer
Creating an image
Adding a package recipe
Adding support to a new machine definition
Using a custom distribution
MACHINE_FEATURES versus DISTRO_FEATURES
Understanding the variables scope
Summary
Chapter 12: Customizing Existing Recipes
Common use cases
Adding extra options to recipes based on Autoconf
Applying a patch
Adding extra files to the existing packages
Changing recipe feature configuration
Customizing BusyBox
Customizing the linux-yocto framework
Summary
Chapter 13: Achieving GPL Compliance
Understanding copyleft
Managing software licensing with Poky
Using Poky to achieve copyleft compliance
Summary
Chapter 14: Booting Our Custom Embedded Linux
Exploring the boards
Discovering the right BSP layer
Baking for the hardware
Booting our baked image
Next steps
Summary

What You Will Learn

  • Understand the basic concepts involved in Poky workflows along with configuring and preparing the Poky build environment.
  • Configure a build server and customize images using Toaster.
  • Generate images and fit packages into created images using BitBake.
  • Support the development process by setting up and using Package feeds.
  • Debug Yocto Project by configuring Poky.
  • Build an image for the BeagleBone Black, RaspberryPi 3, and Wandboard, and boot it from an SD card.

Authors

Table of Contents

Chapter 1: Meeting the Yocto Project
What is the Yocto Project?
Delineating the Yocto Project
Understanding Poky
Using BitBake
OpenEmbedded-Core
Metadata
The alliance of the OpenEmbedded Project and the Yocto Project
Summary
Chapter 2: Baking Our Poky-Based System
Configuring a host system
Downloading the Poky source code
Preparing the build environment
Knowing the local.conf file
Building a target image
Running images in QEMU
Summary
Chapter 3: Using Toaster to Bake an Image
What is Toaster?
Installing Toaster
Starting Toaster
Building an image to QEMU
Summary
Chapter 4: Grasping the BitBake Tool
Understanding the BitBake tool
Exploring metadata
Parsing metadata
Dependencies
Preferring and providing recipes
Fetching the source code
Understanding BitBake's tasks
Generating a root filesystem image
Summary
Chapter 5: Detailing the Temporary Build Directory
Detailing the build directory
Constructing the build directory
Exploring the temporary build directory
Understanding the work directory
Understanding the sysroot directories
Summary
Chapter 6: Assimilating Packaging Support
Using supported package formats
Understanding shared state cache
Explaining package versioning
Specifying runtime package dependencies
Package feeds
Summary
Chapter 7: Diving into BitBake Metadata
Using metadata
Summary
Chapter 8: Developing with the Yocto Project
Deciphering the software development kit
Working with the Poky SDK
Integrating with Eclipse
Summary
Chapter 9: Debugging with the Yocto Project
Differentiating metadata and application debugging
Tracking image, package, and SDK contents
Debugging packaging
Logging information during task execution
Utilizing a development shell
Using the GNU Project Debugger for debugging
Summary
Chapter 10: Exploring External Layers
Powering flexibility with layers
Detailing the layer's source code
Adding meta layers
The Yocto Project layer ecosystem
Summary
Chapter 11: Creating Custom Layers
Making a new layer
Adding metadata to the layer
Creating an image
Adding a package recipe
Adding support to a new machine definition
Using a custom distribution
MACHINE_FEATURES versus DISTRO_FEATURES
Understanding the variables scope
Summary
Chapter 12: Customizing Existing Recipes
Common use cases
Adding extra options to recipes based on Autoconf
Applying a patch
Adding extra files to the existing packages
Changing recipe feature configuration
Customizing BusyBox
Customizing the linux-yocto framework
Summary
Chapter 13: Achieving GPL Compliance
Understanding copyleft
Managing software licensing with Poky
Using Poky to achieve copyleft compliance
Summary
Chapter 14: Booting Our Custom Embedded Linux
Exploring the boards
Discovering the right BSP layer
Baking for the hardware
Booting our baked image
Next steps
Summary

Book Details

ISBN 139781788470469
Paperback162 pages
Read More

Read More Reviews

Recommended for You

Learning Angular - Second Edition Book Cover
Learning Angular - Second Edition
$ 35.99
$ 25.20
Mastering Microservices with Java 9 - Second Edition Book Cover
Mastering Microservices with Java 9 - Second Edition
$ 35.99
$ 25.20
Learning PostgreSQL 10 - Second Edition Book Cover
Learning PostgreSQL 10 - Second Edition
$ 27.99
$ 19.60
Learning D3.js 4 Mapping - Second Edition Book Cover
Learning D3.js 4 Mapping - Second Edition
$ 31.99
$ 22.40
ROS Robotics By Example - Second Edition Book Cover
ROS Robotics By Example - Second Edition
$ 39.99
$ 28.00
React 16 Essentials - Second Edition Book Cover
React 16 Essentials - Second Edition
$ 23.99
$ 16.80