Visible to Intel only — GUID: ewa1402508171234
Ixiasoft
1. Intel® FPGA RTE for OpenCL™ Standard Edition Getting Started Guide
2. Getting Started with the Intel® FPGA RTE for OpenCL™ Standard Edition for 64-Bit Windows
3. Getting Started with the Intel® FPGA RTE for OpenCL™ Standard Edition for x86_64 Linux Systems
4. Getting Started with the Intel® FPGA RTE for OpenCL™ Standard Edition for Intel® ARMv7-A SoC FPGA
A. Document Revision History of the Intel® FPGA RTE for OpenCL™ Standard Edition Getting Started Guide
2.1. Downloading the Intel® FPGA RTE for OpenCL™ Standard Edition
2.2. Installing the Intel® FPGA RTE for OpenCL™
2.3. Setting the Intel® FPGA RTE for OpenCL™ Standard Edition User Environment Variables
2.4. Verifying Software Installation
2.5. Installing an FPGA Board
2.6. Updating the Hardware Image on the FPGA
2.7. Executing an OpenCL Kernel on an FPGA
2.8. Uninstalling the Software
2.9. Uninstalling the FPGA Board
3.1. Downloading the Intel® FPGA RTE for OpenCL™ Standard Edition
3.2. Installing the Intel® FPGA RTE for OpenCL™
3.3. Setting the Intel® FPGA RTE for OpenCL™ Standard Edition User Environment Variables
3.4. Verifying Software Installation
3.5. Installing an FPGA Board
3.6. Updating the Hardware Image on the FPGA
3.7. Executing an OpenCL Kernel on an FPGA
3.8. Uninstalling the Software
3.9. Uninstalling the FPGA Board
4.1.1. Downloading the Intel® FPGA SDK for OpenCL Standard Edition and the SoC EDS Standard Edition
4.1.2. Installing the Intel® FPGA SDK for OpenCL Standard Edition for SoC FPGA
4.1.3. Installing the Intel® SoC FPGA Embedded Development Suite Standard Edition
4.1.4. Recompiling the Linux Kernel Driver
4.1.5. Installing the Intel FPGA RTE for OpenCL Standard Edition onto the SoC FPGA Board
4.1.6. Installing the Cyclone V SoC Development Kit
4.1.7. Executing an OpenCL Kernel on an SoC FPGA
4.1.8. Uninstalling the Intel® FPGA RTE for OpenCL™ Standard Edition
4.2.1. Downloading the Intel® FPGA SDK for OpenCL™ Standard Edition and the SoC EDS Standard Edition
4.2.2. Installing the Intel® FPGA SDK for OpenCL Standard Edition for SoC FPGA
4.2.3. Installing the Intel® SoC FPGA Embedded Development Suite Standard Edition
4.2.4. Recompiling the Linux Kernel Driver
4.2.5. Installing the Intel FPGA RTE for OpenCL Standard Edition onto the SoC FPGA Board
4.2.6. Installing the Cyclone V SoC Development Kit
4.2.7. Executing an OpenCL Kernel on an SoC FPGA
4.2.8. Uninstalling the Intel® FPGA RTE for OpenCL™ Standard Edition
Visible to Intel only — GUID: ewa1402508171234
Ixiasoft
4.1.6.4. Setting Environment Variables and Loading OpenCL Linux Kernel Driver
After you turn on the board and establish terminal connection, log into the Cyclone® V SoC Development Kit as user root with no password. Then, before you run your host application, set the environment variables and load the OpenCL™ Linux kernel driver.
After logging into the SoC FPGA board, run the source ./init_opencl.sh command, which performs the following tasks:
- Set the PATH, LD_LIBRARY_PATH, and AOCL_BOARD_PACKAGE_ROOT environment variables.
- Load the OpenCL Linux kernel driver.
The init_opencl.sh file is available in the SD card image that you write onto the micro SD flash card. It contains the commands shown below:
export INTELFPGAOCLSDKROOT=<aocl_destination_directory>
export AOCL_BOARD_PACKAGE_ROOT=$INTELFPGAOCLSDKROOT/board/c5soc
export PATH=$INTELFPGAOCLSDKROOT/bin:$PATH
export LD_LIBRARY_PATH=$INTELFPGAOCLSDKROOT/host/arm32/lib:$LD_LIBRARY_PATH
insmod $AOCL_BOARD_PACKAGE_ROOT/driver/aclsoc_drv.ko