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.

[参考译文] TMDS64EVM:R5F 的 PCIe 驱动程序 — 支持桥接扫描

Guru**** 2895520 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1641586/tmds64evm-pcie-driver-for-r5f---support-bridge-scan

器件型号: TMDS64EVM

大家好:

我正在为 Sitara 板 (am64xx) 上的 R5F 开发 PCIe 驱动程序。 到目前为止、我已经在 R5F 上使用此驱动程序正确配置控制器并通过 PCIe 总线传输数据。
现在、我要检测 R5F 中的以下一组器件和桥接器:

0000:00:00.0 PCI bridge: Texas Instruments Device b012
0000:01:00.0 PCI bridge: PLX Technology, Inc. PEX 8725 24-Lane, 10-Port PCI Express Gen 3 (8.0 GT/s) Multi-Root Switch with DMA (rev ca)
0000:01:00.1 System peripheral: PLX Technology, Inc. PEX PCI Express Switch DMA interface (rev ca)
0000:01:00.2 System peripheral: PLX Technology, Inc. PEX PCI Express Switch DMA interface (rev ca)
0000:01:00.3 System peripheral: PLX Technology, Inc. PEX PCI Express Switch DMA interface (rev ca)
0000:01:00.4 System peripheral: PLX Technology, Inc. PEX PCI Express Switch DMA interface (rev ca)
0000:02:01.0 PCI bridge: PLX Technology, Inc. PEX 8725 24-Lane, 10-Port PCI Express Gen 3 (8.0 GT/s) Multi-Root Switch with DMA (rev ca)
0000:02:02.0 PCI bridge: PLX Technology, Inc. PEX 8725 24-Lane, 10-Port PCI Express Gen 3 (8.0 GT/s) Multi-Root Switch with DMA (rev ca)
0000:02:03.0 PCI bridge: PLX Technology, Inc. PEX 8725 24-Lane, 10-Port PCI Express Gen 3 (8.0 GT/s) Multi-Root Switch with DMA (rev ca)
0000:02:04.0 PCI bridge: PLX Technology, Inc. PEX 8725 24-Lane, 10-Port PCI Express Gen 3 (8.0 GT/s) Multi-Root Switch with DMA (rev ca)
0000:02:08.0 PCI bridge: PLX Technology, Inc. PEX 8725 24-Lane, 10-Port PCI Express Gen 3 (8.0 GT/s) Multi-Root Switch with DMA (rev ca)
0000:02:09.0 PCI bridge: PLX Technology, Inc. PEX 8725 24-Lane, 10-Port PCI Express Gen 3 (8.0 GT/s) Multi-Root Switch with DMA (rev ca)
0000:02:0a.0 PCI bridge: PLX Technology, Inc. PEX 8725 24-Lane, 10-Port PCI Express Gen 3 (8.0 GT/s) Multi-Root Switch with DMA (rev ca)
0000:03:00.0 RAM memory: Xilinx Corporation Device 1016
0000:04:00.0 PCI bridge: Pericom Semiconductor PCI Express to PCI-XPI7C9X130 PCI-X Bridge (rev 04)
0000:0a:00.0 PCI bridge: PLX Technology, Inc. Device 8712 (rev ca)
0000:0b:01.0 PCI bridge: PLX Technology, Inc. Device 8712 (rev ca)
0000:0b:02.0 PCI bridge: PLX Technology, Inc. Device 8712 (rev ca)
0000:0c:00.0 Signal processing controller: Xilinx Corporation Device 1016
0001:00:00.0 PCI bridge: Texas Instruments Device b012

R5F 的 SDK 是否支持枚举 PCIe 拓扑(总线,器件和桥接器)、或仅支持低级 PCIe 访问? 如果没有、是否有任何实现完整 PCIe 枚举支持的推荐方法或路线图?  

此致、
Joao Lima.

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、

    R5F 的 SDK 是否提供对枚举 PCIe 拓扑(总线,器件和桥接器)的支持、或者仅提供低级 PCIe 访问? 如果没有、是否有任何实现完整 PCIe 枚举支持的推荐方法或路线图?  [/报价]

    MCU+ SDK 中的 PCIe 驱动程序在功能上受到限制,因为大多数客户都使用 Linux 的 PCIe(在应用程序核心上运行)。

    AM64x 上现有的 PCIe RTOS 驱动程序、用于扩展 PCIe 驱动程序、以支持通用 EP 用例、其中 EP 连接到运行 Linux 或 Windows 的任意 RC。 由于此功能、我们进行了大量更新、打破了现有示例。

    请参阅 examples_drivers_pcie_enumerate_ep 示例 、其中演示了一个支持通过运行 Windows 或 Linux 的 RC 进行枚举的 EP。

    另请参阅 EXT_SITMPUSW-22 来了解已知限制。

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Tushar、  

    感谢您的回答。

    此致、
    Joao Lima.