UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Participant softwd
Participant
148 Views
Registered: ‎09-18-2018

Baremetal DomU application with AXI_DMA passthrough? (Xen Hypervisor Question)

Hi all,

I have been playing with the idea of using Xen Hypervisor for my project for a while, and I really like the possibility of running a Baremetal Application in DomU with a Linux Dom0.

One critical step to make Baremetal application works is route the Vivado hardware through Xen-passthrough. I followed Xen Hypervisor 2018.1 and successfully made both GPIO and AXI_TIMER works in Baremetal DomU.

The challenge came in when I try to do the same thing with AXI_DMA. I used the following syntax to passthrough the AXI_DMA:

axi_dma_0 {
          xen,passthrough = <0x1>;
};

This syntax worked well for me for AXI_TIMER and AXI_GPIO, but has no effect for AXI_DMA at all. i.e. the two interrupt ports of AXI_DMA does not get opened up for Baremetal use.

So I wonder:

1. Is it possible to run AXI_DMA in in DomU Baremetal?

2. If so, what do I need to do except adding a passthrough in the device tree?

Thanks for your help. 

0 Kudos