I am trying to access the PCIe device on two different ways ;
Jetson TX2 developer board
Elroy carrier
I installed Ubuntu 16.04 and kernel version is : 4.4.38-tegra
But when I write lspci on the terminal, I cannot see the PCIe device connected. The device that I am trying to connect is PCAN miniPCIe FD.
Is this two cards are compatible, what am i missing here ?
Best regards.
That’s a very old release, you might consider flashing something newer. However, this should not cause PCIe to fail.
A full serial console boot log would be best to see what PCI is doing during boot. For serial console, see:
http://www.jetsonhacks.com/2017/03/24/serial-console-nvidia-jetson-tx2/
During boot, if no PCIe is detected, then the PCIe bridge will be shut down and not show up from lspci
. No output at all from lspci
would be “normal” if there is nothing on the PCIe bus.
In the case of a failed bus, if signal quality of a faster generation device is insufficient, then PCIe will use a slower clock speed from a slower generation. If PCIe gets to the slowest generation (“gen. 1”), and there is still insufficient quality of signal, then the device will be removed and treated as if there is no device. Serial console boot logs should answer if this is the case.
Note that even if your system does not have a driver for the particular device that lspci
should still show the device as existing, and so there is indeed some sort of failure. Serial console logs would help answer what the reason might be.
Thanks for your reply.
How can I check this while jetson is booting ? What type of error or info message should be written in the error terminal ?
Can you explain a bit?
Regards.
You would want to edit the “/boot/extlinux/extlinux.conf
” to remove any occurrence of the token “quiet
”. Then simply shut the Jetson down, clear your serial console program, set it to log, and begin boot. Log messages from both before and after the Linux kernel loads would be visible. This includes any PCI messages about what does or does not work on PCIe.
I couldn’t tell you about what specific message might show up, but typically it would be some sort of message about probing, and failing or succeeding…a rather broad description. The whole boot log would be of interest and not just the PCIe portions.