Xilinx Install

From Define Wiki
Jump to navigation Jump to search

Documents

https://www.xilinx.com/support/documentation/boards_and_kits/accelerator-cards/ug1301-getting-started-guide-alveo-accelerator-cards.pdf

What we need

XRT supports Linux kernel up to: 3.10.0-862.14.4.el7.x86_64
  1. Xilinx rpm files you can downlonad from official website after registration:
 https://www.xilinx.com/products/boards-and-kits/alveo/u200.html#gettingStarted
  1. Used RPM's:
wget ftp://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/7.4/x86_64/updates/security/kernel-3.10.0-862.el7.x86_64.rpm
wget ftp://ftp.icm.edu.pl/vol/rzm3/linux-scientificlinux/7.2/x86_64/updates/security/kernel-devel-3.10.0-862.el7.x86_64.rpm
wget ftp://ftp.icm.edu.pl/vol/rzm3/linux-centos-vault/7.4.1708/cr/x86_64/Packages/kernel-headers-3.10.0-862.el7.x86_64.rpm

All files are on OneDrive (kernel and xilinx rpm's):

https://bostonlimited.sharepoint.com/:f:/r/sites/HPC/Shared%20Documents/Benchmarking%20Results/Xilinx/rpm?csf=1&e=UGwaRM

Driver Installation

  1. Install Centos 7.4
    Do not update os (require OS ver 7.4 or 7.5)
  2. Install needed packages
     yum install epel-release linux-firmware pciutils yum-utils vim -y
  3. Check if the card is visible
     lspci -vd 10ee:
  4. Install specific kernel
     yum install kernel-3.10.0-862.el7.x86_64.rpm -y
  5. reboot
  6. Install kernel headers and devel for specific version
     yum install kernel-devel-3.10.0-862.el7.x86_64.rpm kernel-headers-3.10.0-862.el7.x86_64.rpm  -y
  7. Install xilinx rpm's
     yum install x*.rpm -y
  8. During the driver installation you will see commad to flash the card, copy and run after installation
     sudo /opt/xilinx/xrt/bin/xbutil flash -a <shell_name> -t <timestamp>
  9. After flashing add line to bashrc file and reboot system
     echo 'source /opt/xilinx/xrt/setup.sh' >> ~/.bashrc
  10. Run validate command
     xbutils validate