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 petalinux-boot Deploy 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