Git Product home page Git Product logo

Comments (2)

mazhenke avatar mazhenke commented on June 23, 2024

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

to specify path to a
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.

keryell avatar keryell commented on June 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.