Forum Discussion
Hi Altera,
More info:
Based on the STLA, it looks like the reconfiguration calibration never turn low after reset.
While HRC can work without any issue.
The SRC simply feed 1'b1 to the pin_perst and please do help or provide instruction to fix this trouble.
Thanks,
Brian
- RongY_altera2 days ago
Contributor
Hi Brian,
By using SRC you're likely to control the npor. If so, you need to pull npor LOW more than 100ms and only release it when PCIe ref clock is stable.
Regards,
Rong
- BrianSune_Froum2 days ago
Contributor
Can you read previous posts?
I am not focusing on npor problem
The issue is changing from HRC to SRC introduce stuck or hang on Linux driver load.
Where the HRC case did not have such issue.
Thanks
- RongY_altera2 days ago
Contributor
Normally you need to follow the PCIe user guide to set hip_hard_reset_hwtcl to 0. I think you have done that and you're able to boot into Linux.
Once confirming PCIe link info correctly in lspci, you can try rescan and reset commands by referencing https://unix.stackexchange.com/questions/73908/how-to-reset-cycle-power-to-a-pcie-device
Regards,
Rong
- BrianSune_Froum1 day ago
Contributor
Ok the solution to resolve SRC under Hard PCIe RP:
The example from rocketchip and MitySOM gate the mgmt reset by nreset_status.
Due to pin_perst is not used -> 1'b1
The nreset_status will not release unless mgmt is reset with npor while gating mgmt reset bynreset_status will dead lock and never exit the reset.