public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [REGRESSION: PATCH 34/34] drivers/net/fec: phy_init: remove redundant logic
Date: Thu, 28 Mar 2019 11:47:34 +0100	[thread overview]
Message-ID: <20190328114734.19379b0f@jawa> (raw)
In-Reply-To: <20190325231321.4c136b27@jawa>

Dear Tom, Marcel, Stefano

> Hi Marcel,
> 
> > Hi Stefano
> > 
> > On Wed, 2019-03-13 at 08:28 +0000, sbabic at denx.de wrote:  
> > > > The phy_connect_dev(...) function from phy.c does all the
> > > > handling (inclusive catching fixed-link).
> > > > So we drop here the single steps and call just
> > > > phy_connect_dev(...).
> > > > Signed-off-by: Hannes Schmelzer
> > > > <hannes.schmelzer@br-automation.com    
> > > > >    
> > > > Acked-by: Joe Hershberger <joe.hershberger@ni.com>    
> > > 
> > > Applied to u-boot-imx, master, thanks !
> > > 
> > > Best regards,
> > > Stefano Babic    
> > 
> > Unfortunately, this commit broke Ethernet on the Vybrid. When
> > re-basing my Colibri VF50/VF61 clean-up patch set ("colibri vybrid
> > fixes, device tree enablement and driver model conversion") I
> > noticed that Ethernet no longer works giving the following error
> > messages:
> > 
> > Net:   Could not get PHY for FEC0: addr -19
> > eth-1: fec at 400d1000
> > Colibri VFxx # dhcp
> > Could not get PHY for FEC0: addr -19
> > Could not get PHY for FEC0: addr -19
> > Could not get PHY for FEC0: addr -19
> > Could not get PHY for FEC0: addr -19
> > No ethernet found.
> > Could not get PHY for FEC0: addr -19
> > Colibri VFxx # 
> > 
> > Bisecting points to this commit and reverting it indeed makes it
> > work again.
> > 
> > Has anybody else seen a similar issue (e.g. @Lukasz on pcm052)?  
> 
> I did not checked yet - as I was waiting for the code to settle down
> to mainline (after the v2019.04 u-boot release).
> 
> I will check it on bk4.

Maybe not on BK4, but surely on (HSC):
CPU:   Freescale i.MX53 rev2.1 at 800 MHz

=> dhcp
Could not get PHY for FEC0: addr -19
Could not get PHY for FEC0: addr -19
Could not get PHY for FEC0: addr -19
Could not get PHY for FEC0: addr -19
No ethernet found.
Could not get PHY for FEC0: addr -19

I can confirm the error.

So I do expect that we have some more IMX boards broken (imx53, vybrid).

I think that it would be best to revert this patch before v2019.04
release and look for clean up opportunities afterwards.



> 
> > 
> > Cheers
> > 
> > Marcel  
> 
> 
> 
> 
> Best regards,
> 
> Lukasz Majewski
> 
> --
> 
> DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email:
> lukma at denx.de




Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190328/38c557e0/attachment.sig>

  reply	other threads:[~2019-03-28 10:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-13  8:28 [U-Boot] [PATCH 34/34] drivers/net/fec: phy_init: remove redundant logic sbabic at denx.de
2019-03-25 16:07 ` [U-Boot] [REGRESSION: PATCH " Marcel Ziswiler
2019-03-25 22:13   ` Lukasz Majewski
2019-03-28 10:47     ` Lukasz Majewski [this message]
2019-03-28 11:04       ` [U-Boot] Antwort: " Hannes Schmelzer
2019-03-26  9:02   ` [U-Boot] " Hannes Schmelzer
2019-03-26  9:15   ` Hannes Schmelzer
2019-03-26 10:34     ` Marcel Ziswiler
     [not found]       ` <a15ae90f-044f-e3d7-97d4-e80f00c8f713@schmelzer.or.at>
     [not found]         ` <a1322b72c77a87656157799dd1f48600cbb36c55.camel@toradex.com>
     [not found]           ` <697EBFC1-D953-45F7-A781-732BB79AD510@schmelzer.or.at>
     [not found]             ` <371b0c7b1f460192931715bbb1479174f0d13389.camel@toradex.com>
2019-03-27 13:21               ` Hannes Schmelzer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190328114734.19379b0f@jawa \
    --to=lukma@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox