Hello,
I am attempting to integrate the Xilinx drivers, provided through their SDK,
with seL4 on the Zynq7000.
In the root thread, I created a virtual mapping for the SD Card peripheral, and
I pass that virtual address into the driver, so that it is reading and writing
to it.
The controller has a built-in DMA that gets used for data transfer. I created a
buffer in the root thread's virtual space to pass to the DMA, but it needs a
physical address. I calculated the virtual/physical offset from the physical and
virtual addresses for the application that are given by the elfloader, but that
didn't seem to be the correct mapping.
Is there a good way to get that mapping, either from within the application
itself or from the kernel before hand?
Thanks,
Robbie VanVossen
DornerWorks