Vitis-Tutorials icon indicating copy to clipboard operation
Vitis-Tutorials copied to clipboard

XRT Error: No Device Found

Open nrllhclb opened this issue 3 years ago • 2 comments

Hello everyone,

I followed steps which is example of vitis-ai for zcu104, however all steps passed until putting the sdcard to the board.

In version 2020.2 https://github.com/Xilinx/Vitis-Tutorials/blob/2020.2/Vitis_Platform_Creation/Introduction/02-Edge-AI-ZCU104/step4.md,

When the step 2 of test 2 have been run the code as ./vadd binary_container_1.xclbin, i would get following error on board interface console

[XRT] ERROR: No device found
Error: Unable to find Target Device [XRT] ERROR: device is nullptr

thanks for answer

nrllhclb avatar Jun 20 '22 14:06 nrllhclb

In addition, i have been getting the fail such as "Failed to init entropy source hwrng" during boot.

nrllhclb avatar Jun 21 '22 12:06 nrllhclb

Hi, @nrllhclb From my experience, this kind of error "[XRT] ERROR: No device found Error: Unable to find Target Device [XRT] ERROR: device is nullptr" may be caused of lacking ZOCL node which is a device tree node to be used to bind the ZOCL driver. Without this driver, XRT can not communicate with the PL side IPs. As a result that kind of error would occur. So please convert your system.dtb file to system.dts file to check whether it has the ZOCL node or not. If there is no ZOCL node please refer to step2 to update the DTS file.

sven2314 avatar Jun 22 '22 16:06 sven2314