To run the pcie_enumerate_ep example application
the AM24x EVM needs to be booted with the NULL bootloader (SOC Initialization
Binary).
The pcie_enumerate_ep example can then be loaded
via CCS 12.4 and the onboard XDS110.
The pcie_enumerate_ep example prints the output
on the EVM's debug UART.
If the pcie_enumerate_ep example is started on an
AM24x EVM that is NOT connected to an x86 RC, or if the x86 is not powered, the
only output is going to
be:
PCIe: initialized and waiting for link
Afterward, the sample application is waiting for
a PCIe link to be established, which requires the RC. Once the cable is
connected and the RC is powered, the application outputs the state
changes:
PCIe: link detected
PCIe Link Parameter: PCIe Gen1 with 2.5 GT/s speed, Number of Lanes: 1
EP is in D0 state
PCIe: signaling APPL ready
APPL: pcie ready
At this point, the application is ready for
configuration through the RC driver, either ti-sample-vfio or
ti-sample-kmdf.