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
, sysroot
, wic
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
boot
package type creates a file (.BIN or .MCS) that allows the target device to boot. - The
bsp
package 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-built
package 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 absp
package type. - The
wic
Packages the SD bootable image. - The
sysroot
package 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.