Comments (4)
Hi,
Please check if you have xocl or edma driver installed already. If yes, then remove these before inserting xdma module.
lsmod | grep edma
lsmod | grep xocl
Let us know if you still continue to see issues.
Thanks,
AWScsaralay
from aws-fpga.
Thanks for replying so fast
I've removed xocl driver, and install the xdma driver again, but one of the error still exists
Can't read private key
I use
lsmod | grep xdma
and I can see xdma modules
But when I checked the /dev/ directory, I still cannot find device like "xdmaX_h2c_Y"
It seems xdma driver is not successfully installed.
Could you help me to check out ?
Thank you!
The following are logs
[centos@xdma]$ sudo make install all
Makefile:25: XVC_FLAGS: .
make -C /lib/modules/3.10.0-693.21.1.el7.x86_64/build M=/home/centos/aws-fpga/sdk/linux_kernel_drivers/xdma modules
make[1]: Entering directory/usr/src/kernels/3.10.0-693.21.1.el7.x86_64' /home/centos/aws-fpga/sdk/linux_kernel_drivers/xdma/Makefile:25: XVC_FLAGS: . Building modules, stage 2. /home/centos/aws-fpga/sdk/linux_kernel_drivers/xdma/Makefile:25: XVC_FLAGS: . MODPOST 1 modules make[1]: Leaving directory
/usr/src/kernels/3.10.0-693.21.1.el7.x86_64'
make -C /lib/modules/3.10.0-693.21.1.el7.x86_64/build M=/home/centos/aws-fpga/sdk/linux_kernel_drivers/xdma modules_install
make[1]: Entering directory/usr/src/kernels/3.10.0-693.21.1.el7.x86_64' INSTALL /home/centos/aws-fpga/sdk/linux_kernel_drivers/xdma/xdma.ko Can't read private key DEPMOD 3.10.0-693.21.1.el7.x86_64 make[1]: Leaving directory
/usr/src/kernels/3.10.0-693.21.1.el7.x86_64'
depmod -a
install -m 644 10-xdma.rules /etc/udev/rules.d
rmmod -s xdma || true
modprobe xdma
make: `all' is up to date.
from aws-fpga.
Hi forcici,
This is not really an error that should stop the installation.
Can't read private key
Can you try clearing the fpga slot first by calling:
sudo fpga-clear-local-image -S0
AFI 0 none cleared 1 ok 0 0x071417d3
AFIDEVICE 0 0x1d0f 0x1042 0000:00:1d.0
After that if you run sudo make install, it should bind the driver to the cleared AFI.
Make sure that you run the following in case you've installed any of these drivers before:
sudo rmmod edma_drv
sudo rmmod xocl
Let us know here if this doesn't help!
Thanks,
Deep
from aws-fpga.
Thanks for you response.
I tried what you told me to do, and then I reboot AWS cloud service. Now I am able to find xdma device in directory /dev/*
Thank you !
from aws-fpga.
Related Issues (20)
- Update HOT 12
- Name port does not exist for instance f1_inst HOT 6
- PCIM ARID all bits can be used? HOT 1
- peer xclbin download err: -11 HOT 2
- fpga_mgmt_load_local_image_sync() failures HOT 12
- Linux Kernel 6 support for xdma HOT 4
- Does aws have u200? HOT 3
- Files missing from AMI HOT 2
- DRAM page mode HOT 1
- Accessing the AXI-Lite via the fpga_pci_attach call... HOT 2
- Debug embedded microblaze using XVC JTAG in AWS FPGA shell HOT 12
- Instance status checks failures HOT 14
- FPGA cloud-based HOT 1
- Connect MicroBlaze Debug Module (MDM) to Virtual JTAG in Vivado IP Integrator HOT 2
- phys_opt_design error during implementation HOT 3
- Does AWS F1 support Vitis AI 2.5?
- fail in get_f1_ami_id() HOT 3
- ETA on new dev AMI? HOT 1
- Simulation - File Dump to a memory HOT 1
- Loading of simulation waveform in Vivado is too slow HOT 2
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 aws-fpga.