没有合适的资源?快使用搜索试试~ 我知道了~
首页zedboard xilinx petalinux
zedboard xilinx petalinux
需积分: 14 9 下载量 101 浏览量
更新于2023-03-16
评论 1
收藏 267KB PDF 举报
ug1156-petalinux-tools-workflow-tutorial-2014.4.pdf
资源详情
资源评论
资源推荐
PetaLinux Tools
Documentation
Workflow Tutorial
UG1156 (v2014.4) November 25, 2014
Notice of Disclaimer
The information disclosed to you hereunder (the "Materials") is provided solely for the selection and use of Xilinx products. To the maximum extent
permitted by applicable law: (1) Materials are made available "AS IS" and with all faults, Xilinx hereby DISCLAIMS ALL WARRANTIES AND
CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO ARRANTIES OF MERCHANTABILITY,
NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and (2) Xilinx shall not be liable (whether in contract or tort, including
negligence, or under any other theory of liability) for any loss or damage of any kind or nature related to, arising under, or in connection with, the
Materials (including your use of the Materials), including for any direct, indirect, special, incidental, or consequential loss or damage (including loss of
data, profits, goodwill, or any type of loss or damage suffered as a result of any action brought by a third party) even if such damage or loss was
reasonably foreseeable or Xilinx had been advised of the possibility of the same. Xilinx assumes no obligation to correct any errors contained in the
Materials or to notify you of updates to the Materials or to product specifications. You may not reproduce, modify, distribute, or publicly display the
Materials without prior written consent. Certain products are subject to the terms and conditions of the Limited Warranties which can be viewed at
http://www.xilinx.com/warranty.htm; IP cores may be subject to warranty and support terms contained in a license issued to you by Xilinx. Xilinx
products are not designed or intended to be fail-safe or for use in any application requiring fail-safe performance; you assume sole risk and liability for
use of Xilinx products in Critical Applications: http://www.xilinx.com/warranty.htm#critapps.
© Copyright 2014 Xilinx, Inc. Xilinx, the Xilinx logo, Artix, ISE, Kintex, Spartan, Virtex, Vivado, Zynq, and other designated brands included herein are
trademarks of Xilinx in the United States and other countries. All other trademarks are the property of their respective owners.
Revision History
Date Version Notes
11/25/2014 2014.4 Initial public release for PetaLinux Tools 2014.4
Workflow Tutorial
UG1156 (v2014.4) November 25, 2014
www.xilinx.com 1
Send Feedback
Table of Contents
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Online Updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Design Flow Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Chapter 1: Working With PetaLinux Reference BSP’s . . . . . . . . . . . . . . . . . . . . . . . . . 5
Rebuilding the Reference Design Software Image . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Compile PetaLinux Reference Design System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Chapter 2: Test Drive a PetaLinux BSP Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Testing the Pre-Built PetaLinux Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Testing the Pre-Built PetaLinux Image on Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Boot Pre-built Images from SD Card (Zynq Only) . . . . . . . . . . . . . . . . . . . . . . . . . 9
Boot Pre-built Images with JTAG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Test Pre-Built PetaLinux Image with QEMU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Testing the Re-Built PetaLinux Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Test the Rebuilt Image on Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Test the Rebuilt Image with QEMU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Chapter 3: Configuring Custom Hardware for Embedded Linux . . . . . . . . . . . . . . . . . . . 15
Configuring a Hardware Platform for Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Zynq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
MicroBlaze . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Exporting the Hardware Platform for PetaLinux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Chapter 4: Working with a PetaLinux Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Creating a New Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Import Hardware Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Configure Project Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Chapter 5: Software Testing with QEMU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Exiting the QEMU Emulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Boot the Default Linux Kernel Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Boot a Specific Linux Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Boot a Linux Image with a Specific DTB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Chapter 6: Building a Bootable System Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Generate Boot Image for Zynq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Generate Downloadable Image for MicroBlaze . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Workflow Tutorial
UG1156 (v2014.4) November 25, 2014
www.xilinx.com 3
Send Feedback
Appendix A: Internal Architecture of PetaLinux Projects . . . . . . . . . . . . . . . . . . . . . . . 24
Working with the PetaLinux Menuconfig System . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Auto Config Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Subsystem AUTO Hardware Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
System Processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Memory Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Serial Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Ethernet Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Flash Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
SD/SDIO Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Timer Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Reset GPIO Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Advanced bootable images storage Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Kernel Bootargs Sub-Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
U-boot Configuration Sub-Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Image Packaging Configuration Sub-Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Firmware Version Configuration Sub-Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
PetaLinux Project Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Anatomy of a PetaLinux Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
PetaLinux Project Directory Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Workflow Tutorial
UG1156 (v2014.4) November 25, 2014
www.xilinx.com 4
Send Feedback
剩余34页未读,继续阅读
年轻奔跑的蜗牛
- 粉丝: 0
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- ExcelVBA中的Range和Cells用法说明.pdf
- 基于单片机的电梯控制模型设计.doc
- 主成分分析和因子分析.pptx
- 共享笔记服务系统论文.doc
- 基于数据治理体系的数据中台实践分享.pptx
- 变压器的铭牌和额定值.pptx
- 计算机网络课程设计报告--用winsock设计Ping应用程序.doc
- 高电压技术课件:第03章 液体和固体介质的电气特性.pdf
- Oracle商务智能精华介绍.pptx
- 基于单片机的输液滴速控制系统设计文档.doc
- dw考试题 5套.pdf
- 学生档案管理系统详细设计说明书.doc
- 操作系统PPT课件.pptx
- 智慧路边停车管理系统方案.pptx
- 【企业内控系列】企业内部控制之人力资源管理控制(17页).doc
- 温度传感器分类与特点.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0