cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Silvino
Newbie
Newbie
112 Views
Registered: ‎04-05-2021

Adding files to petalinux

Hello,

I am currently trying to add specific files (like <file1>.txt, <file2>.py) to any folder within the petalinux system already built in a Zedboard via SD Card. I already managed to create projects following the User Reference Guide for C/C++, but what if I want, for example, to add a file to the home folder?

 

Thanks in advance

0 Kudos
1 Reply
stephenm
Moderator
Moderator
44 Views
Registered: ‎09-12-2007

You can create a recipe in petalinux do this this. See the "Steps to Include Prebuilt Applications" in ug1144

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2020_2/ug1144-petalinux-tools-reference-guide.pdf

You will have to change the bb files do_install to place the files in the location you want

0 Kudos