Skip to content

Commit aeda393

Browse files
authored
* Added AL2 XRT updates (#512)
* Updated XRT installation instructions * Added AL2 Kernel
1 parent e7a5ff1 commit aeda393

File tree

4 files changed

+47
-9
lines changed

4 files changed

+47
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# Overview of AWS EC2 FPGA Development Kit
2020

2121
AWS EC2 FPGA Development Kit is a set of development and runtime tools to develop, simulate, debug, compile and run hardware accelerated applications on [Amazon EC2 F1 instances](https://aws.amazon.com/ec2/instance-types/f1/).
22-
It is distributed between this github repository and [FPGA Developer AMI](https://aws.amazon.com/marketplace/pp/B06VVYBLZZ) provided by AWS with no cost of development tools.
22+
It is distributed between this github repository and FPGA Developer AMI - [Centos](https://aws.amazon.com/marketplace/pp/B06VVYBLZZ)/[AL2](https://aws.amazon.com/marketplace/pp/B08NTMMZ7X) provided by AWS with no cost of development tools.
2323

2424
⚠️ <b>NOTE:</b> The developer kit is supported for Linux operating systems only.
2525

Vitis/docs/XRT_installation_instructions.md

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Xilinx Runtime (XRT) and Vitis Tool versions
22

33
* Xilinx Runtime versions match with the tool that you created your Vitis AFI with.
4-
* We provide pre-built RPM's for Centos/RHEL and instructions for building XRT
4+
* We provide pre-built RPM's for Centos/RHEL/AL2 and instructions for building XRT
55
* Use the below table as reference to install and use the correct XRT version for your applications.
66

7-
| Xilinx Vitis Tool Version | XRT Release Tag | SHA | `xrt` and `xrt-aws` pre-built RPM's (Centos/RHEL) |
7+
| Xilinx Vitis Tool Version | XRT Release Tag | SHA | `xrt`|`xrt-aws` RPM's (Centos/RHEL) |`xrt`|`xrt-aws` RPM's (AL2)
88
|---|---|---|---|
9-
|2020.1| [202010.2.6.AWS](https://github.com/Xilinx/XRT/releases/tag/202010.2.6.AWS) | d09c4a458c16e8d843b3165dcf929c38f7a32b6f | [xrt_202010.2.6.0_7.7.1908-x86_64-xrt.rpm](https://aws-fpga-developer-ami.s3.amazonaws.com/1.9.0/Patches/XRT_2020_1/xrt_202010.2.6.0_7.7.1908-x86_64-xrt.rpm) [xrt_202010.2.6.0_7.7.1908-x86_64-aws.rpm](https://aws-fpga-developer-ami.s3.amazonaws.com/1.9.0/Patches/XRT_2020_1/xrt_202010.2.6.0_7.7.1908-x86_64-aws.rpm) |
10-
|2019.2| [2019.2.0.3](https://github.com/Xilinx/XRT/releases/tag/2019.2.0.3) | 9e13d57c4563e2c19bf5f518993f6e5a8dadc18a | [xrt_201920.2.3.0_7.7.1908-xrt.rpm](https://aws-fpga-developer-ami.s3.amazonaws.com/1.8.0/Patches/XRT_2019_2/xrt_201920.2.3.0_7.7.1908-xrt.rpm) [xrt_201920.2.3.0_7.7.1908-aws.rpm](https://aws-fpga-developer-ami.s3.amazonaws.com/1.8.0/Patches/XRT_2019_2/xrt_201920.2.3.0_7.7.1908-aws.rpm) |
9+
|2020.1| [202010.2.6.AWS](https://github.com/Xilinx/XRT/releases/tag/202010.2.6.AWS) | d09c4a458c16e8d843b3165dcf929c38f7a32b6f | [xrt_202010.2.6.0_7.7.1908-x86_64-xrt.rpm](https://aws-fpga-developer-ami.s3.amazonaws.com/1.9.0/Patches/XRT_2020_1/xrt_202010.2.6.0_7.7.1908-x86_64-xrt.rpm) [xrt_202010.2.6.0_7.7.1908-x86_64-aws.rpm](https://aws-fpga-developer-ami.s3.amazonaws.com/1.9.0/Patches/XRT_2020_1/xrt_202010.2.6.0_7.7.1908-x86_64-aws.rpm) | [xrt_202010.2.6.0_2-x86_64-xrt.rpm](https://aws-fpga-developer-ami.s3.amazonaws.com/1.9.0/Patches/XRT_2020_1/xrt_202010.2.6.0_2-x86_64-xrt.rpm) [xrt_202010.2.6.0_2-x86_64-aws.rpm](https://aws-fpga-developer-ami.s3.amazonaws.com/1.9.0/Patches/XRT_2020_1/xrt_202010.2.6.0_2-x86_64-aws.rpm)|
10+
|2019.2| [2019.2.0.3](https://github.com/Xilinx/XRT/releases/tag/2019.2.0.3) | 9e13d57c4563e2c19bf5f518993f6e5a8dadc18a | [xrt_201920.2.3.0_7.7.1908-xrt.rpm](https://aws-fpga-developer-ami.s3.amazonaws.com/1.8.0/Patches/XRT_2019_2/xrt_201920.2.3.0_7.7.1908-xrt.rpm) [xrt_201920.2.3.0_7.7.1908-aws.rpm](https://aws-fpga-developer-ami.s3.amazonaws.com/1.8.0/Patches/XRT_2019_2/xrt_201920.2.3.0_7.7.1908-aws.rpm) | N/A |
1111

1212
<a name="mpd"></a>
1313
# MPD
@@ -62,13 +62,35 @@ cd Release
6262
sudo yum reinstall xrt_*.rpm -y
6363
```
6464

65-
# Centos/RHEL pre-built RPM install steps
65+
# AL2 build and install steps
66+
67+
```bash
68+
XRT_RELEASE_TAG=202010.2.6.AWS # Substitute XRT_RELEASE_TAG=<TAG from above table>
69+
70+
git clone https://github.com/aws/aws-fpga.git
71+
72+
cd aws-fpga
73+
source vitis_setup.sh
74+
cd $VITIS_DIR/Runtime
75+
export XRT_PATH="${VITIS_DIR}/Runtime/${XRT_RELEASE_TAG}"
76+
git clone http://www.github.com/Xilinx/XRT.git -b ${XRT_RELEASE_TAG} ${XRT_PATH}
77+
78+
cd ${XRT_PATH}
79+
sudo ./src/runtime_src/tools/scripts/xrtdeps.sh
80+
81+
cd build
82+
./build.sh
83+
84+
cd Release
85+
sudo yum reinstall xrt_*.rpm -y
86+
```
87+
88+
# Centos/RHEL/AL2 pre-built RPM install steps
6689

67-
### 2019.2
6890

6991
```bash
70-
curl -s https://aws-fpga-developer-ami.s3.amazonaws.com/1.8.0/Patches/XRT_2019_2/xrt_201920.2.3.0_7.7.1908-xrt.rpm -o xrt.rpm
71-
curl -s https://aws-fpga-developer-ami.s3.amazonaws.com/1.8.0/Patches/XRT_2019_2/xrt_201920.2.3.0_7.7.1908-aws.rpm -o xrt-aws.rpm
92+
curl -s <xrt rpm link from above table> -o xrt.rpm
93+
curl -s <xrt-aws rpm link from above table> -o xrt-aws.rpm
7294
sudo yum reinstall xrt*.rpm -y
7395
```
7496

Vitis/kernel_version.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
3.10.0-1062.4.1.el7.x86_64
77
3.10.0-1062.9.1.el7.x86_64
88
3.10.0-1127.10.1.el7.x86_64
9+
4.14.209-160.339.amzn2.x86_64

runtime_setup.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Amazon FPGA Hardware Development Kit
2+
#
3+
# Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4+
#
5+
# Licensed under the Amazon Software License (the "License"). You may not use
6+
# this file except in compliance with the License. A copy of the License is
7+
# located at
8+
#
9+
# http://aws.amazon.com/asl/
10+
#
11+
# or in the "license" file accompanying this file. This file is distributed on
12+
# an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or
13+
# implied. See the License for the specific language governing permissions and
14+
# limitations under the License.
15+

0 commit comments

Comments
 (0)