In order to modify existing recipes, the Yocto devtool utility is used. While expert users can manually navigate to the PetaLinux project directory and use petalinux-devtool, the Peta-Manager provides a higher-level interface for convenience.

More details about the devtool utility can be found in the Peta-Manager documentation.

Currently, the main supported recipes include:

However, the tool is flexible enough to manage any manually included recipe.

Modifying a recipe

  ./peta-manager.py devtool --prj <project-name> --cmd modify -n <recipe-name> <src-path>
  

This command modifies the source of the specified <recipe-name> to point to the provided <src-path>.

Building a recipe

  ./peta-manager.py devtool --prj <project-name> --cmd build <recipe-name>
  

This command initiates the build of the specified <recipe-name>.

Deploying a recipe to the target board

  ./peta-manager.py devtool --prj <project-name> --cmd deploy-target <recipe-name> <target>
  

This command transfers the updated recipe output files to the running target board.

Reseting a recipe

  ./peta-manager.py devtool --prj <project-name> --cmd reset <recipe-name>
  

This command removes the specified recipe and its configuration from the workspace layer.