From: <marcmicalizzi@gmail.com>
To: <linux-arm-kernel@lists.infradead.org>
Subject: MacchiatoBin SingleShot 2500BASE-X port (eth3) with GPON SFP on mvpp2x
Date: Sat, 2 Mar 2019 13:00:28 -0500 [thread overview]
Message-ID: <014801d4d121$d2769620$7763c260$@gmail.com> (raw)
Ive just been playing with the mcbin for a little while now, and this
kernel tree (mcbin branch) seems to be the only way (using a modern kernel)
Ive found that actually gets the 10GB SFP ports working on the SingleShot.
Unfortunately, however, the GPON SFP I have (Huawei MA5671, provided by my
ISP) does not seem to work on eth3 (mvpp2x driver). Currently Im using it
successfully in a different machine using a Broadcom BCM57810S (bnx2x
warpcore) with a couple modifications to the driver to link at 2500BASE-X,
and support SC modules, but was hoping to move it over to the MacchiatoBin
and try it as a router.
Worth noting is one quirk of this SFP is that it does not have a physical
EEPROM, and instead has a soft EEPROM that takes some time to load after
powering.
On boot I receive:
[ 5.376559] sfp sfp-eth3: failed to read EEPROM: -6
Which also keeps posting to dmesg afterwards.
And with ethtool -m:
# ethtool -m eth3
Cannot get Module EEPROM data: No such device or address
I also noticed from `ethtool eth3` that it does not explicitly list
2500Base-X as a supported link or advertisement mode with the SFP plugged,
and afterwards (otherwise it does):
mcbin # ethtool eth3
Settings for eth3:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Speed: 10Mb/s
Duplex: Half
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Link detected: no
From the machine I have that does work with the SFP:
server # ethtool -m eth0
Identifier : 0x03 (SFP)
Extended identifier : 0x04 (GBIC/SFP defined
by 2-wire interface ID)
Connector : 0x01 (SC)
Transceiver codes : 0x00 0x00 0x00 0x02 0x00
0x00 0x00 0x00
Transceiver type : Ethernet: 1000BASE-LX
Encoding : 0x03 (NRZ)
BR, Nominal : 1200MBd
Rate identifier : 0x00 (unspecified)
Length (SMF,km) : 20km
Length (SMF) : 20000m
Length (50um) : 0m
Length (62.5um) : 0m
Length (Copper) : 0m
Length (OM3) : 0m
Laser wavelength : 1310nm
Vendor name : HUAWEI
Vendor OUI : 00:00:00
Vendor PN : MA5671A
Vendor rev : 0000
Option values : 0x00 0x1a
Option : RX_LOS implemented
Option : TX_FAULT implemented
Option : TX_DISABLE implemented
BR margin, max : 0%
BR margin, min : 0%
Vendor SN : xxxxxxxxxxxxxxxxx
Date code : 180105
Optical diagnostics support : Yes
Laser bias current : 8.058 mA
Laser output power : 1.4902 mW / 1.73 dBm
Receiver signal average optical power : 0.0104 mW / -19.83 dBm
Module temperature : 41.66 degrees C / 106.99
degrees F
Module voltage : 3.2717 V
Alarm/warning flags implemented : Yes
Laser bias current high alarm : Off
Laser bias current low alarm : Off
Laser bias current high warning : Off
Laser bias current low warning : Off
Laser output power high alarm : Off
Laser output power low alarm : Off
Laser output power high warning : Off
Laser output power low warning : Off
Module temperature high alarm : Off
Module temperature low alarm : Off
Module temperature high warning : Off
Module temperature low warning : Off
Module voltage high alarm : Off
Module voltage low alarm : Off
Module voltage high warning : Off
Module voltage low warning : Off
Laser rx power high alarm : Off
Laser rx power low alarm : Off
Laser rx power high warning : Off
Laser rx power low warning : Off
Laser bias current high alarm threshold : 90.000 mA
Laser bias current low alarm threshold : 0.000 mA
Laser bias current high warning threshold : 70.000 mA
Laser bias current low warning threshold : 0.000 mA
Laser output power high alarm threshold : 3.9810 mW / 6.00 dBm
Laser output power low alarm threshold : 0.8912 mW / -0.50 dBm
Laser output power high warning threshold : 3.1622 mW / 5.00 dBm
Laser output power low warning threshold : 1.1220 mW / 0.50 dBm
Module temperature high alarm threshold : 95.00 degrees C / 203.00
degrees F
Module temperature low alarm threshold : -50.00 degrees C /
-58.00 degrees F
Module temperature high warning threshold : 90.00 degrees C / 194.00
degrees F
Module temperature low warning threshold : -45.00 degrees C /
-49.00 degrees F
Module voltage high alarm threshold : 3.6000 V
Module voltage low alarm threshold : 3.0000 V
Module voltage high warning threshold : 3.5000 V
Module voltage low warning threshold : 3.1000 V
Laser rx power high alarm threshold : 0.2511 mW / -6.00 dBm
Laser rx power low alarm threshold : 0.0013 mW / -28.86 dBm
Laser rx power high warning threshold : 0.1995 mW / -7.00 dBm
Laser rx power low warning threshold : 0.0016 mW / -27.96 dBm
server # ethtool eth0
Settings for eth0:
Supported ports: [ FIBRE ]
Supported link modes: 1000baseT/Full
2500baseX/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: No
Advertised link modes: 2500baseX/Full
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 2500Mb/s
Duplex: Full
Port: FIBRE
PHYAD: 1
Transceiver: internal
Auto-negotiation: off
Supports Wake-on: g
Wake-on: d
Current message level: 0x00000000 (0)
Link detected: yes
If you have any ideas or can provide any direction, I would greatly
appreciate it.
Thanks,
Marc
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2019-03-02 18:00 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-02 18:00 marcmicalizzi [this message]
2019-03-02 18:53 ` MacchiatoBin SingleShot 2500BASE-X port (eth3) with GPON SFP on mvpp2x Russell King - ARM Linux admin
2019-03-02 20:26 ` Andrew Lunn
2019-03-03 2:17 ` Marc Micalizzi
2019-03-03 2:48 ` Andrew Lunn
2019-03-03 10:01 ` Russell King - ARM Linux admin
2019-03-03 10:31 ` Russell King - ARM Linux admin
2019-03-03 15:42 ` Marc Micalizzi
2019-03-07 18:42 ` Marc Micalizzi
2019-03-07 19:01 ` Russell King - ARM Linux admin
2019-03-07 19:40 ` Marc Micalizzi
2019-03-07 22:36 ` Russell King - ARM Linux admin
2019-03-08 11:09 ` Russell King - ARM Linux admin
2019-03-08 15:09 ` Marc Micalizzi
2019-03-13 15:45 ` Marc Micalizzi
2019-03-14 11:30 ` Russell King - ARM Linux admin
2019-03-14 19:08 ` Marc Micalizzi
2019-03-15 0:22 ` Russell King - ARM Linux admin
2019-03-15 2:18 ` Marc Micalizzi
2019-05-14 1:20 ` Marc Micalizzi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='014801d4d121$d2769620$7763c260$@gmail.com' \
--to=marcmicalizzi@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.