使用 s32g274 bsp35.0 在 U-启动 中添加 PHY 芯片 ADIN1200使用 s32g274 bsp35.0 在 U-Boot 中添加 PHY 芯片 ADIN1200。U-Boot 启动后,可以通过 mii 命令读取 PHY 的寄存器,但输入 ping 为 10 .0.0.1。它会直接提示 " 无法启用 rx_rgmii 时钟 "。这里有什么问题?
Re: Apply s32g274 bsp35.0 to add the PHY chip ADIN1200 in U-Boot你好@sdx111、
感谢您提供的信息。为了进一步缩小范围,请分享以下内容:
- ATF中 gmac0:ethernet@4033c000的 完整节点定义 (fdts/s32cc.dtsi)
- 请在eth.c#L312中打印错误时添加返回值:
- dev_err(gmac_dev, "启用 %s 时钟失败 ,返回 % d\n",rx,ret);
- 如果你知道你的u-启动或ATF配置上有任何可能与此问题相关的更改,也请分享
谢谢您!
Re: Apply s32g274 bsp35.0 to add the PHY chip ADIN1200 in U-BootADIN1200 连接到 GMAC0,并使用 RGMII 连接方法。
执行命令后的结果如附件所示。
Re: Apply s32g274 bsp35.0 to add the PHY chip ADIN1200 in U-Boot你好@sdx111、
感谢您联系我们。请在 u-启动 中执行以下命令并共享输出:
=> printenv
=> xpcs list
还请告诉我您使用哪个接口(GMAC、PFE0、PFE1 或 PFE2)和引脚连接ADIN1200。
谢谢!