Phy access methods for copper SFP+ disguised as SR
Subsystems (2)
Got myself a couple of cheap 10GBase-T SFP+s and am struggling to figure out how to talk to the phy. The phy does not appear to be directly accessible on 0x56, and it does not respond using the Rollball protocol either.
Are there any other well known methods out there, or am I stuck with whatever SR emulation the SFP vendor implemented?
This is all it shows, and 0x56 just reads zeroes no matter what I do:
root@s508cl:~# i2cdetect -y 8
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: 50 51 -- -- -- -- 56 -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
root@s508cl:~# i2cdump -y 8 0x50
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 03 04 07 10 00 00 00 00 00 00 00 06 67 00 00 00 ????.......?g...
10: 08 02 00 1e 4f 45 4d 20 20 20 20 20 20 20 20 20 ??.?OEM
20: 20 20 20 20 00 00 00 00 53 46 50 2d 31 30 47 2d ....SFP-10G-
30: 54 38 20 20 20 20 20 20 41 20 20 20 00 00 00 0c T8 A ...?
40: 00 1a 00 00 46 32 35 30 31 31 34 54 30 30 31 30 .?..F250114T0010
50: 20 20 20 20 32 35 30 31 31 35 20 20 68 f0 03 eb 250115 h???
60: 00 00 11 6b e0 e7 c2 e1 ff ff 18 79 21 c8 24 ed ..?k????..?y!?$?
70: d8 45 85 00 00 00 00 00 00 00 00 00 1c 24 98 22 ?E?.........?$?"
80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
root@s508cl:~# i2cdump -y 8 0x51
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 50 00 f6 00 4b 00 fb 00 8c 9f 71 48 88 b8 75 30 P.?.K.?.??qH??u0
10: 1d 4c 01 f4 19 64 03 e8 2b d4 07 46 27 10 09 28 ?L???d??+??F'??(
20: 2b d4 02 85 27 10 03 2c 00 00 00 00 00 00 00 00 +???'??,........
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
40: 00 00 00 00 3f 80 00 00 00 00 00 00 01 00 00 00 ....??......?...
50: 01 00 00 00 01 00 00 00 01 00 00 00 00 00 00 7e ?...?...?......~
60: 42 33 7f ca 0b b8 13 92 13 92 00 00 00 00 00 00 B3????????......
70: 00 00 00 00 00 00 00 00 00 00 40 00 00 00 00 00 ..........@.....
80: 43 4f 55 49 41 38 4e 43 41 41 31 30 2d 32 34 31 COUIA8NCAA10-241
90: 35 2d 30 33 56 30 33 20 01 00 46 00 00 00 00 c6 5-03V03 ?.F....?
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 aa aa ..............??
c0: 53 46 50 2d 31 30 47 2d 53 52 20 20 20 20 20 20 SFP-10G-SR
d0: 20 20 20 20 33 32 00 00 00 00 00 00 00 00 00 35 32.........5
e0: 1e 28 2e 2e 31 34 29 36 00 00 00 00 00 00 00 00 ?(..14)6........
f0: 00 00 00 00 00 66 00 00 ff ff ff ff ff ff 29 e3 .....f........)?
root@s508cl:~# i2cdump -y 8 0x56
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................Bjørn
Hi,
Maybe rollball protocol?
https://forum.banana-pi.org/t/sfp-oem-sfp-2-5g-t-kernel-phy/15872/
Best regards,
Shengyu
Quoted 80 lines · Bjørn Mork
Got myself a couple of cheap 10GBase-T SFP+s and am struggling to figure out how to talk to the phy. The phy does not appear to be directly accessible on
0x56, and it does not respond using the Rollball protocol either.Are there any other well known methods out there, or am I stuck with whatever SR emulation the SFP vendor implemented?
This is all it shows, and
0x56just reads zeroes no matter what I do:root@s508cl:~# i2cdetect -y 8 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: 50 51 -- -- -- -- 56 -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- root@s508cl:~# i2cdump -y 8 0x50 No size specified (using byte-data access) 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 03 04 07 10 00 00 00 00 00 00 00 06 67 00 00 00 ????.......?g... 10: 08 02 00 1e 4f 45 4d 20 20 20 20 20 20 20 20 20 ??.?OEM 20: 20 20 20 20 00 00 00 00 53 46 50 2d 31 30 47 2d ....SFP-10G- 30: 54 38 20 20 20 20 20 20 41 20 20 20 00 00 00 0c T8 A ...? 40: 00 1a 00 00 46 32 35 30 31 31 34 54 30 30 31 30 .?..F250114T0010 50: 20 20 20 20 32 35 30 31 31 35 20 20 68 f0 03 eb 250115 h??? 60: 00 00 11 6b e0 e7 c2 e1 ff ff 18 79 21 c8 24 ed ..?k????..?y!?$? 70: d8 45 85 00 00 00 00 00 00 00 00 00 1c 24 98 22 ?E?.........?$?" 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ root@s508cl:~# i2cdump -y 8 0x51 No size specified (using byte-data access) 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 50 00 f6 00 4b 00 fb 00 8c 9f 71 48 88 b8 75 30 P.?.K.?.??qH??u0 10: 1d 4c 01 f4 19 64 03 e8 2b d4 07 46 27 10 09 28 ?L???d??+??F'??( 20: 2b d4 02 85 27 10 03 2c 00 00 00 00 00 00 00 00 +???'??,........ 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 40: 00 00 00 00 3f 80 00 00 00 00 00 00 01 00 00 00 ....??......?... 50: 01 00 00 00 01 00 00 00 01 00 00 00 00 00 00 7e ?...?...?......~ 60: 42 33 7f ca 0b b8 13 92 13 92 00 00 00 00 00 00 B3????????...... 70: 00 00 00 00 00 00 00 00 00 00 40 00 00 00 00 00 ..........@..... 80: 43 4f 55 49 41 38 4e 43 41 41 31 30 2d 32 34 31 COUIA8NCAA10-241 90: 35 2d 30 33 56 30 33 20 01 00 46 00 00 00 00 c6 5-03V03 ?.F....? a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 aa aa ..............?? c0: 53 46 50 2d 31 30 47 2d 53 52 20 20 20 20 20 20 SFP-10G-SR d0: 20 20 20 20 33 32 00 00 00 00 00 00 00 00 00 35 32.........5 e0: 1e 28 2e 2e 31 34 29 36 00 00 00 00 00 00 00 00 ?(..14)6........ f0: 00 00 00 00 00 66 00 00 ff ff ff ff ff ff 29 e3 .....f........)? root@s508cl:~# i2cdump -y 8 0x56 No size specified (using byte-data access) 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................Bjørn
Quoted 2 lines · Shengyu Qu
Maybe rollball protocol?
https://forum.banana-pi.org/t/sfp-oem-sfp-2-5g-t-kernel-phy/15872/
Thanks, but I already tried adding a sfp quirk enabling Rollball access. It does not work unfortunately.
Manually testing RollBall still reads the same static eeprom data on page 3, register 0x80 etc, where we expect the RollBall registers:
* 0x80 1 CMD 0x01/0x02/0x04 for write/read/done * 0x81 1 DEV Clause 45 device * 0x82 2 REG Clause 45 register * 0x84 2 VAL Register value
Page 0:
root@s508cl:~# i2cdump -y 8 0x51
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 50 00 f6 00 4b 00 fb 00 8c 9f 71 48 88 b8 75 30 P.?.K.?.??qH??u0
10: 1d 4c 01 f4 19 64 03 e8 2b d4 07 46 27 10 09 28 ?L???d??+??F'??(
20: 2b d4 02 85 27 10 03 2c 00 00 00 00 00 00 00 00 +???'??,........
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
40: 00 00 00 00 3f 80 00 00 00 00 00 00 01 00 00 00 ....??......?...
50: 01 00 00 00 01 00 00 00 01 00 00 00 00 00 00 7e ?...?...?......~
60: 45 49 7f 78 0b b8 13 92 13 92 00 00 00 00 00 00 EI?x??????......
70: 00 00 00 00 00 00 00 00 00 00 40 00 00 00 00 00 ..........@.....
80: 43 4f 55 49 41 38 4e 43 41 41 31 30 2d 32 34 31 COUIA8NCAA10-241
90: 35 2d 30 33 56 30 33 20 01 00 46 00 00 00 00 c6 5-03V03 ?.F....?
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 aa aa ..............??
c0: 53 46 50 2d 31 30 47 2d 53 52 20 20 20 20 20 20 SFP-10G-SR
d0: 20 20 20 20 33 32 00 00 00 00 00 00 00 00 00 35 32.........5
e0: 1e 28 2e 2e 31 34 29 36 00 00 00 00 00 00 00 00 ?(..14)6........
f0: 00 00 00 00 00 66 00 00 ff ff ff ff ff ff 29 e3 .....f........)?Set password:
root@s508cl:~# i2cset -y 8 0x51 0x7b 0xff root@s508cl:~# i2cset -y 8 0x51 0x7c 0xff root@s508cl:~# i2cset -y 8 0x51 0x7d 0xff root@s508cl:~# i2cset -y 8 0x51 0x7e 0xff
Read page 3:
root@s508cl:~# i2cset -y 8 0x51 0x7f 3
root@s508cl:~# i2cdump -y 8 0x51
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 50 00 f6 00 4b 00 fb 00 8c 9f 71 48 88 b8 75 30 P.?.K.?.??qH??u0
10: 1d 4c 01 f4 19 64 03 e8 2b d4 07 46 27 10 09 28 ?L???d??+??F'??(
20: 2b d4 02 85 27 10 03 2c 00 00 00 00 00 00 00 00 +???'??,........
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
40: 00 00 00 00 3f 80 00 00 00 00 00 00 01 00 00 00 ....??......?...
50: 01 00 00 00 01 00 00 00 01 00 00 00 00 00 00 7e ?...?...?......~
60: 45 49 80 62 0b b8 13 92 13 92 00 00 00 00 00 00 EI?b??????......
70: 00 00 00 00 00 00 00 00 00 00 40 ff ff ff ff 03 ..........@....?
80: 43 4f 55 49 41 38 4e 43 41 41 31 30 2d 32 34 31 COUIA8NCAA10-241
90: 35 2d 30 33 56 30 33 20 01 00 46 00 00 00 00 c6 5-03V03 ?.F....?
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 aa aa ..............??
c0: 53 46 50 2d 31 30 47 2d 53 52 20 20 20 20 20 20 SFP-10G-SR
d0: 20 20 20 20 33 32 00 00 00 00 00 00 00 00 00 35 32.........5
e0: 1e 28 2e 2e 31 34 29 36 00 00 00 00 00 00 00 00 ?(..14)6........
f0: 00 00 00 00 00 66 00 00 ff ff ff ff ff ff 29 e3 .....f........)?I have another cheap 10GBase-T SFP+ which *is* talking RollBall. I do not have problems accessing the phy on this. Including it just for comparison with the above. Page 0 looks similar:
root@s508cl:~# i2cdump -y 5 0x51
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 50 00 f6 00 4b 00 fb 00 8c a0 75 30 88 b8 79 18 P.?.K.?.??u0??y?
10: 1d 4c 01 f4 19 64 03 e8 4d f0 06 30 3d e8 06 f2 ?L???d??M??0=???
20: 2b d4 00 c7 27 10 00 df 00 00 00 00 00 00 00 00 +?.?'?.?........
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
40: 00 00 00 00 3f 80 00 00 00 00 00 00 01 00 00 00 ....??......?...
50: 01 00 00 00 01 00 00 00 01 00 00 00 00 00 00 23 ?...?...?......#
60: 23 f7 82 6f 00 00 00 00 00 00 00 00 00 00 82 00 #??o..........?.
70: 05 40 00 00 05 40 00 00 00 00 00 ff ff ff ff 00 ?@..?@..........
80: 43 4f 55 49 41 38 4e 43 41 41 31 30 2d 32 34 31 COUIA8NCAA10-241
90: 35 2d 30 33 56 30 33 20 01 00 46 00 00 00 00 c6 5-03V03 ?.F....?
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 aa aa ..............??
c0: 53 46 50 2d 31 30 47 2d 53 52 20 20 20 20 20 20 SFP-10G-SR
d0: 20 20 20 20 32 36 20 20 20 20 20 20 20 20 20 58 26 X
e0: 1e 28 2e 2e 31 34 29 36 00 00 00 00 00 00 00 00 ?(..14)6........
f0: 00 00 00 00 00 66 00 00 ff ff ff ff 00 00 00 00 .....f..........But switching to page 3 we see the RollBall registers on 0x80 etc:
root@s508cl:~# i2cset -y 5 0x51 0x7f 3
root@s508cl:~# i2cdump -y 5 0x51
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 50 00 f6 00 4b 00 fb 00 8c a0 75 30 88 b8 79 18 P.?.K.?.??u0??y?
10: 1d 4c 01 f4 19 64 03 e8 4d f0 06 30 3d e8 06 f2 ?L???d??M??0=???
20: 2b d4 00 c7 27 10 00 df 00 00 00 00 00 00 00 00 +?.?'?.?........
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
40: 00 00 00 00 3f 80 00 00 00 00 00 00 01 00 00 00 ....??......?...
50: 01 00 00 00 01 00 00 00 01 00 00 00 00 00 00 23 ?...?...?......#
60: 28 22 82 58 00 00 00 00 00 00 00 00 00 00 82 00 ("?X..........?.
70: 05 40 00 00 05 40 00 00 00 00 00 ff ff ff ff 03 ?@..?@.........?
80: 04 1e c8 31 00 00 ff ff ff ff ff ff ff ff ff ff ???1............
90: ff ff 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ................
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
f0: ff ff ff ff ff ff ff ff ff ff 04 00 f0 02 0a ab ..........?.????Bjørn
Sorry but I'm not familar with this either. I advice you to ask more about this under the forum topic.
Best regards,
Shengyu
Quoted 123 lines · Bjørn Mork
Quoted 2 lines · Shengyu Qu
Maybe rollball protocol?
https://forum.banana-pi.org/t/sfp-oem-sfp-2-5g-t-kernel-phy/15872/Thanks, but I already tried adding a sfp quirk enabling Rollball access. It does not work unfortunately.
Manually testing RollBall still reads the same static eeprom data on page 3, register
0x80etc, where we expect the RollBall registers:* 0x80 1 CMD 0x01/0x02/0x04 for write/read/done * 0x81 1 DEV Clause 45 device * 0x82 2 REG Clause 45 register * 0x84 2 VAL Register valuePage 0:
root@s508cl:~# i2cdump -y 8 0x51 No size specified (using byte-data access) 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 50 00 f6 00 4b 00 fb 00 8c 9f 71 48 88 b8 75 30 P.?.K.?.??qH??u0 10: 1d 4c 01 f4 19 64 03 e8 2b d4 07 46 27 10 09 28 ?L???d??+??F'??( 20: 2b d4 02 85 27 10 03 2c 00 00 00 00 00 00 00 00 +???'??,........ 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 40: 00 00 00 00 3f 80 00 00 00 00 00 00 01 00 00 00 ....??......?... 50: 01 00 00 00 01 00 00 00 01 00 00 00 00 00 00 7e ?...?...?......~ 60: 45 49 7f 78 0b b8 13 92 13 92 00 00 00 00 00 00 EI?x??????...... 70: 00 00 00 00 00 00 00 00 00 00 40 00 00 00 00 00 ..........@..... 80: 43 4f 55 49 41 38 4e 43 41 41 31 30 2d 32 34 31 COUIA8NCAA10-241 90: 35 2d 30 33 56 30 33 20 01 00 46 00 00 00 00 c6 5-03V03 ?.F....? a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 aa aa ..............?? c0: 53 46 50 2d 31 30 47 2d 53 52 20 20 20 20 20 20 SFP-10G-SR d0: 20 20 20 20 33 32 00 00 00 00 00 00 00 00 00 35 32.........5 e0: 1e 28 2e 2e 31 34 29 36 00 00 00 00 00 00 00 00 ?(..14)6........ f0: 00 00 00 00 00 66 00 00 ff ff ff ff ff ff 29 e3 .....f........)?Set password:
root@s508cl:~# i2cset -y 8 0x51 0x7b 0xff root@s508cl:~# i2cset -y 8 0x51 0x7c 0xff root@s508cl:~# i2cset -y 8 0x51 0x7d 0xff root@s508cl:~# i2cset -y 8 0x51 0x7e 0xffRead page 3:
root@s508cl:~# i2cset -y 8 0x51 0x7f 3 root@s508cl:~# i2cdump -y 8 0x51 No size specified (using byte-data access) 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 50 00 f6 00 4b 00 fb 00 8c 9f 71 48 88 b8 75 30 P.?.K.?.??qH??u0 10: 1d 4c 01 f4 19 64 03 e8 2b d4 07 46 27 10 09 28 ?L???d??+??F'??( 20: 2b d4 02 85 27 10 03 2c 00 00 00 00 00 00 00 00 +???'??,........ 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 40: 00 00 00 00 3f 80 00 00 00 00 00 00 01 00 00 00 ....??......?... 50: 01 00 00 00 01 00 00 00 01 00 00 00 00 00 00 7e ?...?...?......~ 60: 45 49 80 62 0b b8 13 92 13 92 00 00 00 00 00 00 EI?b??????...... 70: 00 00 00 00 00 00 00 00 00 00 40 ff ff ff ff 03 ..........@....? 80: 43 4f 55 49 41 38 4e 43 41 41 31 30 2d 32 34 31 COUIA8NCAA10-241 90: 35 2d 30 33 56 30 33 20 01 00 46 00 00 00 00 c6 5-03V03 ?.F....? a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 aa aa ..............?? c0: 53 46 50 2d 31 30 47 2d 53 52 20 20 20 20 20 20 SFP-10G-SR d0: 20 20 20 20 33 32 00 00 00 00 00 00 00 00 00 35 32.........5 e0: 1e 28 2e 2e 31 34 29 36 00 00 00 00 00 00 00 00 ?(..14)6........ f0: 00 00 00 00 00 66 00 00 ff ff ff ff ff ff 29 e3 .....f........)?I have another cheap 10GBase-T SFP+ which *is* talking RollBall. I do not have problems accessing the phy on this. Including it just for comparison with the above. Page 0 looks similar:
root@s508cl:~# i2cdump -y 5 0x51 No size specified (using byte-data access) 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 50 00 f6 00 4b 00 fb 00 8c a0 75 30 88 b8 79 18 P.?.K.?.??u0??y? 10: 1d 4c 01 f4 19 64 03 e8 4d f0 06 30 3d e8 06 f2 ?L???d??M??0=??? 20: 2b d4 00 c7 27 10 00 df 00 00 00 00 00 00 00 00 +?.?'?.?........ 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 40: 00 00 00 00 3f 80 00 00 00 00 00 00 01 00 00 00 ....??......?... 50: 01 00 00 00 01 00 00 00 01 00 00 00 00 00 00 23 ?...?...?......# 60: 23 f7 82 6f 00 00 00 00 00 00 00 00 00 00 82 00 #??o..........?. 70: 05 40 00 00 05 40 00 00 00 00 00 ff ff ff ff 00 ?@..?@.......... 80: 43 4f 55 49 41 38 4e 43 41 41 31 30 2d 32 34 31 COUIA8NCAA10-241 90: 35 2d 30 33 56 30 33 20 01 00 46 00 00 00 00 c6 5-03V03 ?.F....? a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 aa aa ..............?? c0: 53 46 50 2d 31 30 47 2d 53 52 20 20 20 20 20 20 SFP-10G-SR d0: 20 20 20 20 32 36 20 20 20 20 20 20 20 20 20 58 26 X e0: 1e 28 2e 2e 31 34 29 36 00 00 00 00 00 00 00 00 ?(..14)6........ f0: 00 00 00 00 00 66 00 00 ff ff ff ff 00 00 00 00 .....f..........But switching to page 3 we see the RollBall registers on
0x80etc:root@s508cl:~# i2cset -y 5 0x51 0x7f 3 root@s508cl:~# i2cdump -y 5 0x51 No size specified (using byte-data access) 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 50 00 f6 00 4b 00 fb 00 8c a0 75 30 88 b8 79 18 P.?.K.?.??u0??y? 10: 1d 4c 01 f4 19 64 03 e8 4d f0 06 30 3d e8 06 f2 ?L???d??M??0=??? 20: 2b d4 00 c7 27 10 00 df 00 00 00 00 00 00 00 00 +?.?'?.?........ 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 40: 00 00 00 00 3f 80 00 00 00 00 00 00 01 00 00 00 ....??......?... 50: 01 00 00 00 01 00 00 00 01 00 00 00 00 00 00 23 ?...?...?......# 60: 28 22 82 58 00 00 00 00 00 00 00 00 00 00 82 00 ("?X..........?. 70: 05 40 00 00 05 40 00 00 00 00 00 ff ff ff ff 03 ?@..?@.........? 80: 04 1e c8 31 00 00 ff ff ff ff ff ff ff ff ff ff ???1............ 90: ff ff 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ................ a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ f0: ff ff ff ff ff ff ff ff ff ff 04 00 f0 02 0a ab ..........?.????Bjørn
Quoted 7 lines · Bjørn Mork
Got myself a couple of cheap 10GBase-T SFP+s and am struggling to figure out how to talk to the phy. The phy does not appear to be directly accessible on
0x56, and it does not respond using the Rollball protocol either.Are there any other well known methods out there, or am I stuck with whatever SR emulation the SFP vendor implemented?
Those are the two i know of. The problem is, copper SFP modules are not part of any standard, so manufactures are free to do whatever they want.
For 1G, the Marvell 88e1111 is often used, since it has a built in i2c device. For 10G the Marvell 88X3310 is often used, but that does not have i2c, as far as i know, and there is a small microprocessor which implements the Rollball protocol, talking MDIO to the PHY. Since it is not build into the PHY the MCU could well be talking a different protocol.
Andrew