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.

[参考译文] Linux/AM3354:双 EMAC 问题

Guru**** 2589280 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/590262/linux-am3354-dual-emac-issue

器件型号:AM3354

工具/软件:Linux

大家好、我使用 TI 的 AM335X SDK、SDK 版本为6.0、Linux 3.2.0。

我们设计具有双 EMAC 的电路板、一个是 RMII 接口、另一个是 RGMII 接口、它们可以工作(例如使用 ping cmd)。

但我发现如果我采取以下步骤、这将导致这两个步骤都无法正常工作

ifconfig eth0 192.168.1.136

2. ifconfig eth1 192.168.2.136

3.将电缆插入 第一个 EMAC 接口,,不要将其拉入

4. ifconfig eth0 down

5、等待15秒

6. ifconfig eth0 up

如果将导致通信 故障、我无法使用 ping 命令来测试 网络通信。

此错误的关键点:eth0和 eth1必须一起向上、并且您应该关闭插入电缆的网络接口、等待超过15秒

有趣   的是、我在 TI SDK 8.0 (Linux 3.14.26)中测试了此问题、它是同一个硬件、但不会出现此错误。

等待您的重播,谢谢!