TK1 R21.4 PCIE

Hi all. kernel version (GNU/Linux 3.10.40-gdacac96 armv7l)
The kernel don’t have any driver for this FPGA PCIE board.
I plug a FPGA PCIE board into TK1. Power on the board,but the kernel stop here.
Kernel image @ 0x81000000 [ 0x000000 - 0x5e98e0 ]

Flattened Device Tree blob at 82000000

Booting using the fdt blob at 0x82000000
Using Device Tree in place at 82000000, end 820118f4

Starting kernel …
I pull out the FPGA PCIE board. The kernel continue execute.
Why ?
If i want to print PCIE LTSSM register , how can i do?

When the kernel boot successfully,i plug the FPGA PCIE board again.
The kernel print out error message.
[ 643.188744] pcieport 0000:00:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=0000(Receiver ID)
[ 643.233852] pcieport 0000:00:00.0: device [10de:0e12] error status/mask=00000001/00002000
[ 643.242486] pcieport 0000:00:00.0: [ 0] Receiver Error (First)

It sure seems like the PCIe card (or the way it is mounted) has a defect. Is this a full length mPCIe card? Or half-length (which would fit nicely without issue)? Do you have anything else with mPCIe to test the card on to be sure it is functional? The physical layer error seems rather severe if the card is functional and mounted correctly.

If things are working well, you can most likely get information via “lspci -vvv”.

It’s half-length and worked well on Freescal iMX board.
If i want to print out PCIE LTSSM register , how can i do ?

As far as I know the easily obtained PCIe information is from “lspci -vvv”. Individual registers would be exposed to simple query in /sys only if a driver choses to do so, e.g., run this command to get an idea:

find /sys -name '*register*' | egrep -v 'unregister'

To get further information you would probably have modify a driver or run an expensive JTAG debugger.

Maybe JTAG debugger can help me.
Thank you!

Beware that none of the “inexpensive” JTAG debuggers will be of use on Jetson. I’ve heard of two models that succeed, one being many thousands of dollars, the other being over a hundred thousand dollars.