add selectable (but static) SFP Base-X support - #18
Open
moshevds wants to merge 1 commit into
Open
Conversation
moshevds
force-pushed
the
static-1g-support
branch
3 times, most recently
from
June 28, 2026 11:40
6a9533a to
d200120
Compare
moshevds
force-pushed
the
static-1g-support
branch
from
June 28, 2026 12:08
d200120 to
9b7aa44
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(This replaces #13 because github closed my PR, and I don't know how to reopen it.)
This adds support for "downgrading" either of the SFP+ ports to SFP ports with a firmware update.
There are 3 places where the port type must be configured:
The way that this patch works is by having U-Boot inspect the RCW, and perform fixups for the retimer and devicetree to match what it finds.
This means that the RCW is the only difference between firmware images. SFP0TYPE and SFP1TYPE can be set in site.conf (or elsewhere) to either "10g" (the default) or "1g" to determine what RCW will be included. Compared to the previous PR, I removed support for 1g+1g, and also limited 10g+1g to have the rightmost port as 1g. The two removed modes did not work reliably for different reasons. (But can very likely be added with a different mechanism.)