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.

PCIE END POINT ON TDA4

And we have two TDA4s, one is set to RC, the other is set to EP

Is the cable straight-through  or cross-over

EP set:

1.sw3  PCIE_1L_MODE_SEL set to "1"

2.5.10 kernel

k3-j721e-common-proc-board.dts

&pcie0_rc{

status = "disabled";

}

CONFIG_PCI_ENDPOINT=y

CONFIG_PCI_ENDPOINT_CONFIGFS=y

CONFIG_PCI_EPF_TEST=y

CONFIG_PCI_J721E=y

CONFIG_PCIE_CADENCE_EP=y

3.

mkdir functions/pci_epf_test/func1

echo 0x104c > functions/pci_epf_test/func1/vendorid

echo 0xb00d > functions/pci_epf_test/func1/deviceid

echo 2 > functions/pci_epf_test/func1/msi_interrupts

echo 2 > functions/pci_epf_test/func1/msix_interrupts

ln -s functions/pci_epf_test/func1 controllers/2900000.pcie-ep/

echo 1 > controllers/2900000.pcie-ep/start

RC set:

just wait EP powered -on and configured.

but lspci output:

00:00.0 Class 0604: 104c:b00d
00:00.0 Class 0604: 104c:b00d
00:00.0 Class 0604: 104c:b00d

not found EP