Changes between Version 8 and Version 9 of newport/ethernet


Ignore:
Timestamp:
09/03/2020 08:56:20 PM (2 years ago)
Author:
Tim Harvey
Comment:

update details about SFP support

Legend:

Unmodified
Added
Removed
Modified
  • newport/ethernet

    v8 v9  
    3535[=#sfp]
    3636== SFP (Small form-factor pluggable transceiver) support
    37 The GW6404 has 2x SFP sockets that are shared with J22 ETH3/4 connectors (vnic2/vnic3 in U-Boot eth2/eth3 in Linux). The SFP sockets support up to 1Gbps !SerDes however some software support is required:
    38  * The BDK can be augmented to detect an SFP module and configure the OcteonTX BGX network device accordingly. This would not allow any hot-plug or hot-swap SFP support. Gateworks has a patch available with limited support for this.
    39  * Support could be added to the Linux kernel to expose the Microsemi VSC8574 I2C controller channels and register them with the kernel allowing the native kernel SFP support that has been added since the 4.14 kernel. This could allow more standardized SFP detection and hotplug support. Gateworks has not pursued this path.
     37The GW6404 has 2x SFP sockets that are shared with J22 ETH3/4 connectors (vnic2/vnic3 in U-Boot eth2/eth3 in Linux). The SFP sockets support up to 1Gbps !SerDes which should be able to support 1000Base-X (1gbps fiber), 10/100/1000Base-T (copper), and 100Base-FX (100mbps fiber) however currently only 1000Base-X modules are supported in the BDK meaning a 1000Base-X SFP module must be present on board powerup and remain plugged in during runtime.
    4038
    41 Please contact sales@gateworks.com if you wish to use SFP and provide us details of the SFP module you wish to use.
     39Tested with:
     40 * Addon MGBSX1-AO (1000BASE-SX Fiber Duplex 850nm / 550nm LC connector)
     41 * FINISAR CORP. FTRJ-8519-7D (1000BASE-SX Fiber Duplex 850nm / 550nm LC connector)
    4242
    43 Any SFP module that advertises 1000Base-SX, 1000Base-LX, 1000Base-T capability should be supported.
    44 
    45 Validated with:
    46  * Addon MGBSX1-AO (1000BASE-SX Duplex 850NM / 550M LC)
    47  * Addon EX-SFP-1GE-T-AO (1000BaseT Copper)
     43Please contact support@gateworks.com providing details of the SFP module you wish to use if it is something other than 1000BaseX.
    4844
    4945=== Software
    50 A software driver is required on the host to detect insertion and removal of SFP modules, query the capabilities of the SFP via its MSA, verify compatibility and configure the PHY for compatibility.
     46Software is required on the host to detect presence of SFP modules, query the capabilities of the SFP via its MSA EEPROM, verify compatibility and configure the PHY for compatibility.
    5147
    52 Additional Software support required:
    53  * BDK boot time configuration:
    54   - add SFP detection and VSC8574 QSGMII PHY configuration in BDK to detect modules on bootup
    55  * Linux Kernel run-time hot-plug configuration:
    56   - add I2C controller support to mscc phy driver
    57   - add DTS configuration (Documentation/devicetree/bindings/net/sff,sfp.txt)
    58 
     48Current software support exists in the Newport BDK that does this and this configuration persists when booted to Linux meaning the SFP module will work in U-Boot and Linux. While the Linux kernel has some SFP support there is no support for the VSC8574 PHY driver for SFP modules meaning hot-plug or hot-swap of SFP modules is not supported.
    5949
    6050References: