Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    全志T113-i 使用RTL8211F-CG 速度只能跑在百兆的样子,而且还有RX 错误,这个是啥原因啊

    T Series
    1
    1
    375
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      z2500abc LV 5 last edited by xiaowenge

      使用的是内核中原生的 realtek.c 文件。
      而且在设备树中无论怎么去调 tx-delay 与 rx-delay的值,都工作不了在千兆。
      以下是设备树配置:

      &gmac0 {
      	pinctrl-0 = <&gmac0_pins_a>;
      	pinctrl-1 = <&gmac0_pins_b>;
      	pinctrl-names = "default", "sleep";
      	phy-mode = "rgmii";
      	use_ephy25m = <0>;
      	tx-delay = <1>;  /*1 2  2  3 */
      	rx-delay = <2>;  /*1 1  2  2 */
      	phy-rst = <&pio PE 7 GPIO_ACTIVE_HIGH>;
      	status = "okay";
      };
      
      这是使用ifconfig 后的信息:
      

      ifconfig
      eth0 Link encap:Ethernet HWaddr 3E:9D:03:1F:12:B7
      inet addr:192.168.1.79 Bcast:192.168.1.255 Mask:255.255.255.0
      inet6 addr: fe80::9463:be0:f7c6:c1a1/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:231 errors:5 dropped:5 overruns:0 frame:0
      TX packets:121 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:19410 (18.9 KiB) TX bytes:10973 (10.7 KiB)
      Interrupt:37

      1 Reply Last reply Reply Quote Share 0
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策