PetaLinux Command Line Reference 7
UG1157 (v2018.2) June 6, 2018 www.xilinx.com
Chapter 1: PetaLinux Tools
Options
Table 1-3 details options used specifically when creating a project.
Examples
The following examples demonstrate proper usage of the petalinux-create -t
project command.
• Create a new project from a reference BSP file.
$ petalinux-create -t project -s <PATH-TO-BSP>
• Create a new project based on the MicroBlaze™ template.
$ petalinux-create -t project -n <NAME> --template microblaze
petalinux-create -t COMPONENT
The petalinux-create -t COMPONENT command allows you to create various
components within the specified PetaLinux project. These components can then be
selectively included or excluded from the final system by toggling them using the
petalinux-config -c rootfs workflow.
Table 1-3: petalinux-create -t project Options
Option Functional Description Value Range Default Value
--template TEMPLATE Assumes the specified CPU
architecture, and is only required
when --source is not provided.
•microblaze
•zynq
•zynqMP
None
-s,--source SOURCE Create project based on specified
BSP file. SOURCE is the full path on
disk to the BSP file. This is optional.
User-specified None