[meta-xilinx] Manuals and specifications to the AMBA devices in SYSFS
Anders Berndtsson
anders.berndtsson at idptech.se
Tue Feb 11 00:45:29 PST 2014
Hi all,
Is there anyone which have manuals and specifications for the AMBA SYSFS
devices or can tell me where to find them?
I also need some example or short description how to connect AIX _HPx from
PS to PL.
For the moment I only allocate a part of the ram for linux and maps the rest
as virtual memory using the mem device.
info->vdmaHandler = open("/dev/mem", O_RDWR);
info->vdmaVirtualAddress = (unsigned int*)mmap(NULL, VDMAMapLen, PROT_READ |
PROT_WRITE, MAP_SHARED , info->vdmaHandler, (off_t)info->baseAddr);
I can then use the virtual address direct in my socket receive routine to
let socket library copy received data direct in to the memory location
(hopefully using DMA).
Is this the correct approach?
All help is appreciated.
Kind Regards
Anders Berndtsson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20140211/449c0e55/attachment.html>
More information about the meta-xilinx
mailing list