This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi TI,
I am currently trying to transmit data between to TDA4VM EVM Boards, which are connected via PCIe. I followed the instructions given for the PSDKLA and I ran pcitest.sh to test if the connection is working. As far as I have understood, the kernel driver, which is automatically loaded to enable communication between two boards (pci_epf_test), only allows me to send random bytes (the only modifications I can make are the size of the data and wether to use dma or not).
So in the next step I wanted to transmit "real" data via PCIe. But I have several questions here.
Q1: Is there already a kernel driver, which enables transmission of real data in the PSDKLA which is currently not automatically loaded from the kernel?
Q2: If there is no such kernel driver, is the only possibility to transmit data, editing the existing kernel driver (pci_epf_test ...) to enable this functionality?
Q3: If I have to edit the kernel drivers to enable this functionality, which files are important here? I have seen that there are some dependencies with RC (pci_endpoint_test.c) and EP drivers (pci-epf-test.c). But I do not have an overview yet.
Thank you!
Hello,
You mentioned PSDKLA, though I am not sure you have visited the processor SDK Linux Developer's guide, at:
software-dl.ti.com/.../PCIe_End_Point.html
All related files are explained in this page toward the bottom of the page. Please let me know if you have additional questions beyond what you raised above.
regards
Jian
Hi Jian,
thanks, I am aware of this guide and I followed all steps which are described there. But I came to the conclusion, that using pcitest only proves, that SoC to SoC communication is working by sending random bytes. There is no possibility to transmit "real" data, like variables, structs, ... (please correct me if I'm wrong). So my first question is still open.
Thanks again.
Felix,
you are correct. but you can modify:
drivers/pci/endpoint/functions/pci-epf-test.c
to initialize the allocated buffer.
regards
jian