Steps to Include Prebuilt Applications - 2022.2 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2022-10-19
Version
2022.2 English

If your prebuilt application name is myapp, including this into PetaLinux root file system is explained in following steps.

  1. Ensure that the pre-compiled code has been compiled for your PetaLinux target architecture, for example, MicroBlaze™ processors, Arm® cores etc.
  2. Create an application with the following command.
    $ petalinux-create -t apps --template install --name myapp --enable
  3. Change to the newly created application directory.
    $ cd <plnx-proj-root>/project-spec/meta-user/recipes-apps/myapp/files/
  4. Remove existing myapp app and copy the prebuilt myapp into myapp/files directory.
    $ rm myapp
    $ cp <path-to-prebuilt-app> ./
    Important: You need to ensure that the binary data being installed into the target file system by an install template application is compatible with the underlying hardware implementation of your system.