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.

请问AM5718如何将双网口改为单网口?

Other Parts Discussed in Thread: AM3358

由于项目的要求,重画了底板,底板只有一个网口eth0.基于惯性和移植AM3358改网口的经验。想要通过修改dtb去实现。但是怎么使都不好使,希望能得到贵公司相关技术支持。

感谢

  • 把dual_mac模式去掉,不用的那个网口的配置去掉。
  • 感谢您的回复和关注^_^

    &mac {

       status = "okay";

       pinctrl-names = "default", "sleep";

       pinctrl-0 = <&cpsw_pins_default>;

       pinctrl-1 = <&cpsw_pins_sleep>;

       //dual_emac;

    };

    &cpsw_emac0 {

       phy-handle= <&phy0>;

       phy-mode = "rgmii";

     //  dual_emac_res_vlan = <1>;

    };

    /* &cpsw_emac1 {

       phy-handle= <&phy1>;

       phy-mode = "rgmii";

       dual_emac_res_vlan = <2>;

    }; */

    我已经尝试这样改了…但rx=0,ifconfig up后显示eth0未挂载到slave1?……