Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 2.48 KB

Create_Runtime_AMI.md

File metadata and controls

38 lines (28 loc) · 2.48 KB

Create a Runtime AMI Starting with Amazon Linux 2, Centos or Ubuntu

Runtime AMI Compatibility Table

Vitis Version used for AFI Development Compatible Xilinx Runtime
2021.2 AWS FPGA Developer AMI 1.12.x (XRT is pre-installed) or XRT
2021.1 AWS FPGA Developer AMI 1.11.x (XRT is pre-installed) or XRT
2020.2 AWS FPGA Developer AMI 1.10.x (XRT is pre-installed) or XRT
2020.1 AWS FPGA Developer AMI 1.9.x (XRT is pre-installed) or XRT
2019.2 AWS FPGA Developer AMI 1.8.x (XRT is pre-installed) or XRT

1. Launch a Runtime Instance & Install Required Packages

  • Launch an F1 instance using Centos 7, Ubuntu or Amazon Linux 2 AMI's.

2. Install Runtime Drivers

  • Build XRT on either your runtime or a similar instance using the XRT build steps.
  • Install the XRT package on your runtime instance

3. Run your FPGA accelerated application on your Runtime Instance.

  • Source the runtime setup script:
$ source /opt/xilinx/xrt/setup.sh
  • Run application to verify that it works:
$ ./helloworld ./vector_addition.awsxclbin 
  • You might want to add a link to the setup command: /opt/xilinx/xrt/setup.sh in the /etc/profile.d path to be able to setup on start.

4. Create your Runtime AMI based on your Instance.

  • Once you have your application running you should be able to create a Runtime AMI based your Runtime Instance as specified here.

5. Make Runtime AMI available on the AWS Marketplace