08-18-2019 09:11 AM
I am using SDAccel to develop an accelerator on U200.
The problem occurs when a user except from the root user run the project, SDAccel throws the following errors:
ERROR: No devices found Error: Unable to find Target Device xilinx_u200_xdma_201830_1
I tried to give sudo privilege to this user but the error is still there.
Is it true that only root can use SDAccel ?
08-18-2019 07:06 PM
Hi
Is this error occur when you run a application?
please check if XRT is installed properly in your system, (rpm -qa | grep xrt)
if the XRT is installed
please make sure if the shell and shell rpm is deployed in you system,(sudo xbutil flash scan)
Shell running on FPGA should be same with Shell package installed in system:
Card [0000:d9:00.0]
Card type: u200
Flash type: SPI
Shell running on FPGA:
xilinx_u200_xdma_201830_2,[TS=0x000000005d1211e8],[SC=4.0.7]
Shell package installed in system:
xilinx_u200_xdma_201830_2,[TS=0x000000005d1211e8],[SC=4.2.0]
Thanks
Min
08-18-2019 07:45 PM
hi @minx Thanks for your reply!
Yes the error only occurs when I run the application.
This is what I got running the 2 command you mentioned:
[root@localhost gouxiangyang]# rpm -qa | grep xrt
xrt-2.1.1712-1.x86_64
[root@localhost gouxiangyang]# sudo /opt/xilinx/xrt/bin/xbutil flash scan
Card [0]
Card BDF: 0000:82:00.0
Card type: u200
Flash type: SPI
DSA running on FPGA:
xilinx_u200_xdma_201830_1,[TS=0x000000005bece8e1],[BMC=3.1]
DSA package installed in system:
xilinx_u200_xdma_201830_1,[TS=0x000000005bece8e1],[BMC=3.1]
Card [1]
Card BDF: 0000:02:00.0
Card type: u200
Flash type: SPI
DSA running on FPGA:
xilinx_u200_xdma_201830_1,[TS=0x000000005bece8e1],[BMC=3.1]
DSA package installed in system:
xilinx_u200_xdma_201830_1,[TS=0x000000005bece8e1],[BMC=3.1]
Only root user can run the application without any errors. Is user privilege to blame in this case?