[AST2500]The eth0 interface can not work

Andrew Jeffery andrew at aj.id.au
Thu Sep 26 22:42:11 AEST 2019


Hi Zheng,

On Thu, 26 Sep 2019, at 20:19, Zheng Bao wrote:
>  
> The whole dmesg is here.
> 
> root at s2600wf:~# dmesg
> [ 0.000000] Booting Linux on physical CPU 0x0
> [ 0.000000] Linux version 5.2.14-9f4f5ff (oe-user at oe-host) (gcc version 

*snip*

> [ 2.465681] aspeed-smc 1e630000.spi: Using 50 MHz SPI frequency
> [ 2.471803] aspeed-smc 1e630000.spi: unrecognized JEDEC id bytes: 00 00 
> 00 00 00 00
> [ 2.479490] aspeed-smc 1e630000.spi: Aspeed SMC probe failed -2
> [ 2.490339] aspeed-smc: probe of 1e630000.spi failed with error -2
> [ 2.498232] libphy: Fixed MDIO Bus: probed
> [ 2.503372] ftgmac100 1e660000.ethernet: Error applying setting, 
> reverse things back

Your pinmux request for MAC1 failed. What does your devicetree look like?

Building a kernel with CONFIG_DEBUG_PINCTRL=y might help.

> [ 2.511509] ftgmac100 1e660000.ethernet: Generated random MAC address 
> 52:47:da:92:a3:e6
> [ 2.519554] ftgmac100 1e660000.ethernet: Using NCSI interface
> [ 2.526596] ftgmac100 1e660000.ethernet eth0: irq 19, mapped at e846443e
> [ 2.533818] ftgmac100 1e680000.ethernet: Error applying setting, 
> reverse things back

Same issue here

> [ 2.541937] ftgmac100 1e680000.ethernet: Generated random MAC address 
> 0a:4f:a7:ea:22:b3
> [ 2.556726] libphy: ftgmac100_mdio: probed
> [ 2.560953] ftgmac100 1e680000.ethernet (unnamed net_device) 
> (uninitialized): eth%d: no PHY found
> [ 2.569918] ftgmac100 1e680000.ethernet: MII Probe failed!

This kind of failure isn't entirely surprising in light of the above.

> 
> *From:* openbmc <openbmc-bounces+fishbaoz=hotmail.com at lists.ozlabs.org> 
> on behalf of Zheng Bao <fishbaoz at hotmail.com>
> *Sent:* Thursday, September 26, 2019 10:47 AM
> *To:* OpenBMC Maillist <openbmc at lists.ozlabs.org>
> *Subject:* [AST2500]The eth0 interface can not work 
> [ 15.634717] 8021q: adding VLAN 0 to HW filter on device eth0
> [ 32.249877] ftgmac100 1e660000.ethernet eth0: NCSI: No channel found 
> to configure!
> [ 33.289813] ftgmac100 1e660000.ethernet eth0: Wrong NCSI state 0x100 
> in workqueue
> 
>  I tried to use the network on AST2500. Everything seems to be good and 
> I can use ping and webui,
>  until I rebuilt an image.
>  The part of dmesg is above. I can not trace back to a working image.  

Are you building the right image for your hardware? What platform are
you trying your build on? Is it actually an s2600wf? What source tree
are you building from? Beware that Intel have an OpenBMC fork that
contains patches that they haven't yet got merged into upstream
OpenBMC that may provide better support for their platforms:

https://lists.ozlabs.org/pipermail/openbmc/2019-September/018488.html

Andrew


More information about the openbmc mailing list