没有合适的资源?快使用搜索试试~ 我知道了~
xilinx的petalinux工具使用手册
需积分: 2 4 下载量 51 浏览量
2023-06-24
14:41:52
上传
评论
收藏 631KB PDF 举报
温馨提示
试读
35页
使用zynq的做ps开发的需要用,也可以自行去官网下载 ug1157-petalinux-tools-command-line-guide
资源推荐
资源详情
资源评论
PetaLinux Tools
Documentation
PetaLinux Command Line
Reference
UG1157 (v2018.2) June 6, 2018
PetaLinux Command Line Reference 2
UG1157 (v2018.2) June 6, 2018 www.xilinx.com
Revision History
The following table shows the revision history for this document.
Section Revision Summary
06/06/2018 Version 2018.2
General updates • Editorial updates only. No technical content updates.
04/18/2018 Version 2018.1
General updates • Modified Table 1-4
petalinux-build • Added new options to the petalinux-build command line
options
petalinux-boot • Added new options to the petalinux-boot command line
options
petalinux-package --sysroot • Added a new section
Send Feedback
PetaLinux Command Line Reference 3
UG1157 (v2018.2) June 6, 2018 www.xilinx.com
Table of Contents
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Chapter 1: PetaLinux Tools
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
petalinux-create. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
petalinux-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
petalinux-build . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
petalinux-boot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
petalinux-package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
petalinux-util . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Appendix A: Additional Resources and Legal Notices
Xilinx Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Solution Centers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Documentation Navigator and Design Hubs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Please Read: Important Legal Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Send Feedback
PetaLinux Command Line Reference 4
UG1157 (v2018.2) June 6, 2018 www.xilinx.com
Chapter 1
PetaLinux Tools
Introduction
PetaLinux is a development and build environment which automates many of the tasks
required to boot embedded Linux on Xilinx SoC’s and FPGA’s. It uses Yocto Project
underneath for configuring and building various components. This document contains
detailed information about the various tools that comprise the PetaLinux environment.
There are six independent tools that make up the PetaLinux design flow. They are:
• petalinux-create
• petalinux-config
• petalinux-build
• petalinux-boot
• petalinux-package
• petalinux-util
In most cases, the individual PetaLinux tools are flexible such that the specific options
passed to the tools present you with a unique usage model, compared to other options for
the same tool.
For the purposes of this document, command line arguments that behave as a modifier for
a workflow are referred to as "options”. When options can accept user-specified values,
these values are shown in italics. In some cases, omitting the user-specified value may result
in a built-in default behavior. See the "Default Value" column in the tables for details about
relevant default values.
Send Feedback
PetaLinux Command Line Reference 5
UG1157 (v2018.2) June 6, 2018 www.xilinx.com
Chapter 1: PetaLinux Tools
Design Flow Overview
In general, the PetaLinux tools follow a sequential workflow model. The table below
provides an example design workflow, demonstrating the order in which the tasks should
be completed and the corresponding tool or workflow for that task.
Table 1-1: Design Flow Overview
Design Flow Step Tool / Workflow
Hardware Platform Creation Vivado
Create PetaLinux Project petalinux-create -t project
Initialize PetaLinux Project petalinux-config --get-hw-description
Configure System-Level Options petalinux-config
Create User Components petalinux-create -t COMPONENT
Configure the Linux Kernel petalinux-config -c kernel
Configure the Root Filesystem petalinux-config -c rootfs
Build the System petalinux-build
Test the System on qemu petalinux-boot --qemu
Deploy the System petalinux-package --boot
Send Feedback
剩余34页未读,继续阅读
资源评论
kenttenk
- 粉丝: 0
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功