Default driver for Amazon Linux 2

0

Hi All,
Based on the output of lsmod command and documents (https://github.com/aws/aws-fpga/blob/master/sdk/linux_kernel_drivers/xdma/xdma_install.md ), the default driver for CentOS is xocl.
But I did not find xocl in lsmod output on Amazon Linux 2, what is the default driver for Amazon Linux 2?
And can we install xdma for both operating systems?
Thanks!
Best,
Sam

Edited by: SamTian on Aug 23, 2021 10:10 PM

Edited by: SamTian on Aug 23, 2021 10:11 PM

SamTian
已提問 3 年前檢視次數 299 次
3 個答案
0

Hi,

Yes, you can install XDMA on both OS's. The instructions are for if XRT is pre-installed on the AMI as both XOCL and XDMA drivers bind to the same device id's and if one is installed, the other would not work.
XRT is now pre-installed on new AL2 FPGA Developer AMI's as well, so you might have to remove xrt, xrt-aws if they are installed if you want to install XDMA:

sudo yum remove xrt xrt-aws -y

You can ignore the above instructions if your OS doesn't have xrt, xrt-aws installed by default.

Hope this helps. Let us know if you have any further questions!

-Deep

Deep_P
已回答 3 年前
0

Hi Deep,

What is the difference between XOCL, XDMA and xrt, xrt-aws?
As far as I understand, XOCL and XDMA are old-version drivers and xrt includes the new driver?
Thanks!

Sam

SamTian
已回答 3 年前
0

Hi Sam,

Previously Xilinx used to provide XOCL driver separately. They now provide XOCL within the Xilinx Runtime(XRT) that is used for Vitis applications. It includes the XOCL drivershttps://github.com/Xilinx/XRT and other libraries, drivers. xrt and xrt-aws are just the (deb,rpm) packages that would install XRT for you.

If you are not using the Vitis flow, you can use the XDMA driver that we provide if your design requires using the XDMA IP within the shell.

I hope this helps clarify the different drivers.

-Deep

Deep_P
已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南