eth1 can not work when eth0 is down

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

eth1 can not work when eth0 is down

758 次查看
zhipengxie
Contributor II

I have found that some issues in the imx6ul platform,please see below:

1. ifconfig eth0 192.168.1.164 up  <ok>

    ifconfig eth1 192.168.1.149 up  <ok>

2. Plug into eth0,ping 192.168.1.1 <ok>

3. Plug into eth1,ping 192.168.1.1 <ok>

4. Plug into eth1,if I exec the cmd “ifconfig eth0 down”,it will prompt “fec 2188000.ethnet eth1: Link is Down”,and 

    ping 192.168.1.1 is failed

The following is my dts config:

&fec1 {

    pinctrl-name = “default”;

    pinctrl-0 = <&pinctrl_enet1>;

    phy-mode = "rmii";

    phy-handle = <&ethphy0>;

    status = "okay";

}

&fec2 {

    pinctrl-name = “default”;

    pinctrl-0 = <&pinctrl_enet2>;

    phy-mode = "rmii";

    phy-handle = <&ethphy1>;

    status = "okay";

   

    mdio {

        #address-cells = <1>;

        #size-cells = <0>;

        ethphy0: ethernet-phy@1 {

            compatible = "ethernet-phy-ieee802.3-c22";

            reg = <1>;

        }

        ethphy1: ethernet-phy@5 {

            compatible = "ethernet-phy-ieee802.3-c22";

            reg = <5>;

        }

    }

}

Hope for your support, thanks.

标签 (1)
标记 (1)
0 项奖励
1 回复

470 次查看
BiyongSUN
NXP Employee
NXP Employee

We have tested on the i.MX6UL evk board, didn't find any issue.

Please check the below test result.

You'd better to check the hardware to confirm the phy address.

Untitled.png