Free Sample
+ Collection
Code Files

Embedded Linux Development with Yocto Project

Otavio Salvador, Daiane Angolini

Develop fascinating Linux-based projects using the groundbreaking Yocto Project tools
RRP $14.99
RRP $24.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781783282333
Paperback142 pages

About This Book

  • Optimize Yocto Project's capabilities to develop captivating embedded Linux projects
  • Facilitates efficient system development by helping you avoid known pitfalls
  • Demonstrates concepts in a practical and easy-to-understand way

Who This Book Is For

If you are an embedded systems enthusiast and willing to learn about compelling features offered by the Yocto Project, then this book is for you. With prior experience in the embedded Linux domain, you can make the most of this book to efficiently create custom Linux-based systems.

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
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
Chapter 3: Using Hob to Bake an Image
Building an image using Hob
Customizing an image with Hob
Chapter 4: Grasping the BitBake Tool
Understanding the BitBake tool
Exploring metadata
Parsing metadata
Preferring and providing recipes
Fetching the source code
Understanding BitBake's tasks
Generating a root filesystem image
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
Chapter 6: Assimilating Packaging Support
Using supported package formats
Understanding shared state cache
Explaining package versioning
Package feeds
Chapter 7: Diving into BitBake Metadata
Using metadata
Working with metadata
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
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
Chapter 10: Exploring External Layers
Powering flexibility with layers
Detailing the layer's source code
Adding meta layers
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
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
Chapter 13: Achieving GPL Compliance
Understanding copyleft
Managing software licensing with Poky
Using Poky to achieve copyleft compliance
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

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

In Detail

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.


Read More

Recommended for You

Embedded Linux Projects Using Yocto Project Cookbook
$ 39.99
Learning Embedded Linux using the Yocto Project
$ 28.80
Creating Games with cocos2d for iPhone 2
$ 26.99
Cocos2d for iPhone 1 Game Development Cookbook
$ 29.99
Cocos2d for iPhone 0.99 Beginner's Guide
$ 23.99
Learning Cocos2d-x Game Development
$ 26.99