I have successfully created a project of ultra96 with petalinux tools. however, just in case that I want to move the project in the future,
I tried to zip the whole folder and copy the zip file, unzip it on the another PC, it won't build. And some errors like "cannot find the path/files" pop up in the terminal.
What is the correct way to make a template of a current petalinux project, because
1> I don't want to petalinux-build every single time when I am going to make a new project
2> I want to keep the current design including .xpr and .hdf file before further modify them, in case that I need current design in the future?
According to this post: https://forums.xilinx.com/t5/Embedded-Linux/How-to-archive-Petalinux-project/td-p/860188
In PetaLinux you can archive the project files by creating .bsp as described in UG1144 docs. Below is the command.
$ petalinux-package --bsp -p <plnx-proj-root> --hwsource <path-to-hw-project-root> --output <plnx-project-bsp-name>.bsp