This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TDA4VM:[TDA4] Marvel T1以太网 phy (88q2220)不适用于 CPSW9G

Guru**** 1951150 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1085435/tda4vm-tda4-marvel-t1-ethernet-phy-88q2220-does-not-work-for-cpsw9g

部件号:TDA4VM
“线程”中讨论的其它部件:DP83TC811

各位专家:

我们为 CPSW9G 交换机使用两种不同的 T1以太网 PHY, 为 DP83TC811使用 RGMII5 (第22条),为88Q2220使用 RGMII2 (第45条)

我们可以通过 RGMII5从 eth1接口获取 DHCP IP,但 RGMII2 DHCP 客户端出现故障。

因此,我尝试从 TDA4 RGMII5和 RGMII2转储物理以太网帧寄存器,状态如下所示

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--------------------------------
PORT5 STATS
--------------------------------
memaddr 0xc03aa00 STAT_5_RXGOODFRAMES = 0x40
memaddr 0xc03aa04 STAT_5_RXBROADCASTFRAMES = 0x3
memaddr 0xc03aa08 STAT_5_RXMULTICASTFRAMES = 0x39
memaddr 0xc03aa0c STAT_5_RXPAUSEFRAMES = 0x0
memaddr 0xc03aa10 STAT_5_RXCRCERRORS = 0x0
memaddr 0xc03aa14 STAT_5_RXALIGNCODEERRORS = 0x0
memaddr 0xc03aa18 STAT_5_RXOVERSIZEDFRAMES = 0x0
memaddr 0xc03aa1c STAT_5_RXJABBERFRAMES = 0x0
memaddr 0xc03aa20 STAT_5_RXUNDERSIZEDFRAMES = 0x0
memaddr 0xc03aa24 STAT_5_RXFRAGMENTS = 0x0
memaddr 0xc03aa28 STAT_5_ALE_DROP = 0x39
memaddr 0xc03aa2c STAT_5_ALE_OVERRUN_DROP = 0x0
memaddr 0xc03aa30 STAT_5_RXOCTETS = 0x3ed6
memaddr 0xc03aa34 STAT_5_TXGOODFRAMES = 0x5
memaddr 0xc03aa38 STAT_5_TXBROADCASTFRAMES = 0x5
memaddr 0xc03aa3c STAT_5_TXMULTICASTFRAMES = 0x0
memaddr 0xc03aa40 STAT_5_TXPAUSEFRAMES = 0x0
memaddr 0xc03aa44 STAT_5_TXDEFERREDFRAMES = 0x0
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--------------------------------
PORT2 STATS
--------------------------------
memaddr 0xc03a400 STAT_2_RXGOODFRAMES = 0x26
memaddr 0xc03a404 STAT_2_RXBROADCASTFRAMES = 0x3
memaddr 0xc03a408 STAT_2_RXMULTICASTFRAMES = 0x23
memaddr 0xc03a40c STAT_2_RXPAUSEFRAMES = 0x0
memaddr 0xc03a410 STAT_2_RXCRCERRORS = 0x0
memaddr 0xc03a414 STAT_2_RXALIGNCODEERRORS = 0x0
memaddr 0xc03a418 STAT_2_RXOVERSIZEDFRAMES = 0x0
memaddr 0xc03a41c STAT_2_RXJABBERFRAMES = 0x0
memaddr 0xc03a420 STAT_2_RXUNDERSIZEDFRAMES = 0x0
memaddr 0xc03a424 STAT_2_RXFRAGMENTS = 0x0
memaddr 0xc03a428 STAT_2_ALE_DROP = 0x23
memaddr 0xc03a42c STAT_2_ALE_OVERRUN_DROP = 0x0
memaddr 0xc03a430 STAT_2_RXOCTETS = 0x1718
memaddr 0xc03a434 STAT_2_TXGOODFRAMES = 0x5
memaddr 0xc03a438 STAT_2_TXBROADCASTFRAMES = 0x5
memaddr 0xc03a43c STAT_2_TXMULTICASTFRAMES = 0x0
memaddr 0xc03a440 STAT_2_TXPAUSEFRAMES = 0x0
memaddr 0xc03a444 STAT_2_TXDEFERREDFRAMES = 0x0
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

遵循上一个日志...  

与正常帧(RGMII5)相比 ,RGMII2 不会获得 任何单播帧和匹配的比例调节器

我不知道调试此问题。

有人可以发表一些评论吗?

非常感谢

吉布斯

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    状态更新

    RGMII2可以接收帧,但 Linux 不会收到任何 RX 数据包。

      

x 出现错误。请重试或与管理员联系。