没有合适的资源?快使用搜索试试~ 我知道了~
首页Wind River Linux用户手册 5.0.1
Wind River Linux是为嵌入式设备创建优化Linux发行版的软件开发环境。 Wind River Linux 5.0.1基于OpenEmbedded Core(OE Core)元数据项目的Yocto项目实现。yocto项目使用构建配方和配置文件来定义核心平台项目图像及其提供的应用程序和功能。Wind River Linux基于此核心功能,并添加了特定于Wind River的扩展、工具和服务,以促进嵌入式Linux平台的快速开发。
资源详情
资源评论
资源推荐
Wind River Linux
USER'S GUIDE
5.0.1
Copyright Notice
Copyright
©
2014 Wind River Systems, Inc.
All rights reserved. No part of this publication may be reproduced or transmitted in any form or
by any means without the prior written permission of Wind River Systems, Inc.
Wind River, Tornado, and VxWorks are registered trademarks of Wind River Systems, Inc.
The Wind River logo is a trademark of Wind River Systems, Inc. Any third-party trademarks
referenced are the property of their respective owners. For further information regarding Wind
River trademarks, please see:
www.windriver.com/company/terms/trademark.html
This product may include software licensed to Wind River by third parties. Relevant notices (if
any) are provided in your product installation at one of the following locations:
installDir/product_name/3rd_party_licensor_notice.pdf
installDir/legal-notices/
Wind River may refer to third-party documentation by listing publications or providing links to
third-party Web sites for informational purposes. Wind River accepts no responsibility for the
information provided in such third-party documentation.
Corporate Headquarters
Wind River
500 Wind River Way
Alameda, CA 94501-1153
U.S.A.
Toll free (U.S.A.): 800-545-WIND
Telephone: 510-748-4100
Facsimile: 510-749-2010
For additional contact information, see the Wind River Web site:
www.windriver.com
For information on how to contact Customer Support, see:
www.windriver.com/support
15 Jan 2014
iii
Contents
PART I: INTRODUCTION
1 Overview .................................................................................................................. 15
Wind River Linux Overview ............................................................................................... 15
Kernel and File System Components ................................................................. 16
Supported Run-time Boards ............................................................................... 18
Optional Add-on Products .................................................................................. 20
Product Updates ................................................................................................. 22
2 Run-time Software Configuration and Deployment Workflow ........................... 27
3 Development Environment .................................................................................... 29
Directory Structure ............................................................................................................. 29
Metadata ............................................................................................................................ 32
Configuration Files and Platform Projects ......................................................................... 33
Assigning Empty Values in BitBake Configuration Files ..................................... 38
README Files in the Development Environment ............................................................. 39
Viewing a Specific README File in the Installation ........................................... 39
Cloning a Layer to View Installation README Files .......................................... 40
Viewing All Installation README Files in a Web Browser ................................. 40
4 Build Environment .................................................................................................. 41
About the Project Directory ............................................................................................... 41
Creating a Project Directory .............................................................................................. 42
Directory Structure for Platform Projects ........................................................................... 43
Feature Templates in the Project Directory ........................................................ 47
Kernel Configuration Fragments in the Project Directory ................................... 51
Viewing Template Descriptions .......................................................................... 54
About the layers/local Directory ......................................................................... 54
About README Files in the Build Environment ................................................................ 56
Adding a Layer to a Platform Project to View README Files ............................ 56
Adding All Layers to a Platform Project to View All README Files ................... 57
PART II: PLATFORM PROJECT IMAGE DEVELOPMENT
Wind River Linux
User's Guide, 5.0.1
iv
5 Configuration and Build ........................................................................................ 61
Introduction ........................................................................................................................ 61
About Creating the Platform Project Build Directory .......................................... 62
About Configuring a Platform Project Image ...................................................... 62
Initializing the Wind River Linux Environment .................................................... 63
About the Configure Script ................................................................................. 63
About Building Platform Project Images ............................................................................ 72
About the make Command ................................................................................ 72
Yocto Project Equivalent make Commands ........................................................ 73
About Build Logs ................................................................................................ 75
Build-Time Optimizations ................................................................................................... 76
Examples of Configuring and Building .............................................................................. 77
Configuring and Building a Complete Run-time ................................................. 77
Commands for Building a Kernel Only ............................................................... 78
Configuring and Building a Flash-capable Run-time .......................................... 78
Configuring and Building a Debug-capable Run-time ........................................ 79
Building a Target Package ................................................................................. 80
About Creating Custom Configurations Using rootfs.cfg ................................................... 80
About the rootfs.cfg File ..................................................................................... 82
About New Custom rootfs Configuration ............................................................ 84
EGLIBC File Systems ........................................................................................................ 85
Creating and Customizing EGLIBC Platform Project Images ............................. 86
EGLIBC Option Mapping Reference .................................................................. 88
6 Localization ............................................................................................................. 91
About Localization ............................................................................................................. 91
Determining which Locales are Available ........................................................... 91
Setting Localization ............................................................................................ 93
7 Portability ................................................................................................................ 95
About Platform Project Portability ...................................................................................... 95
Copying or Moving a Platform Project .............................................................................. 96
Updating a Platform Project to a New Wind River Linux Installation Location ................... 96
8 Layers ...................................................................................................................... 99
About Layers ...................................................................................................................... 99
Layers Included in a Standard Installation ........................................................................ 100
Installed Layers vs. Custom Layers .................................................................................. 102
Layer Structure by Layer Type .......................................................................................... 103
About Layer Processing and Configuration ....................................................................... 105
About Processing a Project Configuration ......................................................... 105
Creating a New Layer ........................................................................................ 106
Contents
v
Enabling a Layer ................................................................................................ 107
Disabling a Layer ................................................................................................ 108
9 Recipes .................................................................................................................... 109
About Recipes ................................................................................................................... 109
A Sample Application Recipe File ...................................................................... 110
About Recipe Files and Kernel Modules ............................................................ 111
Extending Recipes with .bbappend Files ........................................................... 111
Creating a Recipe File ...................................................................................................... 112
Identifying the LIC_FILES_CHKSUM Value ...................................................................... 113
10 Templates .............................................................................................................. 115
About Templates ................................................................................................................ 115
Adding Feature Templates ................................................................................................. 116
Adding Kernel Configuration Fragments ........................................................................... 117
11 Finalizing the File System Layout with changelist.xml .................................... 119
About File System Layout XML Files ................................................................................ 119
About File and Directory Management with XML ............................................................. 119
Device Options Reference ................................................................................................. 120
Directory Options Reference ............................................................................................. 121
File Options Reference ...................................................................................................... 122
Pipe Options Reference .................................................................................................... 123
Symlink Options Reference ............................................................................................... 123
The Touched/Accessed touch.xml Database File ............................................................. 124
PART III: USERSPACE DEVELOPMENT
12 Developing Userspace Applications .................................................................. 127
Introduction ........................................................................................................................ 127
About Application Development ......................................................................... 127
Cross Development Tools and Toolchain ........................................................... 128
About Sysroots and Multilibs .............................................................................. 128
Creating a Sample Application .......................................................................................... 132
Exporting the SDK ............................................................................................................. 136
Exporting the SDK ............................................................................................. 136
Exporting the SDK for Windows Application Development ................................. 137
Adding Applications to a Platform Project Image .............................................................. 138
Options for Adding an Application to a Platform Project Image .......................... 138
Adding New Application Packages to an Existing Project .................................. 139
Adding an Application to a Root File System Using changelist.xml ................... 140
剩余371页未读,继续阅读
Dvorak1990
- 粉丝: 93
- 资源: 89
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- RTL8188FU-Linux-v5.7.4.2-36687.20200602.tar(20765).gz
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1