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/DP83822IF:Linux 驱动程序无法通过 DP83822连接到 Eth0 PHY

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

https://e2e.ti.com/support/interface-group/interface/f/interface-forum/734642/linux-dp83822if-linux-driver-not-able-to-attach-to-eth0-phy-with-dp83822

器件型号:DP83822IF

工具/软件:Linux

您好!

我们正在尝试将以太网 PHY 集成到我们产品中的现有 Linux 系统中、但我们在 Linux 驱动程序支持方面遇到了一些问题。

我们使用的是基于 Samsung Artik SoM 的 Ubuntu 构建、它位于具有 DP83822以太网 PHY 的主板上。 DP83822配置为 RGMII、我们可以通过 MDIO 在 U-Boot 中与器件通信。 当 Ubuntu 引导时、会检测到 eth0接口、但 Linux 驱动程序无法连接到该接口。 当尝试启动接口并显示'ifconfig eth0 up'时、我收到以下错误:

stmac_open:无法连接到 PHY (错误:-95)

Linux 中是否有任何工具可用于进一步诊断此问题? 感谢您的任何帮助。

谢谢、

John

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

    我们很难完全支持 Linux 驱动程序问题、因为所有目标和 Linux 发行版都是如此不同。

    phytool 是一种已确定用于从 Linux 用户空间访问 PHY 的工具。 它可以在以下位置抓取: github.com/.../phytool.c

    本视频还可能会提供一些帮助、但它适用于运行 Linux 的 AM 系列处理器。 training.ti.com/ethernet-link-status-linux

    此致、