Steps to Test User Application - 2021.2 English

PetaLinux Tools Documentation: Reference Guide

Document ID
UG1144
Release Date
2021-10-27
Version
2021.2 English
  1. Boot the newly created system image on target or QEMU.
  2. Confirm that your user application is present on the PetaLinux system by running the following command on the target system login console:
    # ls /usr/bin

    Unless you have changed the location of the user application through its Makefile, the user application is placed into the /usr/bin directory.

  3. Run your user application on the target system console. For example, to run the user application myapp:
    # myapp
  4. Confirm that the result of the application is as expected.

If the new application is missing from the target file system, ensure that you have completed the petalinux-build -x package step as described in the previous section. This ensures that your application binary is copied into the root file system staging area, and that the target system image is updated with this new file system.