Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
1
votes
0
answers
62
views
Xen : How to passthrough AXI device to domU?
I wrote a custom AXI device on a xilinx FPGA on arm64. I can access it when i run my software in baremetalb but I have to use xen and passthrough the range of AXI addresses to use it from domU. My AXI device addresses are from 0x80010000 to 0x8001FFFF I tried to run my domU with this cfg without suc...
I wrote a custom AXI device on a xilinx FPGA on arm64. I can access it when i run my software in baremetalb but I have to use xen and passthrough the range of AXI addresses to use it from domU.
My AXI device addresses are from 0x80010000 to 0x8001FFFF
I tried to run my domU with this cfg without success :
name = "test_soft"
kernel = "soft.bin"
memory = 512
vcpus = 1
iomem = [ "0x80010000,1000" ]
I have this error :
**libxl: error: libxl_create.c:1652:domcreate_launch_dm: Domain 2:failed give domain access to iomem range 80010000-8001FFFF: Operation not permitted**
In my device tree :
mydevice: mydevice@80010000 {
compatible = "test,mydevice";
reg = ;
#stream-id-cells = ;
interrupt-parent = ;
interrupts = ;
xen,passthrough = ;
};
The I/O virtualisation is enabled in xen, smmu is enabled in my kernel.
How can I pass my axi device ?
Thanks for your help
rBeal
(71 rep)
Jan 7, 2025, 03:11 PM
• Last activity: Feb 4, 2025, 11:54 AM
2
votes
1
answers
898
views
Any built-in Linux methods for AXI-burst type devices?
I need to communicate with an FPGA device based on an AXI-burst interface. What are the ways to access such a device through Linux without involving a DMA? Burst is an intrinsic property of the AXI standard, which should typically be triggered automatically when large amounts of data are being trans...
I need to communicate with an FPGA device based on an AXI-burst interface. What are the ways to access such a device through Linux without involving a DMA? Burst is an intrinsic property of the AXI standard, which should typically be triggered automatically when large amounts of data are being transferred. And the bigger problem is the FPGA is designed so as to respond only to burst type requests over the AXI bus. So this causes serious issues on Linux when the application tries sequential copy.
P.S. I have already tried memcpy and it doesn't work.
Stark07
(602 rep)
Jan 22, 2014, 07:01 AM
• Last activity: Mar 17, 2014, 02:35 AM
Showing page 1 of 2 total questions