From f59ced27a22a3c09ea6d82db7a17c8581d325f1d Mon Sep 17 00:00:00 2001 From: AWSaalluri Date: Wed, 27 Feb 2019 16:24:00 -0600 Subject: [PATCH 1/2] Document & XRT installation instruction updates --- SDAccel/docs/Create_Runtime_AMI.md | 4 ++-- ...AR71715_and_XRT_installation_instructions.md | 17 ++++++++++------- sdaccel_runtime_setup.sh | 6 ++++-- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/SDAccel/docs/Create_Runtime_AMI.md b/SDAccel/docs/Create_Runtime_AMI.md index 75de0a48a..7740629cc 100644 --- a/SDAccel/docs/Create_Runtime_AMI.md +++ b/SDAccel/docs/Create_Runtime_AMI.md @@ -9,9 +9,9 @@ ## 1. Launch a Runtime Instance & Install Required Packages -### Using Amazon Linux +* Please note Amazon Linux 2 or Amazon Linux are not supported by Xilinx Runtime (XRT) at this time. Please use centos/RHEL or ubuntu based instance for Xilinx SDx 2018.2 or 2018.3 runtimes. -* Launch an F1 instance using an [Amazon Linux AMI](https://aws.amazon.com/marketplace/pp/B00635Y2IW) +* Launch an F1 instance using an [Amazon Linux AMI](https://aws.amazon.com/marketplace/pp/B00635Y2IW) or [Centos 7](https://aws.amazon.com/marketplace/pp/B00O7WM7QW) * Install the required updates ```` diff --git a/hdk/docs/SDxPatch_AR71715_and_XRT_installation_instructions.md b/hdk/docs/SDxPatch_AR71715_and_XRT_installation_instructions.md index a0edcaaab..9a417ae2f 100644 --- a/hdk/docs/SDxPatch_AR71715_and_XRT_installation_instructions.md +++ b/hdk/docs/SDxPatch_AR71715_and_XRT_installation_instructions.md @@ -57,13 +57,14 @@ ### Centos/RedHat Linux - Run following commands to download and install XRT 2018.2_XDF.RC4 for 'Centos/RHEL' based distributions + Run following commands to download and install XRT 2018.2_XDF.RC4 for 'Centos/RHEL' ``` curl -s https://s3.amazonaws.com/aws-fpga-developer-ami/1.5.0/Patches/xrt_201802.2.1.0_7.5.1804-xrt.rpm -o xrt_201802.2.1.0_7.5.1804-xrt.rpm curl -s https://s3.amazonaws.com/aws-fpga-developer-ami/1.5.0/Patches/xrt_201802.2.1.0_7.5.1804-aws.rpm -o xrt_201802.2.1.0_7.5.1804-aws.rpm - sudo yum reinstall -y xrt_201802.2.1.0_7.5.1804-xrt.rpm - sudo yum reinstall -y xrt_201802.2.1.0_7.5.1804-aws.rpm + sudo yum remove -y xrt + sudo yum install -y xrt_201802.2.1.0_7.5.1804-xrt.rpm + sudo yum install -y xrt_201802.2.1.0_7.5.1804-aws.rpm ``` @@ -75,14 +76,16 @@ ### Centos/RedHat Linux - Run following commands to download and install XRT 2018.2_XDF.RC4 for 'Centos/RHEL' based distributions + Run following commands to download and install XRT 2018.2_XDF.RC5 for 'Centos/RHEL' ``` curl -s https://s3.amazonaws.com/aws-fpga-developer-ami/1.5.0/Patches/XRT_2018_2_XDF_RC5/xrt_201802.2.1.0_7.5.1804-xrt.rpm -o xrt_201802.2.1.0_7.5.1804-xrt.rpm curl -s https://s3.amazonaws.com/aws-fpga-developer-ami/1.5.0/Patches/XRT_2018_2_XDF_RC5/xrt_201802.2.1.0_7.5.1804-aws.rpm -o xrt_201802.2.1.0_7.5.1804-aws.rpm - sudo yum reinstall -y xrt_201802.2.1.0_7.5.1804-xrt.rpm - sudo yum reinstall -y xrt_201802.2.1.0_7.5.1804-aws.rpm + sudo yum remove -y xrt-aws + sudo yum remove -y xrt + sudo yum install -y xrt_201802.2.1.0_7.5.1804-xrt.rpm + sudo yum install -y xrt_201802.2.1.0_7.5.1804-aws.rpm ``` - + diff --git a/sdaccel_runtime_setup.sh b/sdaccel_runtime_setup.sh index 24128f492..d794b3c0b 100644 --- a/sdaccel_runtime_setup.sh +++ b/sdaccel_runtime_setup.sh @@ -69,8 +69,10 @@ function xrt_install_instructions_2018_2 { err_msg "use following command to download and install latest validated XRT rpms for centos distributions" err_msg "curl -s https://s3.amazonaws.com/aws-fpga-developer-ami/1.5.0/Patches/XRT_2018_2_XDF_RC5/xrt_201802.2.1.0_7.5.1804-xrt.rpm -o xrt_201802.2.1.0_7.5.1804-xrt.rpm" err_msg "curl -s https://s3.amazonaws.com/aws-fpga-developer-ami/1.5.0/Patches/XRT_2018_2_XDF_RC5/xrt_201802.2.1.0_7.5.1804-aws.rpm -o xrt_201802.2.1.0_7.5.1804-aws.rpm" - err_msg "sudo yum reinstall -y xrt_*-xrt.rpm" - err_msg "sudo yum reinstall -y xrt_*-aws.rpm" + err_msg "sudo yum remove -y xrt-aws" + err_msg "sudo yum remove -y xrt" + err_msg "sudo yum install -y xrt_201802.2.1.0_7.5.1804-xrt.rpm" + err_msg "sudo yum install -y xrt_201802.2.1.0_7.5.1804-aws.rpm" } function check_xdma_driver { From 7122f333ecdcff4095ee983927a07c6fce6229a0 Mon Sep 17 00:00:00 2001 From: AWSaalluri <35272035+AWSaalluri@users.noreply.github.com> Date: Thu, 28 Feb 2019 10:02:38 -0600 Subject: [PATCH 2/2] Update Create_Runtime_AMI.md --- SDAccel/docs/Create_Runtime_AMI.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDAccel/docs/Create_Runtime_AMI.md b/SDAccel/docs/Create_Runtime_AMI.md index 7740629cc..245caf64e 100644 --- a/SDAccel/docs/Create_Runtime_AMI.md +++ b/SDAccel/docs/Create_Runtime_AMI.md @@ -9,7 +9,7 @@ ## 1. Launch a Runtime Instance & Install Required Packages -* Please note Amazon Linux 2 or Amazon Linux are not supported by Xilinx Runtime (XRT) at this time. Please use centos/RHEL or ubuntu based instance for Xilinx SDx 2018.2 or 2018.3 runtimes. +* Please note Amazon Linux 2 or Amazon Linux are not supported by Xilinx XRT at this time. Please use Centos/RHEL or Ubuntu when using Xilinx XRT Runtimes for the AFIs generated using Xilinx SDx 2018.2 and 2018.3 toolsets. * Launch an F1 instance using an [Amazon Linux AMI](https://aws.amazon.com/marketplace/pp/B00635Y2IW) or [Centos 7](https://aws.amazon.com/marketplace/pp/B00O7WM7QW) * Install the required updates