-
Notifications
You must be signed in to change notification settings - Fork 0
Binaries Generation
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 (run these steps only on the x86 server):
-
Create a work folder
-
Copy each application folder to the work folder
-
Copy all files from Xar-Trek-Scripts to the work folder
-
Edit "xar-trek.cfg" file accordingly (see comments embedded in the file). The provided file already contains the configuration to implement the two examples in software emulation mode for the FPGA card
-
Change permissions for the scripts on the work folder)
~$ chmod +x ./*sh -
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.
The script also copies the first version of two tables (Execution Time; Thresholds) to the folder ~/Pop_Scheduler/popcorn-scheduler, along with the XCLBIN file.
You can now proceed to the Applications Execution page.
The folder Xar-Trek-BIN-SW_EMU contains the files generated by Xar-Trek for the examples in the software emulation mode.