Skip to content

add selectable (but static) SFP Base-X support - #18

Open
moshevds wants to merge 1 commit into
we-are-mono:masterfrom
moshevds:static-1g-support
Open

add selectable (but static) SFP Base-X support#18
moshevds wants to merge 1 commit into
we-are-mono:masterfrom
moshevds:static-1g-support

Conversation

@moshevds

Copy link
Copy Markdown

(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 RCW: SGMII instead of XFI
  • The retimer: enabling CDR bypass
  • The devicetree: modifying "phy-connection-type", and "fixed-link"

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.)

@moshevds
moshevds force-pushed the static-1g-support branch 3 times, most recently from 6a9533a to d200120 Compare June 28, 2026 11:40
@moshevds
moshevds force-pushed the static-1g-support branch from d200120 to 9b7aa44 Compare June 28, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant