售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Using Yocto Project with BeagleBone Black
Table of Contents
Using Yocto Project with BeagleBone Black
Credits
Foreword
About the Author
Acknowledgments
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 example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Welcome to Yocto Project and BeagleBone Black
Setting up a host environment
Essentials
Graphics
Documentation
ADT Installer Extras
Obtaining Yocto Project
Let's build for BeagleBone
Local.conf
bblayers.conf
site.conf
auto.conf
Trigger build
Creating partitions and formatting the SD card
Copying images to the card
Hardware setup
Serial setup
Booting BeagleBone
More about configuration files
machine.conf
bitbake.conf
Standard target filesystem paths
Architecture-dependent build variables
Package default variables
General work and output directories for the build system
Specific image creation and rootfs population information
Build flags and options
Download locations and utilities
Including the rest of the config files
Summary
2. What's BitBake All About?
A brief history of BitBake
Legacy tools and BitBake
Cross-compilation
Resolving inter-package dependencies
Variety of target distribution
Coupling to build systems
Variety of build systems distros
Variety of architecture
Exploit parallelism
Easy to use, extend, and collaborate
BitBake execution
Parsing metadata
Preparing tasklist
Executing tasks
BitBake options
Building a specific recipe (-b)
ContinuContinuing build even in the case of errors (-k, --continue)
Force-specific tasks (-f, --force)
Using alternate providers (-a, --tryaltconfigs)
Executing a specific task (-c)
Invalidate stamps (-C, --clear-stamp)
Increasing verbosity (-v, --verbose)
Debug level (-D, --debug)
Dry run (-n, --dry-run)
Parse only (-p, --parse-only)
Show versions (-s, --show-versions)
Get environment (-e, --environment)
Generating a dependency graph (-g, --graphviz)
Log levels (-l DEBUG_DOMAINS, --log-domains=DEBUG_DOMAINS)
Profile (-P, --profile)
Select UI (-u UI, --ui=UI)
Don't use shared state (--no-setscene)
Summary
3. Creating the helloworld Recipe
Creating helloworld
Contents of the helloworld recipe
Recipe naming and related variables
Building a recipe
Build directories
Tasks
Build
Fetch
Unpack
Patch
Configure
Compile
Install
Package
Devshell
Clean
Cleansstate
Cleanall
Overriding default tasks
Deploying helloworld
Manually installing a package
Making an image dependent on our package
Summary
4. Adding Multimedia to Your Board
Introducing gaku
The recipe for gaku
Package control variables
Build dependencies (DEPENDS)
Runtime dependencies (RDEPENDS)
Runtime recommendations (RRECOMMENDS)
RCONFLICTS
RREPLACE
PROVIDES
RPROVIDES
Source control in a recipe
SRCREV
PV calculation
The SRC_URI specification
The S directory
Inheriting classes
GStreamer recipes' short trip
Types of variable assignments
EXTRA_OECONF
The FILES_ variables
Variable flags
ALLOW_EMPTY
FILESPATH
Conditional overriding mechanisms
Reusing and sharing the same code
Action time
Summary
5. Creating and Exploring Layers
Layer creation using script
Contents of layers
The conf directory
recipes-* director{y,ies}
Classes
COPYING.mit
README
Conditional selection based on layers
Append files
Packagegroups
Summary
6. Your First Console Game
Hardware requirements
Pacman4Console
Let's develop our recipe
Basic elements
Source control
Work directory and version
The S directory
Debugging compile tasks
Installing a task
Adding package contents
Adding a package to the root filesystem
packagegroup
Image bbappend
Action
Summary
7. Turning BeagleBone into a Home Surveillance System
Problem statement
Requirements
Existing solutions / literature survey
Requiring specialized capturing hardware
Requiring specialized software application
Based on Debian/Angstrom
Selected solution
Host/server side (BeagleBone)
Client side
Let's start the fun
Base plugins
Good plugins
Bad plugins
Ugly plugins
Enabling GStreamer and plugins
Enabling Video4Linux2
In-place amendment
Using append
Using local.conf
The GStreamer pipeline
Client side
VLC
GStreamer
Get ready for running and surprises
Camera-detection issues
UVC driver DMA issue
Build with the meta-ti layer
Fetch the layer
Set the layer priority
Enable the layer
Further enhancements
Summary
8. BeagleBone as a Wi-Fi Access Point
Problem statement / use case
Requirements
Literature survey
Our strategy
Enabling kernel support
Networking support – wireless
Device Drivers > Network device support > Wireless LAN > Atheros Wireless Cards
A better approach toward Kernel configurations
Copying firmware
Using the previous kernel version
Issue with rfkill
Required packages
Changing upstart scripts
Recipe Hotspot-yb
The access point launcher script
Systemd service unit file
Configuration file for the driver module
Configuration file for hostapd
The gateway setup file
The udhcp configuration file
The udhcp empty lease file
Recipe file hotspot-yb_0.1.bb
Enabling hotspot-yb
Managing in packagegroups
Knowing the issues/enhancements
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜