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.

66AK2H12 uboot 修改设备树



根据EVM的design参考,硬件把网络PHY 直接了 地址0,地址1没接,这样的设计如何修改UBoot的设备树。 

  • 您可以参考k2hk-evm.dts设备树,把ethphy1注释掉。
    &mdio {
    status = "ok";
    ethphy0: ethernet-phy@0 {
    compatible = "marvell,88E1111", "ethernet-phy-ieee802.3-c22";
    reg = <0>;
    };

    ethphy1: ethernet-phy@1 {
    compatible = "marvell,88E1111", "ethernet-phy-ieee802.3-c22";
    reg = <1>;
    };
    };
  • 您好,我按照您的方法注释掉了结果编译不过去,报错如下。

    arch/arm/dts/keystone-k2hk-evm.dtb: ERROR (phandle_references): /soc/netcp@2000000/netcp-devices/gbe@90000/interfaces/interface-1: Reference to non-existent node or label "ethphy1"

    ERROR: Input tree has errors, aborting (use -f to force output)

    scripts/Makefile.lib:314: recipe for target 'arch/arm/dts/keystone-k2hk-evm.dtb' failed

    make[2]: *** [arch/arm/dts/keystone-k2hk-evm.dtb] Error 2