PCIe TLP generation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PCIe TLP generation

960 Views
FreeScaleLogin
Contributor II

Is it possible to generate the PCIe TLP from uboot? I am using P1011 as RC. On bootup PCI scan is done and detected device (EP) and link is active. when i read LTSSM it is showing 16. Fine, I wanted to access the EP memory read/write through uboot. For that we need to generate TLPs. How to do that? First is it possible through uboot?

Regards,

Sekhar

Labels (1)
0 Kudos
1 Reply

607 Views
scottwood
NXP Employee
NXP Employee

You can't directly generate transaction layer packets (TLPs), but you don't need to.  U-Boot should have assigned an address to the BAR.  Just do ordinary read/write operations to that address.  Make sure that everything is translated properly from effective address to physical address to PCI bus address.

0 Kudos