万本电子书0元读

万本电子书0元读

顶部广告

Embedded Linux Development using Yocto Projects - Second Edition电子书

售       价:¥

0人正在读 | 0人评论 9.8

作       者:Otavio Salvador, Daiane Angolini

出  版  社:Packt Publishing

出版时间:2017-11-16

字       数:16.9万

所属分类: 人文社科 > 哲学/宗教 > 哲学

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Optimize and boost your Linux-based system with Yocto Project and increase its reliability and robustness efficiently and cost-effectively. About This Book Optimize your Yocto Project tools to develop efficient Linux-based projects Practical approach to learning Linux development using Yocto Project Demonstrates concepts in a practical and easy-to-understand way Who This Book Is For If you are an embedded Linux developer with a basic knowledge of Yocto Project and want to broaden your knowledge with examples of embedded development, then this book is for you. This book is also for professionals who want to find new insights into working methodologies for Linux development. 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. In Detail 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. Style and approach A clear, concise, and straightforward book that will enable you to use and implement the latest features of Yocto Project.
目录展开

Title Page

Embedded Linux Development using Yocto Projects

Second Edition

Copyright

Embedded Linux Development using Yocto Projects

Second Edition

Credits

About the Authors

About the Reviewer

www.PacktPub.com

Why subscribe?

Customer Feedback

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the color images of this book

Errata

Piracy

Questions

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

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

Using Toaster to Bake an Image

What is Toaster?

Installing Toaster

Starting Toaster

Building an image to QEMU

Summary

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

Optimizing the source code download

Disabling network access

Understanding BitBake's tasks

Extending tasks

Generating a root filesystem image

Summary

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

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

Specifying runtime package dependencies

Package feeds

Using package feeds

Summary

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

Override syntax operators

Conditional metadata set

Conditional appending

File inclusion

Python variable expansion

Defining executable metadata

Defining Python functions in the global namespace

The inheritance system

Summary

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

Developing applications on the target

Integrating with Eclipse

Summary

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

Exploring External Layers

Powering flexibility with layers

Detailing the layer's source code

Adding meta layers

The Yocto Project layer ecosystem

Summary

Creating Custom Layers

Making a new layer

Adding metadata to the layer

Creating an image

Adding a package recipe

Automatically creating a base package recipe using recipetool

Adding support to a new machine definition

Wrapping an image for your machine

Using a custom distribution

MACHINE_FEATURES versus DISTRO_FEATURES

Understanding the variables scope

Summary

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

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

Booting Our Custom Embedded Linux

Exploring the boards

Discovering the right BSP layer

Baking for the hardware

Baking for BeagleBone Black

Baking for Raspberry Pi 3

Baking for the Wandboard

Booting our baked image

Booting BeagleBone Black from the SD card

Booting Raspberry Pi 3 from the SD card

Booting Wandboard from the SD card

Next steps

Summary

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部