没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
VxWorks® is a multicore-capable Real-Time Operating System (RTOS), commonly used in fully featured embedded subsystems where a commercial runtime software and tool chain solution is required. Supporting a variety of CPU architectures, most notably the ARM Cortex™-A9 MPCore as available in the All Programmable Zynq®-7000 SoC platform. This application note focusses on using the all new (circa 2014) VxWorks 7 offering on this platform, for guidance on using the maturing VxWorks 6.9 release refer to XAPP1158 [
资源推荐
资源详情
资源评论



















XAPP1258 (v1.0) May 8, 2015 www.xilinx.com 1
Summary
VxWorks® is a multicore-capable Real-Time Operating System (RTOS), commonly used in fully
featured embedded subsystems where a commercial runtime software and tool chain solution
is required. Supporting a variety of CPU architectures, most notably the ARM Cortex™-A9
MPCore as available in the All Programmable Zynq®-7000 SoC platform. This application note
focusses on using the all new (circa 2014) VxWorks 7 offering on this platform, for guidance on
using the maturing VxWorks 6.9 release refer to XAPP1158 [Ref 1].
Introduction
This application note comprises the following major sections:
• VxWorks Project Types
• Source Build Project – Creation, Configuration and Build
• Kernel Image Project – Creation, Configuration and Build
• Target Bring-Up – Local and Network Boot
• Software Application (Generic) – Creation, Development and Debug
• Software Application (Peripheral Access) – Creation, Development and Debug (ZC702 Only)
• Appendix A: Development Environment Installation
• Appendix B: Customizing uBoot for the Avnet Mini-ITX Development Kit
Hardware and Software Requirements
Hardware Requirements (Optional)
1. Xilinx ZC702 Development Kit (XC7Z020-1CLG484)
2. Avnet Mini-ITX Development Kit (XC7Z045-2FFG900)
Software Requirements
1. Wind River Workbench 4.0
(See Appendix A: Development Environment Installation for installation instructions.)
2. TFTP server application, such as tftpd32
3. Serial communication utility, such as Tera Term
Application Note: Zynq-7000 AP SoC
XAPP1258 (v1.0) May 8, 2015
Using VxWorks 7 BSP with the
Zynq-7000 AP SoC
Authors: Uwe Gertheinrich, Simon George, Kester Aernoudt, John Linn, and
Upender Cherukupally

VxWorks Project Types
XAPP1258 (v1.0) May 8, 2015 www.xilinx.com 2
VxWorks Project Types
VxWorks Source Build (VSB)
These are the kernel libraries. VxWorks 6.9 and previous versions ship with standard prebuilt
libraries, but it might be useful to change the configuration/sources of a VSB to rebuild them
for a specific need.
You must build custom libraries if you want to vary from the default binaries shipped with your
platform. For example, if you want to change the default settings for endianness, enable SMP
support, or enable real-time process support, you must specify the appropriate options and
build custom libraries. To build custom libraries, you must create, configure, and compile a
VxWorks source build (VSB) project.
VxWorks Image Project (VIP)
This is the image that you build and run on the target. It contains the kernel, BSP, architecture
support, and VxWorks middleware (stacks, standard programs, etc.). It might also contain a
specific type of read-only file system that is linked with the image (romfs).
A VxWorks image project (VIP) is used to create a version of VxWorks using components based
on the precompiled libraries provided in the VxWorks installation. A VIP can use the standard
components that are delivered with binary libraries, or it can be based on a VxWorks source
build (VSB) project.
Downloadable Kernel Module (DKM)
This is similar to kernel modules in Linux (binaries that you can load and unload on-the-fly to
add symbols to the kernel). This can be used to dynamically load applications/drivers that run
in kernel space.
You can use DKM projects to manage and build modules that exist in the kernel space. You can
separately build the modules, run, and debug them on a target running VxWorks, loading,
unloading, and reloading on-the-fly. Once your development work is complete, the modules
can be statically linked into the kernel, or they can use a file system if one is present.

Source Build Project – Creation, Configuration and Build
XAPP1258 (v1.0) May 8, 2015 www.xilinx.com 3
Source Build Project – Creation, Configuration and Build
This section explains how to create, configure and build a VxWorks Source Build (VSB) image
from the Zynq-7000 BSP that is natively installed with the Wind River environment. Such must
be created before creating a VxWorks kernel image. These steps explain how to achieve this:
1. Invoke Wind River Workbench and open a new or existing workspace.
2. Select File > New > Project. The new project wizard opens.
3. Under VxWorks 7, select the VxWorks Source Build Project, as shown in Figure 1.
X-Ref Target - Fi gure 1
Figure 1: Selecting the VxWorks Source Build Project
[BB

Source Build Project – Creation, Configuration and Build
XAPP1258 (v1.0) May 8, 2015 www.xilinx.com 4
3. Click Next. The New VxWorks Source Build Project wizard dialog box opens, as shown in
Figure 2.
4. Enter a project name, for example, Xilinx_Zynq7k_BSP, and click Next.
RECOMMENDED: It is highly recommended that this be located outside of your workspace to enable
reuse across developments – it is a 'one off build stage' and build times can approach 10-20 minutes.
X-Ref Target - Fi gure 2
Figure 2: New VxWorks Source Build Project Wizard Dialog Box
x1258_30_050715

Source Build Project – Creation, Configuration and Build
XAPP1258 (v1.0) May 8, 2015 www.xilinx.com 5
5. Select the appropriate Zynq BSP in the BSP: drop down menu, as shown in Figure 3. This
would be xlnx_zynq7k_?_?_?_? | avnet_mini_itx_7z_?_?_?_? for the
pre-installed BSPs. Click Finish.
Note:
BSP versions evolve and might be updated from that which is available at time of publication
of this application note. Select that which is most suitable to your development.
After a few seconds, the BSP project is created in the Project Explorer window.
6. Right-click Xilinx_Zynq7k_BSP and select the Properties option.
7. The Properties view for Xilinx_Zynq7k_BSP wizard opens. Click Build Properties and change
the Build command to make -jN where N is the number of cores in your host machine. This
speeds up the build time. Give the N value with respect to the host machine configuration
and click Apply.
X-Ref Target - Fi gure 3
Figure 3: Selecting the BSP and Creating Source Build Project for the Zynq-7000 AP SoC
x1258_03_050115
剩余28页未读,继续阅读
资源评论

- 花雕朽木2018-07-03终于找到好资料了,学习中
- sun_king5212019-10-16不是BSP代码,而是说明文档,被误导了

lipuxx
- 粉丝: 3
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 电子竞赛-模拟数字电路设计基础
- 电力电子领域图腾柱PFC电路仿真:电压电流双闭环PI控制及参数设计
- 基于SMIC 180nm工艺的10bit 20MHz SAR ADC设计详解:原理解读、电路设计与实践演练 - Matlab
- 基于博途1200 PLC与HMI六层电梯控制系统的全面仿真与实现 教程
- 学习平台代码code.zip
- 路径规划中二维RRT算法与贝塞尔曲线平滑路径的应用及优化
- 电动汽车永磁同步电机电磁设计与最优控制研究:从有限元分析到ETRR优化策略 永磁同步电机
- 基于Simulink平台的永磁同步风力发电机仿真模型研究:动态参数调整与响应分析
- LCL三相并网逆变器:仿真与说明文件中的准PR比例谐振控制
- 机械故障诊断领域中基于Matlab的轴承内圈故障信号模拟及图像生成 - 噪声模拟 详细版
- 永磁同步电机无差预测电流控制解析
- 基于dq坐标电压电流双闭环PI控制的三相PWM整流器仿真模型及SVPWM调制的应用研究
- 电力电子领域MMC两种调制策略(NLM与CPS-PWM)实现3000V-5000V整流仿真及性能评估
- 基于博途1200 PLC与HMI的电梯控制系统仿真与实现:三层电梯的智能运行与管理
- 基于STM32F405的高频方波注入方案:永磁同步电机无感FOC控制及直接闭环启动技术
- 基于博途1200 PLC与HMI的四层电梯控制系统仿真设计与实现
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
