petalinux-create -t COMPONENT Options - 2022.2 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2022-10-19
Version
2022.2 English

The petalinux-create -t apps command allows you to customize how application components are created. The following table details options that are common when creating applications within a PetaLinux project

Table 1. petalinux-create -t apps Options
Option Functional Description Value Range Default Value
-s,--source SOURCE Create the component from pre-existing content on disk. Valid formats are .tar.gz, .tar.bz2, .tar, .zip, and source directory (uncompressed). This is optional. User-specified None
--template TEMPLATE Create the component using a pre-defined application template. This is optional.
  • c
  • c++
  • autoconf, for GNU autoconfig
  • fpgamanager: Pack the .dtbo, bit.bin, shell.json and .xclbin files into rootfs, support only for Zynq, Zynq UltraScale+ MPSoC.

    fpgamanger_dtg : Extract the .xsa and pack the pl.dtbo, .bin/pdi, shell.json and .xclbin files into rootfs, support only for Zynq, Zynq UltraScale+ MPSoCand Versal

    fpgamanager_dtg_dfx: Extract the rprm.xsa and pack the rprm.dtbo, .pdi, shell.json and .xclbin files into rootfs, support only for Versal DFX flow users.

  • install, for applications which have prebuilt binary only
c
--enable Upon creating the component, enable it in the project’s root file system. You can also enable using the petalinux-config -c rootfs. This is optional. None Disabled
--srcuri Creates an application with local sources or from remote source. None None