Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jul 2015 14:03:04 -0300
From:      Luiz Otavio O Souza <lists.br@gmail.com>
To:        Mike Brown <mike@skew.org>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: cpsw0: Failed to read from PHY (on BBB w/11.0-CURRENT)
Message-ID:  <CAB=2f8wWQHTH8kxC___vwUFiZ2Qs7upFpb97cJ-hXJC5f2_eCA@mail.gmail.com>
In-Reply-To: <20150703234534.GA66208@chilled.skew.org>
References:  <20150703234534.GA66208@chilled.skew.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3 July 2015 at 20:45, Mike Brown wrote:
> I'm trying to get FreeBSD working on my BeagleBone Black rev. C.
>
> 10.1-STABLE (20150617 snapshot) wouldn't boot; it couldn't mount rootfs.
> http://pastebin.com/7dPQFGH2 is the console log if anyone cares.
>
> I asked on Freenode #freebsd-embedded and was told to try 11-CURRENT
> for now.  Well, 11-current boots, but I can't get networking going.
> ifconfig only shows the lo0 device, no cpsw0. The boot messages said:
>
> cpsw0: <3-port Switch Ethernet Subsystem> mem 0x4a100000-0x4a1007ff,0x4a101200-0x4a1012ff irq 40,41,42,43 on simplebus0
> cpsw0: CPSW SS Version 1.12 (0)
> cpsw0: Initial queue size TX=128 RX=384
> cpsw0: Failed to read from PHY.
> cpsw0: attaching PHYs failed
> device_attach: cpsw0 attach returned 6
>
> I get the same result regardless of whether an ethernet cable is plugged in.
>
> Is this expected, or is something wrong on my end?
>
> Let me know if you need any more info. Thanks!

Hi,

About the cpsw failure on -current, I've seen that before, this still
need to be tracked down.

Usually you can fix this error with a cold boot (remove the power for
a few seconds).

This happen randomly at boot (I haven't yet found a reliable way to
reproduce this).

Luiz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB=2f8wWQHTH8kxC___vwUFiZ2Qs7upFpb97cJ-hXJC5f2_eCA>