eth1 can not work when eth0 is down

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

eth1 can not work when eth0 is down

1,763件の閲覧回数
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 返信

1,475件の閲覧回数
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