3.6.7.4 Copying Compiled Libraries to the PFSoC IcicleKit Board

After setting up by following Icicle Kit Setup Instructions, note the IPv4 network address of the board and confirm that you can ssh into the board.

On a terminal, go to the directory where the precompiled libraries are located and use secure copy (scp command) to transfer the libraries to the board. By default, a copy of the libraries are included in the SmartHLS installed directory.

cd 
<SMARTHLS_DIR>/smarthls-library/external/vision/precompiled_sw_libraries

scp -r ffmpeg4.4-riscv64 opencv4.5.4-riscv64 \
  	root@<BOARD_IP>:/home/root/shls_sw_dependencies

Once the the FFmpeg and OpenCV libraries have been copied onto the board make sure to update their references using Makefile Variables in Makefile.user in order for them to run properly on the board.

For Windows, if you do not want to use the terminal, you can use external programs to do copying step above. For example, you can use FileZilla to copy the files over to the board.