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
gefragt vor 3 Jahren299 Aufrufe
3 Antworten
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
beantwortet vor 3 Jahren
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
beantwortet vor 3 Jahren
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
beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen