1. 只有使用创建了petalinux工程,后面一系列的petalinux指令才能正常执行
petalinux-create -t project --template zynq -n ALIENTEK-ZYNQ
2. 常用的命令
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 |
Package for Deploying the System | petalinux-package/petalinux-package --boot --fsbl --fpga --u-boot --force |
Boot the System for Testing | petalinux-boot |