售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Embedded Linux Development with Yocto Project
Table of Contents
Embedded Linux Development with Yocto Project
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
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 the book
Errata
Piracy
Questions
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
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
3. Using Hob to Bake an Image
Building an image using Hob
Customizing an image with Hob
Summary
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
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
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
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
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
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
10. Exploring External Layers
Powering flexibility with layers
Detailing the layer's source code
Adding meta layers
Summary
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
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
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
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
A. References
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜