Step 4: Installing Driver for the Card

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

Change to the board installation directory generated in Step 1, and run the installation script:


$ cd /opt/dsa/xilinx_vcu1525_dynamic_5_0/xbinst
$ sudo ./install.sh -f yes -k yes

This will do the following:

  • Compile and force (-f yes) the install of Linux kernel device drivers.
  • Install the firmware to the Linux firmware area.
  • Install the 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.
  • 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 application on the target FPGA card. For example:
    $ source /opt/dsa/xilinx_kcu1500_dynamic_5_0/xbinst/setup.sh 
    Note: If -k no is used,only the setup scripts are generated, no driver is generated and this can be run without sudo privileges.