Jump to content
  • 0

where is the built file from petalinux-build - c <app-name> placed?


Hartley
 Share

Question

Hello,

I am working on an app for a Zynq board (Arty Z7) using petalinux. I created the app by doing:

# create the app and recipe
$ petalinux-create -t apps --name <app-name> --template c

# enable the app in the final image
$ petalinux-config -c rootfs

# edit the source in the <project dir>/project-spec/meta-user/recipes-apps/<app-name>/files

# build the app
$ petalinux-build -c <app-name>

# build petalinux and repackage image

This works but the rebuild/package of the image is a pain.

Where can I find the built <app-name> executable so I can just ftp copy it to the Arty Z7?

Thanks

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

The binary files is temporarily stored in <proj-dir>/build/tmp/work/<arch>/<app-name>/build
to have access to it you should run petalinux-build -c <app-name> -x compile

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...