Hi Team, I am following the instructions in this FireSim Installation: step 4 to install the Xilinx XDMA and XVSEC drivers, I followed the instructions and executed following lines of commands:
cd ~/ # or any directory you would like to work from
git clone https://github.com/Xilinx/dma_ip_drivers
cd dma_ip_drivers
git checkout 0e8d321
cd XDMA/linux-kernel/xdma
According to the doc, I found the line containing#define XDMA_ENGINE_XFER_MAX_DESC. Change the value on this line from 0x800 to 16. Then I installed the driver by sudo make install, below is the console output:
Makefile:17: XVC_FLAGS: .
make -C /lib/modules/5.15.0-107-generic/build M=/home/riscv/dma_ip_drivers/XDMA/linux-kernel/xdma modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-107-generic'
/home/riscv/dma_ip_drivers/XDMA/linux-kernel/xdma/Makefile:17: XVC_FLAGS: .
CC [M] /home/riscv/dma_ip_drivers/XDMA/linux-kernel/xdma/libxdma.o
CC [M] /home/riscv/dma_ip_drivers/XDMA/linux-kernel/xdma/xdma_cdev.o
CC [M] /home/riscv/dma_ip_drivers/XDMA/linux-kernel/xdma/cdev_ctrl.o
CC [M] /home/riscv/dma_ip_drivers/XDMA/linux-kernel/xdma/cdev_events.o
CC [M] /home/riscv/dma_ip_drivers/XDMA/linux-kernel/xdma/cdev_sgdma.o
CC [M] /home/riscv/dma_ip_drivers/XDMA/linux-kernel/xdma/cdev_xvc.o
CC [M] /home/riscv/dma_ip_drivers/XDMA/linux-kernel/xdma/cdev_bypass.o
CC [M] /home/riscv/dma_ip_drivers/XDMA/linux-kernel/xdma/xdma_mod.o
CC [M] /home/riscv/dma_ip_drivers/XDMA/linux-kernel/xdma/xdma_thread.o
LD [M] /home/riscv/dma_ip_drivers/XDMA/linux-kernel/xdma/xdma.o
/home/riscv/dma_ip_drivers/XDMA/linux-kernel/xdma/Makefile:17: XVC_FLAGS: .
MODPOST /home/riscv/dma_ip_drivers/XDMA/linux-kernel/xdma/Module.symvers
CC [M] /home/riscv/dma_ip_drivers/XDMA/linux-kernel/xdma/xdma.mod.o
LD [M] /home/riscv/dma_ip_drivers/XDMA/linux-kernel/xdma/xdma.ko
BTF [M] /home/riscv/dma_ip_drivers/XDMA/linux-kernel/xdma/xdma.ko
Skipping BTF generation for /home/riscv/dma_ip_drivers/XDMA/linux-kernel/xdma/xdma.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-107-generic'
make -C /lib/modules/5.15.0-107-generic/build M=/home/riscv/dma_ip_drivers/XDMA/linux-kernel/xdma modules_install
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-107-generic'
arch/x86/Makefile:142: CONFIG_X86_X32 enabled but no binutils support
INSTALL /lib/modules/5.15.0-107-generic/extra/xdma.ko
SIGN /lib/modules/5.15.0-107-generic/extra/xdma.ko
DEPMOD /lib/modules/5.15.0-107-generic
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-107-generic'
No explicit error, but there is a warning:_Warning: modulesinstall: missing 'System.map' file. Skipping depmod..
I then followed the step 5 to connect my fpga to the host computer. According to the doc, lspci -vvv -d 10ee:903f should print Xlinx related entries, but there isn't any:
Since this is really a Xilinx driver issue, so Can anyone here in the team shed some light into this.
By the way, the XVSEC drivers is installed seperately without issues following the instructions below:
cd ~/ # or any directory you would like to work from
git clone https://github.com/paulmnt/dma_ip_drivers dma_ip_drivers_xvsec
cd dma_ip_drivers_xvsec
git checkout 302856a
cd XVSEC/linux-kernel/
make clean all
sudo make install
Any help will be appreciated.Thanks
My OS is a Ubuntu 20.04.6 LTS installed in VMWare Workstation 17.0.0 build-20800274, could the virtual machine be an possible issue?Thanks
Hi Team, I am following the instructions in this FireSim Installation: step 4 to install the Xilinx XDMA and XVSEC drivers, I followed the instructions and executed following lines of commands:
According to the doc, I found the line containing
#define XDMA_ENGINE_XFER_MAX_DESC
. Change the value on this line from0x800
to16
. Then I installed the driver bysudo make install
, below is the console output:No explicit error, but there is a warning:_Warning: modulesinstall: missing 'System.map' file. Skipping depmod..
prints the following :
I then followed the step 5 to connect my fpga to the host computer. According to the doc,
lspci -vvv -d 10ee:903f
should print Xlinx related entries, but there isn't any:Since this is really a Xilinx driver issue, so Can anyone here in the team shed some light into this. By the way, the XVSEC drivers is installed seperately without issues following the instructions below:
Any help will be appreciated.Thanks My OS is a Ubuntu 20.04.6 LTS installed in VMWare Workstation 17.0.0 build-20800274, could the virtual machine be an possible issue?Thanks