How to awake the pcie0 device?

the PICE0 (c4 x4) is connected to XILINX FPGA GTX BANK(A7-1000/X0Y0),but this is necessory that GPU(ORIN NX 16G) need to load the FPGA, then ,we can find that the GPU cannot find the PCIE0 device when the board is powered, because the pcie0 enter to low-power mode before the GPU to load the FPGA.
here ,
1)How to awake the PCIE0 device after the GPU to load the FPGA ?
2)If it is possible that the PCIE is also non-low-power mode, then how to set?
please help to tell me.

thanks

You can rescan or rebind the device through linux sysfs and see if that works.

I think that I need to describe the issue again:

  1. boot the device
  2. when booting, we can find pcie0_clkp/n, that means pcie scan device
  3. after boot complete, we can not find pcie0_clkp/n of pcie, I think pcie0 enter low-power mode.
    now download the FPGA firmware,still cannot find the pcie device.
  4. we did a test that download FPGA when booting, and foud that pci0 can find device.
  5. so i want to know how to prevent pcie0 to enter low-power mode

after boot completed, there is no pcie device node, so can not use sysfs to rescan and rebind.

Hi,

The bind/rebind is happened on this controller node, not the pcie device node directly.

example:

cd /sys/bus/platform/drivers/tegra194-pcie
echo 14160000.pcie > unbind
echo 14160000.pcie > bind

You need to change pcie controller to the one you are using.

it did work!
thanks

1 Like

I make a new case about GPIO speed

please help to solve it
thanks

Hi,
More questions to ask,please help me

  1. Whether GPIO’s toggle speed can be modified or not?
  2. If can, what is the range?
  3. How to modify GPIO’s toggle speed?

Looks not related to PCIe issue. Please ask in the right topic.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.