Comments (2)
Besides, there is CMake error:
`
root@n1sdp:~/work/XRT/build# ./build.sh
- XILINX_VITIS is undefined or not accessible *
- MicroBlaze firmware will not be built *
Updating Git XRT submodule, use -noinit option to avoid updating
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DXRT_ENABLE_WERROR=1 -DCMAKE_BUILD_TYPE=Debug ../../src
-- Host system processor is aarch64
-- Target system processor is aarch64
-- Looking for DRM - found at /usr 2.4.107
-- Looking for OPENCL - found at /usr 2.1 /usr/include
-- Looking for GIT - found at /usr/bin/git
-- Found Boost: /usr/lib/aarch64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found compone
nts: system filesystem program_options
-- XRT EA eula files /root/work/XRT/src/../LICENSE
-- Platform/Linux (ubuntu) (Kernel 6.3.3+)
-- Compiler: /usr/bin/g++-8 /usr/bin/gcc-8
-- add_subdirectory(runtime_src)
-- add_subdirectory(xdp)
-- add_subdirectory(tools/xclbinutil)
-- RapidJSON found. Headers: /usr/include
-- add_subdirectory(xocl)
-- add_subdirectory(xrt)
-- XRT xrt++ header files
-- xrt++.hpp
-- xrtexec.hpp
-- add_subdirectory(ert)
CMake Warning at runtime_src/ert/CMakeLists.txt:40 (message):
No firmware files built or copied, resulting XRT package will be missing
ERT scheduler firmware. Use build.sh -ertfw
directory with firmware to copy during XRT build.
-- add_subdirectory(tools/scripts)
-- add_subdirectory(core)
-- XRT deprecated header files
-- xrt.h
-- xcl_app_debug.h
-- xcl_axi_checker_codes.h
-- xclperf.h
-- add_subdirectory(common)
-- enabling api aie build
-- add_subdirectory(pcie)
-- add_subdirectory(common)
-- add_subdirectory(tools)
-- add_subdirectory(linux)
-- add_subdirectory(driver)
-- XRT header files
-- mailbox_proto.h
-- add_subdirectory(tools)
-- add_subdirectory(xbutil2)
-- add_subdirectory(xbmgmt2)
-- add_subdirectory(xbtop)
-- add_subdirectory(xbflash2)
-- Found Boost: /usr/lib/aarch64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found compone
nts: filesystem system program_options
-- add_subdirectory(nagios)
-- add_subdirectory(xma)
-- add_subdirectory(python)
-- Python libs version: 3.8.10
-- PYTHON_INCLUDE_PATH /usr/include/python3.8
-- Found pybind11: /usr/local/lib/python3.8/dist-packages/pybind11/include (found version "2.11.1")
-- add_subdirectory(../tests/validate;/root/work/XRT/build/Debug/validate_build)
-- XRT version: 2.16.0
-- Debug DEB package
-- XRT DRIVER SRC BASE DIR /root/work/XRT/src/runtime_src/core
-- XRT DRIVER SRC BASE DIR /root/work/XRT/src/runtime_src/core
-- Preparing OpenCL ICD xilinx.icd
-- Preparing XRT pkg-config
-- Coverity tool not found and will be skipped
-- Preparing XRT find_package
-- include(CMake/nativeTests.cmake)
----CMAKE_CURRENT_BINARY_DIR=/root/work/XRT/build/Debug
----CMAKE_INSTALL_PREFIX=/opt/xilinx
----CMAKE_BINARY_DIR=/root/work/XRT/build/Debug
----PROJECT_BINARY_DIR=/root/work/XRT/build/Debug
----XRT_BINARY_DIR=/root/work/XRT/build/Debug
----XRT_INSTALL_DIR=xrt
----XRT_BUILD_INSTALL_DIR=/root/work/XRT/build/Debug/opt/xilinx/xrt
-- Configuring done
CMake Error at runtime_src/xdp/profile/plugin/pl_deadlock/CMakeLists.txt:39 (add_dependencies):
The dependency target "xrt_hwemu" of target "xdp_hw_emu_pl_deadlock_plugin"
does not exist.
CMake Error at runtime_src/xdp/profile/plugin/device_offload/hw_emu/CMakeLists.txt:24 (add_dependencies):
The dependency target "xrt_hwemu" of target
"xdp_hw_emu_device_offload_plugin" does not exist.
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
real 0m0.933s
user 0m0.573s
sys 0m0.255s
root@n1sdp:~/work/XRT/build#
`
from xrt.
Since you need a compiler from Vitis to target the MicroBlaze running the ERT on the board and this compiler is in Vitis x86, I guess your life is becoming complicated.
So either fixing the build system to get the precompiled ERT from somewhere or tweeking the build-system to run in cross-compilation mode with some hack to run the MicroBlaze gcc compiler on the x86?
Or doing the opposite, everything native on ARM but with QEMU x86 and a minimal Ubuntu x86 image inside your ARM world enough to run the MicroBlaze gcc compiler.
Just some guesses, but I am not working on the XRT team, so there might be a more official recipe.
from xrt.
Related Issues (20)
- Pre-allocating OpenCL buffer and map to the host pointer later isn't faster than using posix_memalign first and map to OpenCL buffer
- Is there a way to check the completion status of xrt::bo::async_handle? HOT 1
- pkg_hw_platform.sh script
- xclmgmt seems to failed only when using v2.12 and later HOT 3
- Consult XRT for power on startup sequence logic HOT 2
- XRT not compiling on Ubuntu 23.10 HOT 4
- Request to remove RTTI requirement HOT 2
- Very long latency of clSetKernelArg function on embedded platforms ? HOT 1
- U55C DMA test failed HOT 1
- What would it take to remove boost from XRT? HOT 7
- Add default constructor to xrt_graph.h
- Cannot read register of vitis kernel in pyxrt
- [XRT] ERROR: See dmesg log for details. err = -22
- The field `drm_driver.gem_prime_mmap` was removed in Linux 6.6 HOT 1
- xocl problems on Linux 6.6 HOT 2
- Build failure(s) with pybind11 HOT 1
- Potential buffer overflow in error report HOT 2
- XRT build drops a `kernel-doc` directory in the PWD HOT 3
- DISABLE_ABI_CHECK could probably be dropped and still have cache friendliness HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xrt.