cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
wzab
Mentor
Mentor
739 Views
Registered: ‎08-24-2011

How to archive Petalinux project?

Jump to solution

In Vivado there is a special function in the menu "File->Archive project" that allows me to create a minimized archive with all information needed to recreate the project on the same or another machine.

Is there a similar functionality in Petalinux?

Maybe there is at least a detailed recipe what fiels and directories should I store in my archive (probably config.project, project-spec, and what else?), and how should I adjust paths after unpacking the archive in another machine and another directory?

TIA & Regards,

Wojtek

0 Kudos
Reply
1 Solution

Accepted Solutions
sandeepg
Moderator
Moderator
849 Views
Registered: ‎04-24-2017

Hi @wzab,

 

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
Thanks,
Sandeep
PetaLinux Yocto | Embedded SW Support

---------------------------------------------------------------------------
Don’t forget to Reply, Kudo, and Accept as Solution.
---------------------------------------------------------------------------

View solution in original post

2 Replies
sandeepg
Moderator
Moderator
850 Views
Registered: ‎04-24-2017

Hi @wzab,

 

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
Thanks,
Sandeep
PetaLinux Yocto | Embedded SW Support

---------------------------------------------------------------------------
Don’t forget to Reply, Kudo, and Accept as Solution.
---------------------------------------------------------------------------

View solution in original post

wzab
Mentor
Mentor
675 Views
Registered: ‎08-24-2011

In fact the typical Petalinux project after "petalinux-build -x mrproper" is very small, and may be efficiently packaged as "tar.bz2" or "tar.xz".

 

0 Kudos
Reply