2014-10-07 12:10:22

by Pavel Machek

[permalink] [raw]
Subject: socfpga ethernet problems with ethernet in 3.17 with u-boot-2013.01.01

Hi!

After some testing:

u-boot-2013.01.01 + linux-3.17 => ethernet does not work
(unless ethernet is used in u-boot, for example
using ping)
u-boot-marex-20140920a + linux-3.17 => working ethernet

One of our guesses is that maybe we don't pull ethernet out of reset
in the first case?

Best regards,

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


2014-10-07 15:55:07

by Dinh Nguyen

[permalink] [raw]
Subject: Re: socfpga ethernet problems with ethernet in 3.17 with u-boot-2013.01.01

On 10/07/2014 07:10 AM, Pavel Machek wrote:
> Hi!
>
> After some testing:
>
> u-boot-2013.01.01 + linux-3.17 => ethernet does not work
> (unless ethernet is used in u-boot, for example
> using ping)
> u-boot-marex-20140920a + linux-3.17 => working ethernet
>
> One of our guesses is that maybe we don't pull ethernet out of reset
> in the first case?
>

v3.17 has the reset driver framework that the stmmac driver uses to
deassert the reset.

Dinh