We Connet jetson xavier nx to a pcie switch ,but sometime ,lspci show nothing, we want to recan the pcie bus ? what should we do ?
- Please make sure that ânvidia,enable-power-downâ is removed from the respective PCIe controllerâs device-tree node. This makes sure that the root port is at least enumerated (even when the PCIe link is not up with the downstream devices) so that you see only root portâs entry in lspci output.
- Rescan is not really useful unless the âDLActivâ in the output of respective root portâs âsudo lspci vvvvâ is set to â+â. Please make sure that it is indeed set. This confirms that the PCIe link is up at a later point of time
- Now, go to â/sys/bus/pci/devices/000x:01:00.0/â of the respective root port. Replace âxâ with the domain of the respective root port and then try ârescanâ.
I already remove the ânvidia,enable-power-downâ, but also canât find the device.
when I âsudo lspci -vvvvâ,I see âDLActiv-â
lspci.txt (7.8 KB)
Ok. In that case, there is no use of running ârescanâ as the link itself is not up. I think you need to first root cause the link up issue here.
Ok, Thinks. But My problem is that board sometime link up , but often show link down. My hardware engineer partner think there is no problem on the board hardware link, what should I do to locate the problem?
Try setting ânvidia,max-speedâ to â1â instead of the default â4â and also try setting ânum-lanesâ to â1â from whatever is its default value. If both of them are not helping, connect a PCIe protocol analyzer to find out what is happening (in case if you have access to one of those)
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.