Hi,
I would be appreciated, if someone could help me with about the
following issue:
I would like to test our FPGA development board as a PCIe endpoint. I
used the
https://rocketboards.org/foswiki/view/Projects/PCIeRootPortWithMSI
description, we have a Cyclone V SoC DB on stock as a rootport, same as
the reference design, I have also used the original SD card image.
I have ported the Cyclone V GT design to our devboard, so I would like
to test the communication between the two boards the same way as the
wiki page describes it.
I have successfully loaded the kernel modules (altera_epde.ko,
altera_rpde.ko) but the test (dmaxfer) freezes after the first test item:
root@cyclone5:/mnt# insmod altera_epde.ko
PCI: enabling device 0000:01:00.0 (0140 -> 0142)
altera-epde 0000:01:00.0: using MSI irq #341
root@cyclone5:/mnt# insmod altera_rpde.ko
root@cyclone5:/mnt# lspci
00:00.0 Class 0604: 1172:e000
01:00.0 Class ff00: 1172:e001
root@cyclone5:/mnt# ./dmaxfer
==================================================
PCIe throughput test between RP(OCM) <-> EP(OCM)
RP(OCM) = Root Port On-Chip RAM
EP(OCM) = End Point On-Chip RAM
==================================================
Loop #01: RP-DMA write to EP 262144 Byte 697 MB/s
I would like to modify the test code to do some debugging on the system,
but I could not find the source file *(dmaxfer.c) *to modify and
re-compile it.
I will be very grateful, if anybody help me, where can I find this DMA
transfer test source code.
I'm looking forward to hearing from you.
With kind regards,
Zsolt, Voroshazi
--
Zsolt, Voroshazi
Eutecus HU Ltd.
_______________________________________________
Rfi mailing list
[email protected]
http://lists.rocketboards.org/cgi-bin/mailman/listinfo/rfi