MAC#2 RGMII mode can't ping other IP address on AST2500

xiuzhi 1450335857 at qq.com
Wed Sep 26 17:21:38 AEST 2018


Hi Andrew,

On Wed, 26 Sep 2018, at 11:47, xiuzhi wrote:
>> Hi All,
>>    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. 
>> The .dts file is:
>>  
>> &mac1 {
>> 
>>         status = "okay";
>> 
>>         pinctrl-names = "default";
>> 
>>         pinctrl-0 = <&pinctrl_rgmii2_default>;
>> 
>> };
>> 
>> The kernel boot info:
>> 
>> [    3.747357] ftgmac100 1e680000.ethernet: Error applying setting, 
>> reverse things back

>The failure to apply the pinctrl configuration isn't going to help. Can you >please open an issue on GitHub, provide the full dmesg output and point >to the kernel tree and configuration you are building?
I  created a new issue No 3388:  https://github.com/openbmc/openbmc/issues/3388


Xiuzhi
>Thanks,

>Andrew

> 
>> [    3.755351] ftgmac100 1e680000.ethernet: Generated random MAC address 
>> 6a:ba:31:cd:e3:32
>> 
>> [    3.771891] libphy: ftgmac100_mdio: probed
>> 
>> [    3.776178] Generic PHY 1e680000.ethernet--1:00: attached PHY driver 
>> [Generic PHY] (mii_bus:phy_addr=1e680000.ethernet--1:00, irq=POLL)
>> 
>> [    3.799636] ftgmac100 1e680000.ethernet eth0: irq 19, mapped at 5ae85020
>> 
>> ... ...
>> 
>> [  OK  ] Found device /dev/aspeed-lpc-ctrl.
>> 
>> [  OK     17.494678] ftgmac100 1e680000.ethernet eth0: Link is Up - 
>> 100Mbps/Full - flow control rx/tx
>> 
>> m] Created slice[   17.503871] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link 
>> becomes ready
>> 
>>  system-xyz.openbmc_project.led.controller.slice.
>> 
>>          Starting Network Name Resolution...
>> 
>> [  OK  ] Reached target System Time Synchronized.
>> 
>> ......
>> 
>> The values of register SCU0C and SCU70 are correct, the values are:
>> 
>> #devmem 0x1e6e200C
>> 
>> 0xFFDD7A8B,  the bit 21 is 0(MAC#2 enable clock running) ,the bit 20 is 1
>> 
>> #dev mem 0x1e6e2070
>> 
>> 0xF109F296 , the bit 7 is 1 (RGMII),the bit6 is 0
>> 
>> 
>> 
>> 
>> Execting the command "ifconfig eth0 up" log is:
>> 
>> root at romulus:~# ifconfig eth0 up  
>> 
>> [  274.978358] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
>> 
>> root at romulus:~# [  274.986878] ftgmac100 1e680000.ethernet eth0: Link is 
>> Up - 100Mbps/Full - flow control rx/tx
>> 
>> [  274.995944] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready 
>> 
>> My bmc ip is 192.168.120.141, it can't ping other IPs.
>> 
>> I also set the gateway. route add default gw 192.168.120.254.
>> I trace the error  "ftgmac100 1e680000.ethernet: Error applying setting, 
>> reverse things back" in file drivers/pinctrl/core.c  
>> L1206 
>> list_for_each_entry(setting, &stte->settings,node)
>> switch(setting->type?{
>> case PIN_MAP_TYPE_MUX_GROUP
>>       ret = pinmux_enable_setting(setting); 
>> }
>> the ret value is -1 
>> My kernel version is 4.17.14. The other kernel versions reproduce the 
>> same error.
>> What is wrong with it?
>> 
>> 
>> Xiuzhi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20180926/2834d272/attachment.html>


More information about the openbmc mailing list