!RjBlCIbsLDzHBIzmaA:nixos.org

NixOS on ARM

1032 Members
NixOS on ARM — Support: AArch64 is supported and cached; armv6 and armv7 are best effort, without any official cache. — Documentation: https://wiki.nixos.org/wiki/NixOS_on_ARM — Community build box: https://github.com/nix-community/aarch64-build-box → build box status: https://status.nixos.org/grafana/d/5LANB9pZk/per-instance-metrics?orgId=1&refresh=30s&var-instance=147.75.77.190 —251 Servers

Load older messages


SenderMessageTime
1 Jun 2025
@emilazy:matrix.orgemily when you ethtool -s sfp-wan advertise 0x20, what part of this whole system are you adjusting? 13:02:37
@k900:0upti.meK900Technically it's both13:02:55
@k900:0upti.meK900(yay)13:02:57
@emilazy:matrix.orgemilyah, autonegotiation it looks like13:03:00
@emilazy:matrix.orgemilyoh good it's both.13:03:10
@k900:0upti.meK900 It is supposed to be for autonegotiation 13:03:13
@k900:0upti.meK900But phylink does look at it in some places to also determine the SFP link properties sometimes13:03:31
@emilazy:matrix.orgemilyI think that all of this sucks.13:03:42
@k900:0upti.meK900It definitely does yes13:03:49
@emilazy:matrix.orgemilyhow much would it cost to convince some SFP+ manufacturer on AliExpress to make me a custom module configured exactly how I want.13:03:58
@emilazy:matrix.orgemilyall they have to do is flip a few bits.13:04:08
@emilazy:matrix.orgemilyI wonder if I can write to the EEPROM or something.13:04:26
@k900:0upti.meK900You usually can yes 13:05:07
@k900:0upti.meK900As in they usually don't bother write protecting it 13:05:16
@emilazy:matrix.orgemily"run a command", or "opening up the damn thing and attaching wires"?13:05:57
@emilazy:matrix.orgemilyhttps://www.hitoha.moe/read-sfp-i2c-via-ch341a-programmer/ apparently "buy an off-the-shelf programmer and hook it up to the external interface" level of easy13:10:07
@emilazy:matrix.orgemilythat's not so bad.13:10:10
@emilazy:matrix.orgemilyso wait, is the idea of the Realtek "rollball" thing that you still use the MAC that's on the transceiver but the kernel gets to talk to it directly?13:13:17
@emilazy:matrix.orgemilywhich is different from a 2500BASE-X thing where you don't even use the transceiver's MAC and your SoC's MAC just talks to the PHY directly?13:13:32
@k900:0upti.meK900 You can directly poke the i2c bus from Linux 13:31:47
@emilazy:matrix.orgemilyokay cool13:32:10
@emilazy:matrix.orgemilyand I guess it can't brick the thing since I can always just restore?13:32:15
@k900:0upti.meK900Yes13:47:38
@emilazy:matrix.orgemilythat seems promising then.13:49:12
@magic_rb:matrix.redalder.orgmagic_rb @emilazy:matrix.org once you figure this out ill actually be curious too, wanna get a openwrt switch so ill need smth i can put in it and 2.5 is a good speed for most things 14:08:16
@k900:0upti.meK900OK great 14:50:47
@k900:0upti.meK900I found more cursed knowledge14:50:52
@k900:0upti.meK900Turns out the Realtek kernel will spin up the SFP link in whatever way you have it configured 14:51:29
@k900:0upti.meK900And if it doesn't get a link set up in a short enough time, it'll just try every other one 14:51:44
@k900:0upti.meK900 Until it finds one that works. 14:51:49

Show newer messages


Back to Room ListRoom Version: 6