Ethernet Switches Community

Expand all | Collapse all

54210S SGMII - SGMII-Slave mode not working

  • 1.  54210S SGMII - SGMII-Slave mode not working

    Posted 11-21-2019 10:44 PM
    Configuring the BCM54210S to SGMII-to-SGMII (Slave) mode using software steps given on page 13 of application note 54210S-PG105 (April 04,2017). Need guidance for the next steps to debug below issue.

    [    0.873196] OF: /amba/ethernet@ff0c0000: could not find phandle
    [    0.878475] macb ff0c0000.ethernet: Not enabling partial store and forward
    [    0.885633] libphy: MACB_mii_bus: probed
    [    1.074644] Broadcom BCM54210S ff0c0000.ethernet-ffffffff:09: attached PHY driver [Broadcom BCM54210S] (mii_bus:phy_addr=ff0c0000.ethernet-ffffffff:09, irq=POLL)
    [    1.093245] macb ff0c0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0c0000 irq 24 (ae:f4:38:47:b9:88)
    [    1.104041] SGMII Register 0x01 = 1c9
    [    1.104075] SGMII Register 0x04 = 9801
    [    1.107633] SGMII Register 0x05 = 0
    [    1.111590] RDB0x021 = 7e0c
    [    1.115008] RDB0x02F = 7167
    [    1.117873] RDB202 = 5018
    [    1.120717] RDB234 = 51a1
    [    1.123398] RDB235 = 5590
    [    1.126080] RDB23E = 7822
    [    1.128772] RDB0xB00 = 1140
    [    1.131443] RDB0xB01 = 16d
    [    1.134297] RDB0xB05 = d801
    [    1.137074] RDB0xB15 = 38a
    .
    .
    .
    Starting network: OK
    [    1.603222] xenbr0: port 1(eth0) entered blocking state
    [    1.603283] xenbr0: port 1(eth0) entered disabled state
    [    1.608374] device eth0 entered promiscuous mode
    [    1.616146] ptp clock register failed
    udhcpc: started, v1.30.1
    udhcpc: sending discover
    udhcpc: sending discover
    udhcpc: sending discover
    udhcpc: no lease, forking to background

    I tried doing loopback and unable to notice any discrepancy in the results except 0xB15 values are showing MODE_SEL as RGMII to Fiber?

    Copper loopback without loopback plug SGMII Loopback Copper Line-Side Loopback Both Copper Line-Side and SGMII loopback
    SGMII Register 0x01 1c9 1c9 1c9 1e9
    SGMII Register 0x04 8801 9801 9801 9801
    SGMII Register 0x05 0 0 4001 d801
    RDB0x021 7eac 7eac 7e5c 7efc
    RDB0x02F 7067 7067 7067 7067
    RDB202 4c94 5d94 d078 ddf8
    RDB234 51a0 51a0 51a1 51a1
    RDB235 5490 5590 5790 5790
    RDB23E 7a22 7a22 7a22 7a22
    RDB0xB00 1140 1140 1140 1140
    RDB0xB01 16d 16d 16d 16d
    RDB0xB05 d801 d801 d801 d801
    RDB0xB15 38a 38a 38a 38a



  • 2.  RE: 54210S SGMII - SGMII-Slave mode not working

    Posted 11-21-2019 10:46 PM
    Hi,
    Suggest could you contact with your local distributors to get PHY team BU support for your 54210 questions?

    Thanks,
    Ryan

    ------------------------------
    Master R&D Applications Engineer
    Broadcom
    ------------------------------