Step 4: Installing Driver for the Card

You must install proper drivers for the card before you can use it to run SDAccel™ applications. Use the following instructions to install the required drivers.

  1. Change to the board installation directory generated in Step 1 and run installation script:
    
    $cd /opt/dsa/xilinx_kcu1500_dynamic_5_0/xbinst
    $sudo ./install.sh -f yes -k yes
    

    This will do the following.

    • Compile and force (-f yes) the installation of Linux kernel device drivers.
    • Install the firmware to the Linux firmware area.
    • Install Xilinx OpenCL Installable Client Driver (ICD) to /etc/OpenCL/vendors. The OpenCL ICD allows multiple implementations of OpenCL to co-exist on the same system. It allows applications to choose a platform from the list of installed platforms and dispatches OpenCL API calls to the underlying implementation.
  2. Generate a setup.sh (Bash) or setup.csh (for csh/tcsh) to set up the runtime environment. You must source the setup script before running any applicationon the target FPGA card: for example: source /opt/dsa/xilinx_kcu1500_dynamic_5_0/xbinst/setup.sh.