Steps for BSP Packaging - 2022.2 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2022-10-19
Version
2022.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