zynq petalinux编译用户自定义系统

来源:互联网 发布:爱发php自动发卡程序 编辑:程序博客网 时间:2024/05/17 06:37

Design Flow Step                       Tool/Workflow Hardware Platform Creation             VivadoCreate PetaLinux Project                petalinux-create -t projectInitialize PetaLinux Project            petalinux-config --get-hw-descriptionConfigure System-level Options          petalinux-configCreate User Components                  petalinux-create -t COMPONENTConfigure the Linux Kernel              petalinux-config -c kernelConfigure the Root Filesystem           petalinux-config -c rootfsBuild the system                        petalinux-buildTest the System                         petalinux-bootDeploy the System                       petalinux-package

If you are using a 64-bit Linux host, you must install the appropiate 32-bit compatablelibraries. Please refer to section Required Tools and Libraries.

 

petalinux 安装

首先下载petalinux工具安装包

http://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-design-tools/2016-1.html

http://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/petalinux.html

将Petalinux 工具安装在/opt目录下:

 ​$cd /opt$./petalinux-v2016.1-final-installer.run /opt

这将生成/opt/petalinux-v2016.1-final目录。

webtalk选项用于xilinx收集用户使用数据,关闭方法如下:

 ​$cd /opt$./petalinux-v2016.1-final-installer.run /opt

开发流程见图


创建工程:

petalinux-create -t project -s Avnet-Digilent-ZedBoard-v2016.1-final.bsp

定制化系统:


package:

gsc@gsc-250:~/zynzq7000/Project_based_petalinux/Avnet-Digilent-ZedBoard-2016.1/images/linux$ petalinux-package --boot --fsbl zynq_fsbl.elf --fpga system_wrapper.bit --u-boot



0 0
原创粉丝点击