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.

[参考译文] DRA829V:在 u-boot 中启用 cpsw0主域以太网交换机

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1266033/dra829v-enable-cpsw0-main-domain-ethernet-switch-in-u-boot

器件型号:DRA829V
主题中讨论的其他器件:DRA829

您好、专家!

我们的定制电路板在 MCU 域上没有以太网端口、因此我们无法
使用 k3-j721e-mcu-wake.dtsi 中定义的 mcu_cpsw。

我已经尝试从 k3-j721e-evm-gesi-exp-board.dtbo 添加 cpsw0信息、但 u-boot 提示:

Failed to probe am65_cpsw_nuss driver
Net: No ethernet found.

此外、我没有 MDIO:

=> mdio list
No MDIO bus found

我所做的:

1.将完整的  cpsw0Ethernet@c000000 块从 linux-ti-staging 添加到 u-boot-ti-staging 中。

2.向我的 u-boot DTS 中添加了 k3-j721e-evm-gesi-exp-board.dtbo cpsw0相关信息。

3.删除了对 mcu_cpsw 的所有引用

感谢任何帮助。

/波

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

    您好!

    请参阅补丁(基于 SDK8.2)、以从 u-boot 启用 CPSW9G、并将所需的更改集成到您的 SDK 中。

    该补丁同时支持 TDAVM (J721e/DRA829)和 TDAVH (J784s4)、请仅接受 DRA829更改器件树文件、并对两个 SOC 均适用。
    e2e.ti.com/.../j784s4_2D00_08_5F00_02_5F00_02_5F00_06_2D00_cpsw9g_2D00_uboot.zip


    此致、
    苏德黑尔

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

    感谢您的支持。 我设法获得了第一个端口、但仍然无法使以太网流量正常工作。

    我应用了以下似乎相关的补丁:

    0,001,0000002000000300100100011、 0,012,00100130014

    引导至 U-Boot 现在如下所示:

    U-Boot 2023.04-g999 (Aug 31 2023 - 10:31:29 +0000)

    SoC: J721E SR1.1 GP
    Model: Texas Instruments K3 J721E SoC
    DRAM: 4 GiB
    Core: 139 devices, 32 uclasses, devicetree: separate
    Warning: Device tree includes old 'u-boot,dm-' tags: please fix by 2023.07!
    Flash: 0 Bytes
    MMC: mmc@4f80000: 0
    Loading Environment from nowhere... OK
    In: serial@2800000
    Out: serial@2800000
    Err: serial@2800000
    am65_cpsw_nuss ethernet@c000000: K3 CPSW: nuss_ver: 0x6BA01901 cpsw_ver: 0x6BA80101 ale_ver: 0x00294104 Ports:8 mdio_freq:1000000
    Net:
    Warning: ethernet@c000000port@1 (eth0) using random MAC address - fe:74:ce:96:e3:c5
    eth0: ethernet@c000000port@1
    Hit any key to stop autoboot: 0
    => mdio list
    ethernet@c000000port@1:
    0 - TI DP83867 <--> ethernet@c000000port@1
    =>
    => setenv ipaddr 10.142.3.9
    => setenv netmask 255.255.252.0
    => setenv serverip 10.142.0.1
    => ping 10.142.0.1
    k3-navss-ringacc ringacc@3c000000: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    k3-navss-ringacc ringacc@3c000000: dma-ring-reset-quirk: disabled
    am65_cpsw_nuss_port ethernet@c000000port@1: K3 CPSW: rflow_id_base: 16
    link up on port 1, speed 1000, full duplex
    Using ethernet@c000000port@1 device

    Abort
    ping failed; host 10.142.0.1 is not alive

    非常感谢任何帮助。

    /波

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

    您好!

    => setenv ipaddr 10.142.3.9
    => setenv netmask 255.255.252.0
    => setenv serverip 10.142.0.1[/报价]

    如果您使用的是 EVM、是否可以确保服务器配置有连接至 GESI 卡上 MAC 端口1的10.142.0.1 (请参阅 RTOS SDK EVM 设置详细信息以获取端口信息)。

    此外、在服务器的同一域(如10.142.0.x)中配置本地 IP 地址(而不是使用10.145.3.9)、并尝试 ping 服务器 IP。

    此致、
    苏德黑尔

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

    我们的网络是255.255.252.0 -网络。 网络掩码必须是这样。

    för、我们可以使用10.142.3.xxx μ s 静态测试、因此我将本地 IP 设置为10.142.3.9、这与服务器完全在同一个域中。

    网关为10.142.0.1 -这不是 TFTP 服务器。

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

    我也使用本地服务器进行了测试。 我可以看到自动协商正在工作、LED 亮起绿色、表示100Mbit、全双工。 在上面的例子中,它保持黄色(1000Mbit,全双工)。 仍然没有流量:

    => setenv ipaddr 10.110.210.20
    => setenv netmask 255.255.255.0
    => setenv serverip 10.110.210.1
    => ping 10.110.210.1
    k3-navss-ringacc ringacc@3c000000: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    k3-navss-ringacc ringacc@3c000000: dma-ring-reset-quirk: disabled
    am65_cpsw_nuss_port ethernet@c000000port@1: K3 CPSW: rflow_id_base: 16
    link up on port 1, speed 100, full duplex
    Using ethernet@c000000port@1 device

    Abort
    ping failed; host 10.110.210.1 is not alive
    =>

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

    您好!

    您能否检查 SDK 文档中 是否提到网络配置?

    此致、
    苏德黑尔

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

    抱歉、我无法将其精确设置为该配置。 我有一个本地网关、地址为10.110.210.1。

    在 U-Boot 中:

    ping failed; host 10.110.210.1 is not alive
    => pri ipaddr
    ipaddr=10.110.210.20
    => pri serverip
    serverip=10.110.210.1
    => pri gatewayip
    gatewayip=10.110.210.1
    => pri netmask
    netmask=255.255.255.0

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

    您好!

    您是否可以读取 CPSW 统计寄存器并在 CPSW2G 主机端口的端口1和 Rx 数据包计数处检查任何 Tx 数据包计数?
    请参阅 TRM 中的12.2.1.6.8 MCU_CPSW0_STAT0寄存器。
    MCU_CPSW0_NUSS_STAT0 4600 0000h

    此致、
    苏德黑尔

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

    我没有任何设备连接到 MCU_CPSW0、我假设您是指主域上的 CPSW9G 开关。

    无论如何、在 CPSW0_NUSS_STAT (0x0C03 A000)的寄存器上、当我从 u-boot 对服务器执行 ping 操作时、我可以看到 RXGOODFRAMES_k 和 TXGOODFRAMES_k 都在增加。 TX 多于 RX。

    从服务器 ping DRA829不会增加任何内容。

    PHY 连接有问题? MDIO 列表显示以下内容:

    => mdio list
    ethernet@c000000port@1:
    0 - TI DP83867 <--> ethernet@c000000port@1

    此外、我可以顺利到达 phy 寄存器:

    => mii dump 0 0
    0. (1140) -- PHY control register --
    (8000:0000) 0.15 = 0 reset
    (4000:0000) 0.14 = 0 loopback
    (2040:0040) 0. 6,13 = b10 speed selection = 1000 Mbps
    (1000:1000) 0.12 = 1 A/N enable
    (0800:0000) 0.11 = 0 power-down
    (0400:0000) 0.10 = 0 isolate
    (0200:0000) 0. 9 = 0 restart A/N
    (0100:0100) 0. 8 = 1 duplex = full
    (0080:0000) 0. 7 = 0 collision test enable
    (003f:0000) 0. 5- 0 = 0 (reserved)

    我还应补充一点、我们连接了三个以太网端口、端口2和3没有正常启动。 这些接口与

    ETH0:RGMII
    ETH1:RMII
    ETH2:RMII

    这三种 PHY 都有自己的25MHz 晶体。 我是否需要以某种方式在 DTS 中指定这一点?

    am65_cpsw_nuss ethernet@c000000: K3 CPSW: nuss_ver: 0x6BA01901 cpsw_ver: 0x6BA80 101 ale_ver: 0x00294104 Ports:8 mdio_freq:1000000
    Net:
    Warning: ethernet@c000000port@1 (eth0) using random MAC address - 6a:a3:ec:c2:c1 :e8
    eth0: ethernet@c000000port@1
    Could not get PHY for ethernet@c000000port@1: addr 4

    am65_cpsw_nuss_port ethernet@c000000port@2: phy_connect() failed
    Could not get PHY for ethernet@c000000port@1: addr 5
    am65_cpsw_nuss_port ethernet@c000000port@3: phy_connect() failed

    此致、

    /波

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

    凸点。 如果可以、请帮助您。

    您还能提供一个示例来说明如何为不同的 PHY 定义 RESET-GPIO 吗? 三个引脚都位于同一个 MDIO 总线上、地址0、4和5、并且复位 GPIO 连接到 GPIO0_8、9和10。

    Phy0 RESET 具有外部上拉电阻器。 另外两个具有外部下拉电阻器。

    /波

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

    您好!

    很抱歉耽误你的时间、我们将在内部检查并尽快更新。

    此致、
    苏德黑尔

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

    尊敬的 Bo:

    您能否共享设备树文件以及 am65-cpsw-nuss.c 驱动程序文件?

    此致、
    Siddharth。

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

    尊敬的 Bo:

    您能否共享以下寄存器的值?
    1. CTRLMMR_ENET1_CTRL 0x00104044
    2. CTRLMMR_ENET2_CTRL 0x00104048
    3. CTRLMMR_ENET3_CTRL 0x0010404C

    此外、您能否确认配置:
    CONFIG_PHY_TI_DP83867
    已启用?

    此致、
    Siddharth。

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

    => md 0x00104044 3
    00104044: 00000002 00000001 00000001 ............

    是的、CONFIG_PHY_TI_DP83867已启用。

    => mdio list
    ethernet@c000000port@1:
    0 - TI DP83867 <--> ethernet@c000000port@1

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    从服务器 ping 到 DRA829不会增加任何内容。

    U-Boot 不会侦听网络事务、除非它启动事务。 因此、这是预期行为。

    此致、
    Siddharth。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您能否提供一个示例,说明如何为不同的 PHY 定义 reset-GPIO? 三个引脚都位于同一个 MDIO 总线上、地址为0、4和5、RESET-GPIO 连接到 GPIO0_8、9和10。

    GPIO-HOG 示例:
    https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-j721e-gesi-exp-board.dts?h=ti-linux-5.10.y#n122
    RESET-GPIO 和 RESET-post-delay-us 示例:
    https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-j721e-quad-port-eth-exp.dts?h=ti-linux-5.10.y#n81

    此致、
    Siddharth。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    GPIO-HOG 示例:
    https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-j721e-gesi-exp-board.dts?h=ti-linux-5.10.y#n122
    RESET-GPIO 和 RESET-post-delay-us 示例:
    https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-j721e-quad-port-eth-exp.dts?h=ti-linux-5.10.y#n81

    此致、
    Siddharth [/报价]

    谢谢、我已经使其正常工作了。 它在代码中被注释掉。 优先级一是使 eth0正常工作。

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

    Bo,

    假设 eth0对应于配置为 RGMII-RXID 模式的 CPSW 端口1、您可以共享以下寄存器的值吗?
    CPSW_SS_RGMII1_STATUS_REG 0x0C000030

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    假定 eth0对应于配置为 RGMII-RXID 模式的 CPSW 端口1,您可以共享以下寄存器的值吗?
    CPSW_SS_RGMII1_STATUS_REG 0x0C000030

    => md 0x0c000030 1
    0c000030: 00000000 ....

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

    CPSW_SS_RGMII1_STATUS_REG 寄存器定义如下:
    位(0)=> 0h (链路断开)、1h (链路建立)。
    位(2-1)=> 0h (10Mbps)、1h (100Mbps)、2h (1000Mbps)。
    位(3)=> 0h (半双工)、1h (全双工)。

    全为零的值表示未检测到链路。

    如果日志中有任何错误、您能否分享这些错误?

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

    没有我可以在启动时看到的错误:

    U-Boot 2023.04-g999 (Aug 31 2023 - 10:31:29 +0000)

    SoC: J721E SR1.1 GP
    Model: Texas Instruments K3 J721E SoC
    DRAM: 4 GiB
    Core: 139 devices, 32 uclasses, devicetree: separate
    Warning: Device tree includes old 'u-boot,dm-' tags: please fix by 2023.07!
    Flash: 0 Bytes
    MMC: mmc@4f80000: 0
    Loading Environment from nowhere... OK
    In: serial@2800000
    Out: serial@2800000
    Err: serial@2800000
    am65_cpsw_nuss ethernet@c000000: K3 CPSW: nuss_ver: 0x6BA01901 cpsw_ver: 0x6BA80101 ale_ver: 0x00294104 Ports:8 mdio_freq:1000000
    Net:
    Warning: ethernet@c000000port@1 (eth0) using random MAC address - 86:a3:47:45:b4:8b
    eth0: ethernet@c000000port@1
    Could not get PHY for ethernet@c000000port@1: addr 4

    am65_cpsw_nuss_port ethernet@c000000port@2: phy_connect() failed
    Could not get PHY for ethernet@c000000port@1: addr 5
    am65_cpsw_nuss_port ethernet@c000000port@3: phy_connect() failed

    没关系最后两个。 我需要对它们使用 reset_n。 我现在专注于 ETH 0。

    但我的树可能设置错误吗? 这是它的连接方式:

    ETH0:RGMII3 - RGMII 模式下的 phy0
    ETH1:RGMII4 - RMII 模式下的 phy4
    ETH2:RGMII1 - RMII 模式下的 phy5

    &main_cpsw0 {
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&main_cpsw0_mdio_pins_default
                 &rgmii3_pins_default
                 &rgmii4_pins_default
                 &rgmii1_pins_default>;
    };

    &main_cpsw0_port1 {
        status = "okay";
        phy-handle = <&main_cpsw0_phy0>;
        phy-mode = "rgmii-rxid";
        mac-address = [00 00 00 00 00 00];
        phys = <&main_phy_gmii_sel 1>;
    };

    &main_cpsw0_port2 {
        status = "okay";
        phy-handle = <&main_cpsw0_phy4>;
        phy-mode = "rmii";
        mac-address = [00 00 00 00 00 00];
        phys = <&main_phy_gmii_sel 2>;
    };

    &main_cpsw0_port3 {
        status = "okay";
        phy-handle = <&main_cpsw0_phy5>;
        phy-mode = "rmii";
        mac-address = [00 00 00 00 00 00];
        phys = <&main_phy_gmii_sel 3>;
    };
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Bo,

    以下是错误、如果一切正常、应该看不到:

    Could not get PHY for ethernet@c000000port@1: addr 4
    Could not get PHY for ethernet@c000000port@1: addr 5

    此外、如果所需的配置为:

    eth0: RGMII3 - phy0 in RGMII mode
    eth1: RGMII4 - phy4 in RMII mode
    eth2: RGMII1 - phy5 in RMII mode

    如您指定的、忽略接口名称、实际上意味着 CPSW 端口3应映射到 phy0、
    CPSW 端口4应映射到 phy4、CPSW 端口1应映射到 phy5。
    因此、这种配置的器件树节点将为:
    &main_cpsw0_port1 {
        status = "okay";
        phy-handle = <&main_cpsw0_phy5>;
        phy-mode = "rmii";
        mac-address = [00 00 00 00 00 00];
        phys = <&main_phy_gmii_sel 1>;
    };
    
    &main_cpsw0_port3 {
        status = "okay";
        phy-handle = <&main_cpsw0_phy0>;
        phy-mode = "rgmii-rxid";
        mac-address = [00 00 00 00 00 00];
        phys = <&main_phy_gmii_sel 3>;
    };
    
    &main_cpsw0_port4 {
        status = "okay";
        phy-handle = <&main_cpsw0_phy4>;
        phy-mode = "rmii";
        mac-address = [00 00 00 00 00 00];
        phys = <&main_phy_gmii_sel 4>;
    };


    此致、
    Siddharth。

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

    谢谢、Siddharth!

    我对 k3-j721e-evm-GeSI-exp-board.dtsi 中的编号感到困惑、因为它们是1、2、3和4。 现在我看到它们分别被硬连线至 RGMII1、2、3和4。 现在一切都很正常。

    通过您的更正、我能够 ping 通我的服务器。

    非常感谢您和 Doredla Sudheer Kumar 的帮助。

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

    您好!

    我对 k3-j721e-evm-gesi-exp-board.dtsi 中的编号感到困惑,因为它们是1、2、3和4。 现在我看到它们分别被硬连线至 RGMII1、2、3和4。 现在一切都很有意义。

    是的、数字与实际端口号硬连线。

    在您进行更正后,我能够 ping 通我的服务器。

    感谢您确认 ping 服务器在您结束时工作正常。

    此致、
    苏德黑尔

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

    你好!

    遗憾的是、第二和第三个接口仍然存在问题。 只有第一个接口才能正常工作。 另外两个传感器不响应电缆插入、也无法通过以太网执行任何通信。

    从引导中登录:

    U-Boot 2023.04-g999 (Aug 31 2023 - 10:31:29 +0000)

    SoC: J721E SR1.1 GP
    Model: Texas Instruments K3 J721E SoC
    DRAM: 4 GiB
    Core: 142 devices, 32 uclasses, devicetree: separate
    Warning: Device tree includes old 'u-boot,dm-' tags: please fix by 2023.07!
    Flash: 0 Bytes
    MMC: mmc@4f80000: 0
    Loading Environment from nowhere... OK
    In: serial@2800000
    Out: serial@2800000
    Err: serial@2800000
    am65_cpsw_nuss ethernet@c000000: K3 CPSW: nuss_ver: 0x6BA01901 cpsw_ver: 0x6BA80101 ale_ver: 0x00294104 Ports:8 mdio_freq:1000000
    Net:
    Warning: ethernet@c000000port@1 (eth2) using random MAC address - 96:af:29:bc:7e:11
    eth2: ethernet@c000000port@1
    Warning: ethernet@c000000port@3 (eth0) using random MAC address - c2:b2:b6:7c:b3:c3
    , eth0: ethernet@c000000port@3
    Warning: ethernet@c000000port@4 (eth1) using random MAC address - 72:16:3f:1a:19:a4
    , eth1: ethernet@c000000port@4
    Hit any key to stop autoboot: 0
    =>

    第一个端口中的电缆:

    => setenv ipaddr 10.110.210.20; setenv netmask 255.255.255.0; setenv serverip 10.110.210.1; setenv gatewayip 10.110.210.1
    => ping 10.110.210.1
    k3-navss-ringacc ringacc@3c000000: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    k3-navss-ringacc ringacc@3c000000: dma-ring-reset-quirk: disabled
    am65_cpsw_nuss_port ethernet@c000000port@3: K3 CPSW: rflow_id_base: 16
    link up on port 3, speed 100, full duplex
    Using ethernet@c000000port@3 device
    host 10.110.210.1 is alive

    第二个端口中的电缆(无链路,MII dump 4 0显示 AutoNeg 尚未成功):

    => mii dump 4 1
    1. (7849) -- PHY status register --
    (8000:0000) 1.15 = 0 100BASE-T4 able
    (4000:4000) 1.14 = 1 100BASE-X full duplex able
    (2000:2000) 1.13 = 1 100BASE-X half duplex able
    (1000:1000) 1.12 = 1 10 Mbps full duplex able
    (0800:0800) 1.11 = 1 10 Mbps half duplex able
    (0400:0000) 1.10 = 0 100BASE-T2 full duplex able
    (0200:0000) 1. 9 = 0 100BASE-T2 half duplex able
    (0100:0000) 1. 8 = 0 extended status
    (0080:0000) 1. 7 = 0 (reserved)
    (0040:0040) 1. 6 = 1 MF preamble suppression
    (0020:0000) 1. 5 = 0 A/N complete
    (0010:0000) 1. 4 = 0 remote fault
    (0008:0008) 1. 3 = 1 A/N able
    (0004:0000) 1. 2 = 0 link status
    (0002:0000) 1. 1 = 0 jabber detect
    (0001:0001) 1. 0 = 1 extended capabilities

    Ping 未成功:

    => ping 10.110.210.1
    am65_cpsw_nuss_port ethernet@c000000port@3: K3 CPSW: rflow_id_base: 16
    ethernet@c000000port@3 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@c000000port@3: phy_startup failed
    am65_cpsw_nuss_port ethernet@c000000port@3: am65_cpsw_start end error
    am65_cpsw_nuss_port ethernet@c000000port@4: K3 CPSW: rflow_id_base: 16
    ethernet@c000000port@4 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@c000000port@4: phy_startup failed
    am65_cpsw_nuss_port ethernet@c000000port@4: am65_cpsw_start end error
    am65_cpsw_nuss_port ethernet@c000000port@1: K3 CPSW: rflow_id_base: 16
    ethernet@c000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@c000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@c000000port@1: am65_cpsw_start end error
    ping failed; host 10.110.210.1 is not alive

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

    尊敬的 Bo:

    请分享以下内容:
    MDIO 列表
    非工作设置的"Resource Variant"命令。 此外、您能否告诉我哪个以太网 PHY 用于 RMII 接口?

    此致、
    Siddharth。

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

    您好!

    您还能共享以下寄存器转储。
    1. CTRLMMR_ENET1_CTRL 0x00104044
    2. CTRLMMR_ENET3_CTRL 0x0010404C
    3. CTRLMMR_ENET4_CTRL 0x00104050

    CPSW_PN_MAC_CONTROL_REG_k 寄存器(偏移= 00022330h +(k * 1000h)、其中对于端口1、端口3和端口4、k = 0h 至8h。

    此外、我从器件树配置中观察到、在引脚多路复用器选择中的 RGMII 中配置端口3和端口4、如下所示。

    rgmii4_pins_default: rgmii4-pins-default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0x100, PIN_INPUT, 4) /* (AE29) PRG0_PRU1_GPO0.RGMII4_RD0 */
    			J721E_IOPAD(0x104, PIN_INPUT, 4) /* (AD28) PRG0_PRU1_GPO1.RGMII4_RD1 */
    			J721E_IOPAD(0x108, PIN_INPUT, 4) /* (AD27) PRG0_PRU1_GPO2.RGMII4_RD2 */
    			J721E_IOPAD(0x10c, PIN_INPUT, 4) /* (AC25) PRG0_PRU1_GPO3.RGMII4_RD3 */
    			J721E_IOPAD(0x118, PIN_INPUT, 4) /* (AC26) PRG0_PRU1_GPO6.RGMII4_RXC */
    			J721E_IOPAD(0x110, PIN_INPUT, 4) /* (AD29) PRG0_PRU1_GPO4.RGMII4_RX_CTL */
    			J721E_IOPAD(0x12c, PIN_OUTPUT, 4) /* (AG26) PRG0_PRU1_GPO11.RGMII4_TD0 */
    			J721E_IOPAD(0x130, PIN_OUTPUT, 4) /* (AF27) PRG0_PRU1_GPO12.RGMII4_TD1 */
    			J721E_IOPAD(0x134, PIN_OUTPUT, 4) /* (AF26) PRG0_PRU1_GPO13.RGMII4_TD2 */
    			J721E_IOPAD(0x138, PIN_OUTPUT, 4) /* (AE25) PRG0_PRU1_GPO14.RGMII4_TD3 */
    			J721E_IOPAD(0x140, PIN_OUTPUT, 4) /* (AG29) PRG0_PRU1_GPO16.RGMII4_TXC */
    			J721E_IOPAD(0x13c, PIN_OUTPUT, 4) /* (AF29) PRG0_PRU1_GPO15.RGMII4_TX_CTL */
    		>;
    	};
    
    	rgmii1_pins_default: rgmii1-pins-default {
    		pinctrl-single,pins = <
    			J721E_IOPAD(0x4, PIN_INPUT, 4) /* (AC23) PRG1_PRU0_GPO0.RGMII1_RD0 */
    			J721E_IOPAD(0x8, PIN_INPUT, 4) /* (AG22) PRG1_PRU0_GPO1.RGMII1_RD1 */
    			J721E_IOPAD(0xc, PIN_INPUT, 4) /* (AF22) PRG1_PRU0_GPO2.RGMII1_RD2 */
    			J721E_IOPAD(0x10, PIN_INPUT, 4) /* (AJ23) PRG1_PRU0_GPO3.RGMII1_RD3 */
    			J721E_IOPAD(0x1c, PIN_INPUT, 4) /* (AD22) PRG1_PRU0_GPO6.RGMII1_RXC */
    			J721E_IOPAD(0x14, PIN_INPUT, 4) /* (AH23) PRG1_PRU0_GPO4.RGMII1_RX_CTL */
    			J721E_IOPAD(0x30, PIN_OUTPUT, 4) /* (AF24) PRG1_PRU0_GPO11.RGMII1_TD0 */
    			J721E_IOPAD(0x34, PIN_OUTPUT, 4) /* (AJ24) PRG1_PRU0_GPO12.RGMII1_TD1 */
    			J721E_IOPAD(0x38, PIN_OUTPUT, 4) /* (AG24) PRG1_PRU0_GPO13.RGMII1_TD2 */
    			J721E_IOPAD(0x3c, PIN_OUTPUT, 4) /* (AD24) PRG1_PRU0_GPO14.RGMII1_TD3 */
    			J721E_IOPAD(0x44, PIN_OUTPUT, 4) /* (AE24) PRG1_PRU0_GPO16.RGMII1_TXC */
    			J721E_IOPAD(0x40, PIN_OUTPUT, 4) /* (AC24) PRG1_PRU0_GPO15.RGMII1_TX_CTL */
    		>;
    	};
    



    您必须根据上面的配置、为 RMII 选择"Pin-Mux"、而为端口1和端口4选择 RGMII。 请参考 TD 和硬件原理图并相应地映射引脚多路复用器。

    此致、
    苏德黑尔

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

    => MD 0x00104044 8
    00104044:00000002 00000002 00000002 00000002 00000002 .........
    00104054:00000002 00000002 00000002 00000002 .........

    => MD 0x0c022330 1
    0c022330:00000000……

    => MD 0x0c024330 1
    0c024330: 00000000……

    => MD 0x0c025330 1
    0c025330:00000000……

    关于 RGMII 与 RMII、所有三个 PHY 都通过 RGMII 连接、即使 phy 4和5为100Mbit。 这是为了确保将来根据需要轻松更新到三个千兆位端口。

    此致、

    /波

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    请您分享以下内容的输出:
    MDIO 列表 [/报价]

    => mdio list
    ethernet@c000000port@1:
    0 - TI DP83867 <--> ethernet@c000000port@3
    4 - TI DP83822 <--> ethernet@c000000port@4
    5 - TI DP83822 <--> ethernet@c000000port@1

    您可以在上面看到我们在使用什么 PHY。 另外、MDIO 总线的命名有点难看。 我认为它不应提及 port1。

    此致、

    /波

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

    尊敬的 Bo:

    感谢您分享 MDIO 列表的输出。 这证实了我的怀疑、您正在使用的以太网 PHY 在 U-Boot 中不受支持。
    请参阅 驱动器/net/phy/ 目录的结构。
    当它有 dp83867.c 绿色 LED 驱动器、因此没有一个与 DP83867 PHY dp83822.c DP83822 PHY 的驱动程序。
    您可能必须将 Linux 移植到 dp83822.c 驱动器位于:
    https://github.com/torvalds/linux/blob/master/drivers/net/phy/dp83822.c
    至 U-Boot。

    此致、
    Siddharth。

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

    嗯、如果没有可用的特定驱动器、我原本希望通用驱动器能够发挥作用。

    我已经在 u-boot 配置中定义了 CONFIG_PHY_TI_GENERAL、完成此操作后、MDIO 列表从显示通用驱动程序更改为显示 TI DP83822。

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

    Bo,

    您可以尝试通过直接写入 PHY 寄存器来触发自协商、
    然后确认该方法是否有效。 如果确实如此、则修复程序将是将
    将 dp83822.c 驱动程序添加至 U-Boot。

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

    谢谢。

    我看到了这个帖子:

    https://e2e.ti.com/support/interface-group/interface/f/interface-forum/969671/dp83822h-enable-support-for-dp83822-eth-phy-in-u-boot

    并希望其作为名称正确的通用接口工作。

    您可以告诉我、重新触发 An 需要设置哪些寄存器吗? 如果我写入 BMCR、没有任何变化:

    => mii dump 4 0
    0. (3100) -- PHY control register --
    (8000:0000) 0.15 = 0 reset
    (4000:0000) 0.14 = 0 loopback
    (2040:2000) 0. 6,13 = b01 speed selection = 100 Mbps
    (1000:1000) 0.12 = 1 A/N enable
    (0800:0000) 0.11 = 0 power-down
    (0400:0000) 0.10 = 0 isolate
    (0200:0000) 0. 9 = 0 restart A/N
    (0100:0100) 0. 8 = 1 duplex = full
    (0080:0000) 0. 7 = 0 collision test enable
    (003f:0000) 0. 5- 0 = 0 (reserved)


    => mii dump 4 1
    1. (7849) -- PHY status register --
    (8000:0000) 1.15 = 0 100BASE-T4 able
    (4000:4000) 1.14 = 1 100BASE-X full duplex able
    (2000:2000) 1.13 = 1 100BASE-X half duplex able
    (1000:1000) 1.12 = 1 10 Mbps full duplex able
    (0800:0800) 1.11 = 1 10 Mbps half duplex able
    (0400:0000) 1.10 = 0 100BASE-T2 full duplex able
    (0200:0000) 1. 9 = 0 100BASE-T2 half duplex able
    (0100:0000) 1. 8 = 0 extended status
    (0080:0000) 1. 7 = 0 (reserved)
    (0040:0040) 1. 6 = 1 MF preamble suppression
    (0020:0000) 1. 5 = 0 A/N complete
    (0010:0000) 1. 4 = 0 remote fault
    (0008:0008) 1. 3 = 1 A/N able
    (0004:0000) 1. 2 = 0 link status
    (0002:0000) 1. 1 = 0 jabber detect
    (0001:0001) 1. 0 = 1 extended capabilities


    => mii write 4 0 0x3300
    => mii dump 4 1
    1. (7849) -- PHY status register --
    (8000:0000) 1.15 = 0 100BASE-T4 able
    (4000:4000) 1.14 = 1 100BASE-X full duplex able
    (2000:2000) 1.13 = 1 100BASE-X half duplex able
    (1000:1000) 1.12 = 1 10 Mbps full duplex able
    (0800:0800) 1.11 = 1 10 Mbps half duplex able
    (0400:0000) 1.10 = 0 100BASE-T2 full duplex able
    (0200:0000) 1. 9 = 0 100BASE-T2 half duplex able
    (0100:0000) 1. 8 = 0 extended status
    (0080:0000) 1. 7 = 0 (reserved)
    (0040:0040) 1. 6 = 1 MF preamble suppression
    (0020:0000) 1. 5 = 0 A/N complete
    (0010:0000) 1. 4 = 0 remote fault
    (0008:0008) 1. 3 = 1 A/N able
    (0004:0000) 1. 2 = 0 link status
    (0002:0000) 1. 1 = 0 jabber detect
    (0001:0001) 1. 0 = 1 extended capabilities

    此致、

    /波

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

    Bo,

    在 BMSR 寄存器中、链路状态为0。 我希望您写入的 PHY 寄存器适用于其以太网端口已连接电缆的 PHY。
    能否请您确认一下是否是这样?

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

    可以。 实际上、我在测试两个端口的过程中都会遇到问题。 无法连接、LED 不会亮起、因为它们与可正常工作的 Gbit 端口一起工作。 将电缆连接到两个100Mbit 端口中的任何一个时、根本没有任何活动迹象。

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

    你可以尝试通过写入 BMCR 寄存器的位(15)来重置 PHY、并在这之后共享 BMSR 寄存器的值吗?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您是否可以尝试通过写入 BMCR 寄存器的第(15)位来重置 PHY 并在这之后共享 BMSR 寄存器的值?

    => mii dump 4 1
    1. (7849) -- PHY status register --
    (8000:0000) 1.15 = 0 100BASE-T4 able
    (4000:4000) 1.14 = 1 100BASE-X full duplex able
    (2000:2000) 1.13 = 1 100BASE-X half duplex able
    (1000:1000) 1.12 = 1 10 Mbps full duplex able
    (0800:0800) 1.11 = 1 10 Mbps half duplex able
    (0400:0000) 1.10 = 0 100BASE-T2 full duplex able
    (0200:0000) 1. 9 = 0 100BASE-T2 half duplex able
    (0100:0000) 1. 8 = 0 extended status
    (0080:0000) 1. 7 = 0 (reserved)
    (0040:0040) 1. 6 = 1 MF preamble suppression
    (0020:0000) 1. 5 = 0 A/N complete
    (0010:0000) 1. 4 = 0 remote fault
    (0008:0008) 1. 3 = 1 A/N able
    (0004:0000) 1. 2 = 0 link status
    (0002:0000) 1. 1 = 0 jabber detect
    (0001:0001) 1. 0 = 1 extended capabilities


    => mii dump 4 0
    0. (3100) -- PHY control register --
    (8000:0000) 0.15 = 0 reset
    (4000:0000) 0.14 = 0 loopback
    (2040:2000) 0. 6,13 = b01 speed selection = 100 Mbps
    (1000:1000) 0.12 = 1 A/N enable
    (0800:0000) 0.11 = 0 power-down
    (0400:0000) 0.10 = 0 isolate
    (0200:0000) 0. 9 = 0 restart A/N
    (0100:0100) 0. 8 = 1 duplex = full
    (0080:0000) 0. 7 = 0 collision test enable
    (003f:0000) 0. 5- 0 = 0 (reserved)


    => mii write 4 0 0xb100
    => mii dump 4 1
    1. (7849) -- PHY status register --
    (8000:0000) 1.15 = 0 100BASE-T4 able
    (4000:4000) 1.14 = 1 100BASE-X full duplex able
    (2000:2000) 1.13 = 1 100BASE-X half duplex able
    (1000:1000) 1.12 = 1 10 Mbps full duplex able
    (0800:0800) 1.11 = 1 10 Mbps half duplex able
    (0400:0000) 1.10 = 0 100BASE-T2 full duplex able
    (0200:0000) 1. 9 = 0 100BASE-T2 half duplex able
    (0100:0000) 1. 8 = 0 extended status
    (0080:0000) 1. 7 = 0 (reserved)
    (0040:0040) 1. 6 = 1 MF preamble suppression
    (0020:0000) 1. 5 = 0 A/N complete
    (0010:0000) 1. 4 = 0 remote fault
    (0008:0008) 1. 3 = 1 A/N able
    (0004:0000) 1. 2 = 0 link status
    (0002:0000) 1. 1 = 0 jabber detect
    (0001:0001) 1. 0 = 1 extended capabilities

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

    设置有一些可疑之处。 有时 ETH0也不起作用、MDIO 列表会报告:

    => mdio list
    ethernet@c000000port@1:
    0 - Generic PHY <--> ethernet@c000000port@3
    4 - TI DP83822 <--> ethernet@c000000port@4
    5 - TI DP83822 <--> ethernet@c000000port@1

    是否有关于需要修整的 MDIO 通信的问题?

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

    您好!

    关于 RGMII 与 RMII,所有三个 PHY 都通过 RGMII 连接,尽管 phy 4和5为100 Mbit。

    根据上面的内容、我们了解到、所有3个端口(端口1、3、4)都通过 RGMII 接口连接到 PHY、因此您必须在"phy-mode"中使用"rgmII-rxid"配置 CPSW 端口的器件树节点、如下面所示。

    &main_cpsw0_port1 {
        status = "okay";
        phy-handle = <&main_cpsw0_phy5>;
        phy-mode = "gmii-rxid";
        mac-address = [00 00 00 00 00 00];
        phys = <&main_phy_gmii_sel 1>;
    };
    
    &main_cpsw0_port3 {
        status = "okay";
        phy-handle = <&main_cpsw0_phy0>;
        phy-mode = "rgmii-rxid";
        mac-address = [00 00 00 00 00 00];
        phys = <&main_phy_gmii_sel 3>;
    };
    
    &main_cpsw0_port4 {
        status = "okay";
        phy-handle = <&main_cpsw0_phy4>;
        phy-mode = "gmii-rxid";
        mac-address = [00 00 00 00 00 00];
        phys = <&main_phy_gmii_sel 4>;
    };
    


    您能否根据上述内容更新 CPSW MAC 端口节点并检查一次。

    此致、
    苏德黑尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您能否按照上述内容更新 CPSW MAC 端口节点并检查一次。

    我做了这件事,但它没有任何效果。

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

    您能否在器件树中共享"main_cpsw0_mdio"节点的内容?

    此致、
    Siddharth。

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

    Bo,

    我指的是"main_cpsw0_mdio"节点、其中包含 PHY 的内容:
    MAIN_cpsw0_phy0、MAIN_cpsw0_phy4和 MAIN_cpsw0_phy5。

    此致、
    Siddharth。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我指的是包含 PHY 内容的"main_cpsw0_mdio"节点:
    MAIN_cpsw0_phy0、MAIN_cpsw0_phy4和 MAIN_cpsw0_phy5

    抱歉、被误解了。 即将推出:

    &main_cpsw0_mdio {
        status = "okay";
        reset-gpios = <&main_gpio0 8 GPIO_ACTIVE_LOW
            &main_gpio0 9 GPIO_ACTIVE_LOW
            &main_gpio0 10 GPIO_ACTIVE_LOW>;
        reset-delay-us = <20>;

        main_cpsw0_phy0: ethernet-phy@0 {
            reg = <0>;
            ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
            ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
            ti,min-output-impedance;
        };
        main_cpsw0_phy4: ethernet-phy@4 {
            reg = <4>;
            ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
            ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
            ti,min-output-impedance;
        };
        main_cpsw0_phy5: ethernet-phy@5 {
            reg = <5>;
            ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
            ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
            ti,min-output-impedance;
        };
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Bo,

    DP83822 PHY 是否配置为 RMII 主运行模式或 RMII 从运行模式?
    请参阅部分 8.4.1.2简化媒体独立接口(RMII) 应用手册的以下链接:
    https://www.ti.com/lit/ds/symlink/dp83822i.pdf

    此致、
    Siddharth。

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

    所有三个 PHY 的 XI-XO 引脚都连接了25MHz 晶体、因此我想那是 RMII 主模式。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    有25MHz 晶体连接到所有三个 PHY XI-XO 引脚,因此我猜它是 RMII 主模式。

    连接到 RMII 基准时钟输入的 PHY 生成的50 MHz 基准时钟是否配置为 RMII 模式?

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

    您好!

    如果 PHY 配置为 RMII 模式、则需要同时将 CPSW 端口配置为 RMII 模式而不是 RGMII 模式。

    请重新检查 PHY 配置、并使 CPSW 端口引脚多路复用也采用相同配置。

    此致、
    苏德黑尔

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

    你现在就让我迷惑了。

    正如我已经说过的、所有三个 PHY 都在 RGMII 配置中使用4条 RX 数据线和4条 TX 数据线进行连接。 这无法更改。 如果我们需要改用三个千兆位接口、这对我们来说是面向未来的。

    这三台 PHY 都将25 MHz 晶体连接到 XIN-XOUT。 从物理数据表的第33页、在"8.4.1.3简化千兆位媒体独立接口(RGMII)"下

    此致、

    /波

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    eth0:RGMII3 - RGMII 模式下的 phy0
    ETH1:RGMII4 - RMII 模式下的 phy4
    ETH2:RGMII1 - RMII 模式下的 phy5

    Bo,

    您已指定所需的配置为 RGMII 模式下的 phy0和 RMII 模式下的 phy4、phy5。
    这不正确吗?

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

    是的、不正确。 我将100Mbit PHY 误认为是 RMII。 它们也是 RGMII。