Jump to content

[Armbian build PR] - Add an attempt counter, which helps buggy PCIe links.


Recommended Posts

Posted

Description

For the past few years, I've seen dozens of posts with people having the same PCIe link training gen1 timeout! error as I've been running into.

I noticed I could workaround the issue myself by unloading and loading the module to get it working, but that's a dirty userspace hack that shouldn't be needed. We can just retry the training code a few times.

How Has This Been Tested?

  • [X] Ran on a NanoPi R4SE that was previously unable to reliably have it's PCIe ethernet trained.

Checklist:

  • [X] My code follows the style guidelines of this project
  • [X] I have performed a self-review of my own code
  • [X] I have commented my code, particularly in hard-to-understand areas
  • [X] I have made corresponding changes to the documentation
  • [X] My changes generate no new warnings
  • [X] Any dependent changes have been merged and published in downstream modules

View the full article

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines