BSP Packaging - 2023.2 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
Release Date
2023.2 English

Steps on how to package a project are as follows:

  1. Navigate outside the PetaLinux project directory to run petalinux-package command.
  2. Use the following commands to package the BSP.
    petalinux-package --bsp -p <plnx-proj-root> --output MY.BSP

    This generates MY.BSP, including the following elements from the specified project:

    • <plnx-proj-root>/project-spec/
    • <plnx-proj-root>/config.project
    • <plnx-proj-root>/.petalinux/
    • <plnx-proj-root>/pre-built/
    • <plnx-proj-root>/.gitignore
    • <plnx-proj-root>/components