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
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.