Embedded Linux Development with Yocto Project


Embedded Linux Development with Yocto Project
eBook: $14.99
Formats: PDF, PacktLib, ePub and Mobi formats
$12.75
save 15%!
Print + free eBook + free PacktLib access to the book: $39.98    Print cover: $24.99
$37.74
save 6%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • 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

Book Details

Language : English
Paperback : 142 pages [ 235mm x 191mm ]
Release Date : July 2014
ISBN : 1783282339
ISBN 13 : 9781783282333
Author(s) : Otavio Salvador, Daiane Angolini
Topics and Technologies : All Books, Application Development, Open Source


Table of Contents

Preface
Chapter 1: Meeting the Yocto Project
Chapter 2: Baking Our Poky-based System
Chapter 3: Using Hob to Bake an Image
Chapter 4: Grasping the BitBake Tool
Chapter 5: Detailing the Temporary Build Directory
Chapter 6: Assimilating Packaging Support
Chapter 7: Diving into BitBake Metadata
Chapter 8: Developing with the Yocto Project
Chapter 9: Debugging with the Yocto Project
Chapter 10: Exploring External Layers
Chapter 11: Creating Custom Layers
Chapter 12: Customizing Existing Recipes
Chapter 13: Achieving GPL Compliance
Chapter 14: Booting Our Custom Embedded Linux
Appendix: References
Index
  • 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 OpenEmbedded Project and Yocto Project
    • Summary
  • Chapter 2: Baking Our Poky-based System
    • Configuring a host system
      • Installing Poky on Debian
      • Installing Poky on Fedora
    • Downloading the Poky source code
    • Preparing the build environment
    • Knowing the local.conf file
    • Building a target image
    • Running images in 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
      • Remote file downloads
      • Git repositories
      • Other repositories
      • Optimizing the source code download
      • Disabling network access
    • Understanding BitBake's tasks
      • Extending tasks
    • Generating a root filesystem image
    • Summary
  • Chapter 6: Assimilating Packaging Support
    • Using supported package formats
      • List of supported package formats
      • Choosing a package format
      • Running code during package installation
    • Understanding shared state cache
    • Explaining package versioning
    • Package feeds
      • Using package feeds
    • Summary
  • Chapter 7: Diving into BitBake Metadata
    • Using metadata
    • Working with metadata
      • The basic variable setting
      • Variable expansion
      • Setting a default value using ?=
      • Setting a default value using ??=
      • Immediate variable expansion
      • Appending and prepending
      • Conditional metadata set
      • Conditional appending
      • File inclusion
      • Python variable expansion
      • Defining executable metadata
      • Defining Python functions in the global namespace
      • The inheritance system
    • Summary
  • Chapter 8: Developing with the Yocto Project
    • Deciphering the software development kit
    • Working with the Poky SDK
      • Using an image-based SDK
      • Generic SDK – meta-toolchain
      • Using a 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 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
      • Understanding file searching paths
    • Changing recipe feature configuration
    • Customizing BusyBox
    • Customizing the linux-yocto framework
    • Summary
  • Chapter 13: Achieving GPL Compliance
    • Understanding copyleft
      • Copyleft compliance versus proprietary code
      • Some guidelines for license compliance
    • Managing software licensing with Poky
      • Commercial licenses
    • Using Poky to achieve copyleft compliance
      • License auditing
      • Providing the source code
      • Providing compilation scripts and source code modifications
      • Providing license text
    • Summary

Otavio Salvador

Otavio Salvador loves to play video games and started his free software activities in 1999. In 2002, he founded O.S. Systems, a company focused on embedded system development services and consultancy worldwide, creating and maintaining customized BSPs and helping companies with their release management challenges. This resulted in him joining the OpenEmbedded community in 2008, when he became an active contributor to the OpenEmbedded project, culminating in his attribution as the maintainer of the Freescale ARM BSP layer in the Yocto Project in 2011.


Daiane Angolini

Daiane Angolini has been focusing on embedded technologies for the past 8 years. Since 2008, she has been working on Freescale Semiconductors as an application engineer, on internal development and porting custom applications from Android to Freescale architectures, and on customer support for ARM processors of the i.MX family, while also participating in Freescale forums. She has been working with the Yocto Project tools through meta-fsl-arm, the BSP meta layer that provides board support for Freescale ARM machines, since 2012. The desire to become an expert in ice cream making has been keeping her busy in her spare time for the past year.

Sorry, we don't have any reviews for this title yet.

Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

Embedded Linux Development with Yocto Project +    Mastering Web Application Development with AngularJS =
50% Off
the second eBook
Price for both: $30.45

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

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

Approach

A practical tutorial guide which introduces you to the basics of Yocto Project, and also helps you with its real hardware use to boost your Embedded Linux-based project.

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.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software