This section assumes that you have already added and built the PetaLinux application. For more information, see Creating and Adding Custom Applications and Building User Applications.
For the steps on how to auto run application at start up, see PetaLinux Yocto Tips.