Embedded Linux Development with Yocto Project

Develop fascinating Linux-based projects using the groundbreaking Yocto Project tools

Embedded Linux Development with Yocto Project

Progressing
Otavio Salvador, Daiane Angolini

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

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 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.

Code Files
+ Collection
Free Sample

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
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

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.

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

Recommended for You

Learning Embedded Linux Using the Yocto Project
$ 35.99
Embedded Linux Projects Using Yocto Project Cookbook
$ 39.99
Using Yocto Project with BeagleBone Black
$ 31.99
Creating Games with cocos2d for iPhone 2
$ 26.99
Cocos2d for iPhone 1 Game Development Cookbook
$ 29.99