Hi All,<br>   My hardware set AST2500 MAC#2  on RGMII mode. the device is Broadcom BCM54612, The PHY and control is good . But it can not ping other IP. <div>The .dts file is:</div><div>
<p style="margin-bottom: 0in; line-height: 100%">&mac1 {</p><p style="margin-bottom: 0in; line-height: 100%">        status = "okay";</p><p style="margin-bottom: 0in; line-height: 100%">        pinctrl-names = "default";</p><p style="margin-bottom: 0in; line-height: 100%">        pinctrl-0 = <&pinctrl_rgmii2_default>;</p><p style="margin-bottom: 0in; line-height: 100%">};</p><p style="margin-bottom: 0in; line-height: 100%">The kernel boot info:</p><p style="margin-bottom: 0in; line-height: 100%">[    3.747357] ftgmac100 1e680000.ethernet: Error applying setting, reverse things back</p><p style="margin-bottom: 0in; line-height: 100%">[    3.755351] ftgmac100 1e680000.ethernet: Generated random MAC address 6a:ba:31:cd:e3:32</p><p style="margin-bottom: 0in; line-height: 100%">[    3.771891] libphy: ftgmac100_mdio: probed</p><p style="margin-bottom: 0in; line-height: 100%">[    3.776178] Generic PHY 1e680000.ethernet--1:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=1e680000.ethernet--1:00, irq=POLL)</p><p style="margin-bottom: 0in; line-height: 100%">[    3.799636] ftgmac100 1e680000.ethernet eth0: irq 19, mapped at 5ae85020</p><p style="margin-bottom: 0in; line-height: 100%">... ...</p><p style="margin-bottom: 0in; line-height: 100%">[  OK  ] Found device /dev/aspeed-lpc-ctrl.</p><p style="margin-bottom: 0in; line-height: 100%">[  OK     17.494678] ftgmac100 1e680000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx</p><p style="margin-bottom: 0in; line-height: 100%">m] Created slice[   17.503871] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready</p><p style="margin-bottom: 0in; line-height: 100%"> system-xyz.openbmc_project.led.controller.slice.</p><p style="margin-bottom: 0in; line-height: 100%">         Starting Network Name Resolution...</p><p style="margin-bottom: 0in; line-height: 100%">[  OK  ] Reached target System Time Synchronized.</p><p style="margin-bottom: 0in; line-height: 100%">......</p><p style="margin-bottom: 0in; line-height: 100%">The values of register SCU0C and SCU70 are correct, the values are:</p><p style="margin-bottom: 0in; line-height: 100%">#devmem 0x1e6e200C</p><p style="margin-bottom: 0in; line-height: 100%">0xFFDD7A8B,  the bit 21 is 0(MAC#2 enable clock running) ,the bit 20 is 1</p><p style="margin-bottom: 0in; line-height: 100%">#dev mem 0x1e6e2070</p><p style="margin-bottom: 0in; line-height: 100%">0xF109F296 , the bit 7 is 1 (RGMII),the bit6 is 0</p><p style="margin-bottom: 0in; line-height: 100%"><br></p><p style="margin-bottom: 0in; line-height: 100%">Execting the command "ifconfig eth0 up" log is:</p><p style="margin-bottom: 0in; line-height: 100%">root@romulus:~# ifconfig eth0 up  </p><p style="margin-bottom: 0in; line-height: 100%">[  274.978358] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready</p><p style="margin-bottom: 0in; line-height: 100%">root@romulus:~# [  274.986878] ftgmac100 1e680000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx</p><p style="margin-bottom: 0in; line-height: 100%">[  274.995944] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready </p><p style="margin-bottom: 0in; line-height: 100%">My bmc ip is 192.168.120.141, it can't ping other IPs.</p><p style="margin-bottom: 0in; line-height: 100%">I also set the gateway. route add default gw 192.168.120.254.</p>I trace the error  "ftgmac100 1e680000.ethernet: Error applying setting, reverse things back" in file drivers/pinctrl/core.c  </div><div>L1206 </div><div>list_for_each_entry(setting, &stte->settings,node)</div><div>switch(setting->typeŁ©{</div><div>case PIN_MAP_TYPE_MUX_GROUP</div><div>      ret = pinmux_enable_setting(setting); </div><div>}</div><div>the ret value is -1 </div><div>My kernel version is 4.17.14. The other kernel versions reproduce the same error.</div><div>What is wrong with it?</div><div><br></div><div>Xiuzhi</div><style type="text/css">
        <!--
                @page { margin: 0.79in }
                p { margin-bottom: 0.1in; direction: ltr; line-height: 120%; text-align: justify; widows: 0; orphans: 0 }
        -->
        </style>