i am use kernel 4.1.15 for imx6dl, the pin config :
pinctrl_enet: enetgrp {
fsl,pins = <
MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b0b0
MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b0b0
MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b0b0
MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b0b0
MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b0b0
MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b0b0
MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b0b0
MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b0b0
MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b0b0
MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b0b0
MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b0b0
MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0
MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8
>;
};
when i ping host, it loss packages:
64 bytes from 192.168.1.111: seq=168 ttl=64 time=0.382 ms
64 bytes from 192.168.1.111: seq=170 ttl=64 time=0.492 ms
64 bytes from 192.168.1.111: seq=172 ttl=64 time=0.407 ms
64 bytes from 192.168.1.111: seq=174 ttl=64 time=0.879 ms
64 bytes from 192.168.1.111: seq=175 ttl=64 time=0.379 ms
64 bytes from 192.168.1.111: seq=177 ttl=64 time=0.369 ms
64 bytes from 192.168.1.111: seq=179 ttl=64 time=0.423 ms
64 bytes from 192.168.1.111: seq=180 ttl=64 time=0.416 ms
64 bytes from 192.168.1.111: seq=182 ttl=64 time=0.865 ms
--- 192.168.1.111 ping statistics ---
183 packets transmitted, 68 packets received, 62% packet loss
round-trip min/avg/max = 0.351/0.498/1.686 ms
local ip address is 192.168.1.110, Where is the problem?
Hi Luo
please try suggestions provided on
i.MX6 Gigabit Ethernet - Boundary Devices
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
i have been add "enable_wait_mode=off", but it not works ....
please recheck rgmii timings given in Table 60. RGMII Signal Switching
Specifications i.MX6SDL Datasheet
http://www.nxp.com/docs/en/data-sheet/IMX6SDLCEC.pdf
~igor