Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"xdp_hw_emu_device_offload_plugin" does not exist #6942

Open
mahdiaminik opened this issue Aug 20, 2022 · 5 comments
Open

"xdp_hw_emu_device_offload_plugin" does not exist #6942

mahdiaminik opened this issue Aug 20, 2022 · 5 comments
Assignees

Comments

@mahdiaminik
Copy link
Contributor

Hi.
I'm very newbie in hardware design system and i'm trying to build XRT in docker for pynq system also installed via pip3, without any Vitis, Vivado or ISE. just for connecting pynq to XRT to access PL from PS.
(according to https://discuss.pynq.io/t/docker-xilinx-platforms-pynq/1962)
(my board : http://www.alinx.com/en/index.php/default/content/114.html)
and when i'm tying to build XRT i see :

CMake Error at runtime_src/xdp/CMakeLists.txt:406 (add_dependencies):
  The dependency target "xrt_hwemu" of target
  "xdp_hw_emu_device_offload_plugin" does not exist.


CMake Error at runtime_src/xdp/CMakeLists.txt:407 (add_dependencies):
  The dependency target "xrt_hwemu" of target "xdp_hw_emu_pl_deadlock_plugin"
  does not exist.

And here is my Dockerfile :

FROM    ubuntu:20.04
ENV     DEBIAN_FRONTEND="noninteractive" TZ=Asia/Tehran
# for tzdata in xrtdeps.sh dependency tree
RUN     ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
        echo $TZ > /etc/timezone && \
        apt-get update && \
        apt-get install -y tzdata git 
WORKDIR /xrt
RUN     git clone https://github.com/Xilinx/XRT.git . && \
        sed -i "s/apt/apt-get/g; s/clang-tidy/-y clang-tidy/g" /xrt/src/runtime_src/tools/scripts/xrtdeps.sh
RUN     /xrt/src/runtime_src/tools/scripts/xrtdeps.sh -docker
RUN     cd /xrt/build && ./build.sh

A suggestion :
Please upload the final .deb file of installing XRT in Releases section.(specially armhf arch)
Thank you.

@uday610
Copy link
Collaborator

uday610 commented Aug 25, 2022

@jvillarre , can you see if you have any insight here

@jvillarre
Copy link
Collaborator

The two debug/profile plugins listed do have a dependency on the hardware emulation libraries being built, and the hardware emulation libraries have a restriction where they are only built if the system processor is x86_64. If running build.sh on the Zynq board itself the hardware emulation libraries will not be built.

XRT can be built on an x86 for the zynq by using the build_edge.sh script.

@mahdiaminik
Copy link
Contributor Author

The two debug/profile plugins listed do have a dependency on the hardware emulation libraries being built, and the hardware emulation libraries have a restriction where they are only built if the system processor is x86_64. If running build.sh on the Zynq board itself the hardware emulation libraries will not be built.

XRT can be built on an x86 for the zynq by using the build_edge.sh script.

Thanks for your answer.
But how did they (pynq devs) build image within XRT for armhf arch?
via crosscompile???

@uday610
Copy link
Collaborator

uday610 commented Oct 19, 2022

@mahdiaminik , we dont know about pync developer, they are different team and they may have their custom flow. You may reach out to them to know about this. From our XRT side, we officially support build_edge.sh script as mentioned in the previous comment

@yyx32
Copy link

yyx32 commented Apr 1, 2024

Hi @mahdiaminik ,have you solve this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants