Skip to content

Binaries Generation

ELHorta edited this page Oct 15, 2021 · 15 revisions

The Xar-Trek binary generation assumes that the application was correctly implemented on Popcorn Linux.

It is not necessary to modify any source files to use Xar-Trek. The folder Xar-Trek-Examples contains two applications (face detection; digit recognition) that can be used as test cases.

These are the steps needed to generate the binary files for the CPUs and the XCLBIN file for the FPGA:

  1. Create a work folder

  2. Copy each application folder to the work folder

  3. Copy all files from Xar-Trek-Scripts to the work folder

  4. Edit "xar-trek.cfg" file accordingly (see comments embedded in the file). The provided file already contains the configuration to implement the two examples

  5. Execute the main script:

~$ Xar-Trek-Run.sh xar-trek.cfg

All the files needed to run the applications will be available on the folder /Xar-Trek-BIN

You can now proceed to the Applications

Clone this wiki locally