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.

[参考译文] AM6421:AM6421 基础定制电路板 — 通过 DP83822 PHY 启动 PRU 以太网接口

Guru**** 2964200 points

Other Parts Discussed in Thread: AM6421, TMDS64EVM

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1656590/am6421-am6421-base-custom-board---bringing-up-pru-ethernet-interface-with-dp83822-phy

器件型号: AM6421
Thread 中讨论的其他器件: TMDS64EVM

您好、

我们正在开发基于 AM6421 SoC 的定制电路板、并使用 BuildRoot 作为基于 TI 外部 defconfig 的构建系统。 我们使用的是 U-Boot 版本 2026.01。

我们的定制电路板具有两个以太网端口。 我们使用 TMDS64EVM 评估板映像作为基础、并修改器件树、使其适应我们的定制硬件。

我们已成功启用 PRU 以太网接口、接口eth0() 似乎已启动。 但是、DP83822 PHY 驱动程序不绑定到 PHY。 PHY 改为连接到 Generic PHY 驱动程序、我们无法 ping 或建立任何网络连接。

问题:

  • eth0 检测到接口并显示“Link is up - 100Mbps/ full“

  • PHY ID 读取 0x0000FFFF (无效)

  • 驱动程序: Generic PHY 而不是 TI DP83822

  • 手动绑定尝试失败、并显示“No These device“(无此类设备)

  • NETDEV WATCHDOG 观察到超时

我们尝试过的方法:

  • 已加载 DP83822 驱动程序 (modprobe dp83822)

  • 更新了器件树、以 0x00 在 PRU MDIO 总线上设置 PHY 地址

  • 已启用 PRU 以太网端口 (status = "okay")

  • 已尝试手动将 PHY 绑定到 DP83822 驱动程序

  • 附加所需文件。

    e2e.ti.com/.../ethernet_5F00_details.zip

此致、

Manish

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

    您好、

    通常、当您看到这种情况时、TX 时钟出现了问题。 数据包实际上并不传输数据。

    icssg-prueth icssg1-eth eth0:netdev 看门狗:CPU:0:传输队列 0 超时 5004 毫秒

    本文档对数据包的实际传输和接收提供了一些调试建议。  

    https://www.ti.com/lit/an/spradj8/spradj8.pdf

    ICSSG-PRU 在返回的统计信息上会略有不同。 您可能会看到 TX pkt 计数为 0、并且出现超时错误。

    此致、

    Schuyler