The 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
formats/workflows are boot, bsp, and pre-built. The petalinux-package tool is executed using the package type
name to specify a specific workflow in the format petalinux-package --PACKAGETYPE.
- The
bootpackage type creates a file (.BIN or .MCS) that allows the target device to boot. - The
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. - The
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 absppackage type. - The
imagepackage type packages image for component with the specified format. - The
sysrootpackage type installs the sysroot for the AMD Vitis™ software platform. It can specify the installer path and also install directory path.
You are required to install AMD Vivado™ Design Suite on the same machine as PetaLinux to use petalinux-boot for the MCS format for
MicroBlaze™
processor. By default, the petalinux-package tool loads default files from the
<plnx-proj-root>/images/linux/
directory.