Embedded Linux Development with Yocto Project

Develop fascinating Linux-based projects using the groundbreaking Yocto Project tools
Preview in Mapt
Code Files

Embedded Linux Development with Yocto Project

Otavio Salvador, Daiane Angolini

1 customer reviews
Develop fascinating Linux-based projects using the groundbreaking Yocto Project tools
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.50
RRP $14.99
Save 29%
Print + eBook
$24.99
RRP $24.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
$10.50
$24.99
$29.99p/m after trial
RRP $14.99
RRP $24.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Embedded Linux Development with Yocto Project Book Cover
Embedded Linux Development with Yocto Project
$ 14.99
$ 10.50
Embedded Linux Development using Yocto Project Cookbook - Second Edition Book Cover
Embedded Linux Development using Yocto Project Cookbook - Second Edition
$ 35.99
$ 25.20
Buy 2 for $28.00
Save $22.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781783282333
Paperback142 pages

Book Description

Starting with the very basics of the Yocto Project tools, this book will provide you with all the knowledge you need to work on real Linux-based hardware.

With emphasis on practical implementation, this book starts by helping you set up and configure the Yocto Project tools. It then explains the Hob interface for BitBake in detail. You will explore different directory layouts and learn to maximize the use of the Poky build system.

Compliance is always a hassle, so you will learn the methods to share source code and modifications, and how to fulfill open source license compliance effectively and convincingly. You will then gain experience in the use and construction of layers.

This tutorial guide will teach you everything you need to know to get up and running with Yocto Project and develop amazing Linux-based projects.

Table of Contents

Chapter 1: Meeting the Yocto Project
What is the Yocto Project?
Delineating the Yocto Project
Understanding Poky
The alliance of OpenEmbedded Project and 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 Hob to Bake an Image
Building an image using Hob
Customizing an image with Hob
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
Package feeds
Summary
Chapter 7: Diving into BitBake Metadata
Using metadata
Working with metadata
Summary
Chapter 8: Developing with the Yocto Project
Deciphering the software development kit
Working with the Poky SDK
Developing applications on the target
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
Summary
Chapter 11: Creating Custom Layers
Making a new layer
Adding metadata to the layer
Creating an image
Adding a package recipe
Writing a 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 Wandboard
Discovering Freescale ARM BSP
Using Wandboard with the Yocto Project
Building an image for Wandboard
Booting Wandboard from the SD card
Summary

What You Will Learn

  • Differentiate between OpenEmbedded, Yocto Project, Poky, and BitBake
  • Understand the BitBake metadata syntax
  • Customize an application development environment
  • Debug your application in a cross-compiled environment
  • Add and remove features in the Linux kernel configuration
  • Meet your project's license compliance requirements with less hassle
  • Make embedded Linux systems using Yocto Project

Authors

Table of Contents

Chapter 1: Meeting the Yocto Project
What is the Yocto Project?
Delineating the Yocto Project
Understanding Poky
The alliance of OpenEmbedded Project and 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 Hob to Bake an Image
Building an image using Hob
Customizing an image with Hob
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
Package feeds
Summary
Chapter 7: Diving into BitBake Metadata
Using metadata
Working with metadata
Summary
Chapter 8: Developing with the Yocto Project
Deciphering the software development kit
Working with the Poky SDK
Developing applications on the target
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
Summary
Chapter 11: Creating Custom Layers
Making a new layer
Adding metadata to the layer
Creating an image
Adding a package recipe
Writing a 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 Wandboard
Discovering Freescale ARM BSP
Using Wandboard with the Yocto Project
Building an image for Wandboard
Booting Wandboard from the SD card
Summary

Book Details

ISBN 139781783282333
Paperback142 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Embedded Linux Projects Using Yocto Project Cookbook Book Cover
Embedded Linux Projects Using Yocto Project Cookbook
$ 39.99
$ 28.00
Mastering Embedded Linux Programming Book Cover
Mastering Embedded Linux Programming
$ 39.99
$ 28.00
Mastering Object-oriented Python Book Cover
Mastering Object-oriented Python
$ 26.99
$ 18.90
Learning Embedded Linux Using the Yocto Project Book Cover
Learning Embedded Linux Using the Yocto Project
$ 35.99
$ 25.20
Building Machine Learning Systems with Python Book Cover
Building Machine Learning Systems with Python
$ 29.99
$ 6.00
Raspberry Pi Cookbook for Python Programmers Book Cover
Raspberry Pi Cookbook for Python Programmers
$ 26.99
$ 18.90