petalinux-package tool packages a
PetaLinux project into a format suitable for deployment. The tool provides several
workflows whose operations vary depending on the target package format. The supported
petalinux-package tool is executed using the package type
name to specify a specific workflow in the format
bootpackage type creates a file (.BIN or .MCS) that allows the target device to boot.
bsppackage type creates a .bsp file which includes the entire contents of the target PetaLinux project. This option allows you to export and re-use your bsp.
pre-builtpackage type creates a new directory within the target PetaLinux project called "pre-built" and contains prebuilt content that is useful for booting directly on a physical board. This package type is commonly used as a precursor for creating a
imagepackage type packages image for component with the specified format.
sysrootpackage type installs the sysroot for the Vitis™ software platform. It can specify the installer path and also install directory path.
You are required to install
Vivado® Design Suite on the same machine as PetaLinux to use
petalinux-boot for the MCS format for
processor. By default, the
petalinux-package tool loads default files from the