-
Notifications
You must be signed in to change notification settings - Fork 516
Description
Hey,
I am trying to get the Ubuntu 24.04 image from Cannonical for the KR260 to work. After installation, xrt is installed (2.18.0) according to xrt-smi, but no devices are detected. But /dev/fpga0 exists.
Running modprobe zocl fails, so I guess the driver was not build properly and I cloned this repo and tried to create my own version compliant with 2025.2.
I got the cross-compile.sh to work with the sysroot and generate an Edge_aarch64 directory.
Sadly, I am stuck at the build_edge_deb.sh script, which relies on alternative tools like schroot instead of chroot for cross-compilation and I cant really figure out how to cross-compile package my Edge_aarch64 folder such that I end up with a xrt.deb file.
Trying to manually copy all the files in the right places on the ARM and running the generated postinst script works up to the point where the dkms is build and the process fails with missing references to xrt so I guess I need the debian file to continue..
Building initial module for 6.8.0-1019-xilinx
ERROR (dkms apport): binary package for xrt: 2.20.0 not found
Error! Build of zocl.ko failed for: 6.8.0-1019-xilinx (aarch64)
Make sure the name of the generated module is correct and at the root of the
build directory, or consult make.log in the build directory
/var/lib/dkms/xrt/2.20.0/build for more information.
****************************************************************
* DKMS failed to install XRT drivers.
* Please check if kernel development headers are installed for OS variant used.
*
* Check build logs in /var/lib/dkms/xrt/2.20.0