Re: [U-Boot] iMX8QXP MEK: no ethernet

2019-03-01 Thread Andrejs Cainikovs
On 01/03/2019 14:00, Anatolij Gustschin wrote: > Hi all, > > On Fri, 1 Mar 2019 13:36:17 +0100 > Stefano Babic sba...@denx.de wrote: >> >> Right, I think this is a way to do. > > yes, this is much better than ifdef. I'd suggest using 'phy-reset-post-delay' > property instead of 'phy-reset-wait'.

Re: [U-Boot] iMX8QXP MEK: no ethernet

2019-03-01 Thread Anatolij Gustschin
Hi all, On Fri, 1 Mar 2019 13:36:17 +0100 Stefano Babic sba...@denx.de wrote: ... > > Nope, didn't worked. This parameter is a pulse width of a reset, but the > > issue is about having a delay *after* reset. However, introducing a new > > `phy-reset-wait` is a reasonable option. > > Right, I

Re: [U-Boot] iMX8QXP MEK: no ethernet

2019-03-01 Thread Stefano Babic
On 01/03/19 13:30, Andrejs Cainikovs wrote: > Hi Stefano, > > On 01/03/2019 12:19, Stefano Babic wrote: >> >> What about to change this in DT ? >> >> diff --git a/arch/arm/dts/fsl-imx8qxp-mek.dts >> b/arch/arm/dts/fsl-imx8qxp-mek.dts >> index 41f7ec1763..b6c4593334 100644 >> --- a/arch/arm/dts/fsl

Re: [U-Boot] iMX8QXP MEK: no ethernet

2019-03-01 Thread Andrejs Cainikovs
Hi Stefano, On 01/03/2019 12:19, Stefano Babic wrote: > > What about to change this in DT ? > > diff --git a/arch/arm/dts/fsl-imx8qxp-mek.dts > b/arch/arm/dts/fsl-imx8qxp-mek.dts > index 41f7ec1763..b6c4593334 100644 > --- a/arch/arm/dts/fsl-imx8qxp-mek.dts > +++ b/arch/arm/dts/fsl-imx8qxp-mek.d

Re: [U-Boot] iMX8QXP MEK: no ethernet

2019-03-01 Thread Anatolij Gustschin
Hi Stefano, On Fri, 1 Mar 2019 12:19:41 +0100 Stefano Babic sba...@denx.de wrote: ... > What about to change this in DT ? > > diff --git a/arch/arm/dts/fsl-imx8qxp-mek.dts > b/arch/arm/dts/fsl-imx8qxp-mek.dts > index 41f7ec1763..b6c4593334 100644 > --- a/arch/arm/dts/fsl-imx8qxp-mek.dts > +++ b/a

Re: [U-Boot] iMX8QXP MEK: no ethernet

2019-03-01 Thread Stefano Babic
On 01/03/19 11:05, Anatolij Gustschin wrote: > Hi, > > On Fri, 1 Mar 2019 09:50:06 + > Andrejs Cainikovs andrejs.cainik...@netmodule.com wrote: > ... >> Thanks a lot! It works now. > > Great, thanks for testing! I don't like the patch however and I'm still > not sure how we should fix it in a

Re: [U-Boot] iMX8QXP MEK: no ethernet

2019-03-01 Thread Anatolij Gustschin
Hi, On Fri, 1 Mar 2019 09:50:06 + Andrejs Cainikovs andrejs.cainik...@netmodule.com wrote: ... > Thanks a lot! It works now. Great, thanks for testing! I don't like the patch however and I'm still not sure how we should fix it in a proper way for upcoming release. Unfortunately, currently I d

Re: [U-Boot] iMX8QXP MEK: no ethernet

2019-03-01 Thread Andrejs Cainikovs
Hi, On 28/02/2019 23:45, Anatolij Gustschin wrote: > >> I cant get ethernet to work on iMX8QXP MEK board with latest sources >> (tried v2019.01 as well). Is this a bug or work in progress? > > This is probably due to the missing delay after PHY reset in fec_gpio_reset(). > > Please try with att

Re: [U-Boot] iMX8QXP MEK: no ethernet

2019-02-28 Thread Anatolij Gustschin
Hi, On Thu, 28 Feb 2019 12:27:45 + Andrejs Cainikovs andrejs.cainik...@netmodule.com wrote: > Hi, > > I cant get ethernet to work on iMX8QXP MEK board with latest sources > (tried v2019.01 as well). Is this a bug or work in progress? This is probably due to the missing delay after PHY rese

[U-Boot] iMX8QXP MEK: no ethernet

2019-02-28 Thread Andrejs Cainikovs
Hi, I cant get ethernet to work on iMX8QXP MEK board with latest sources (tried v2019.01 as well). Is this a bug or work in progress? --- U-Boot SPL 2019.04-rc2-00134-g783e66816d (Feb 28 2019 - 13:15:40 +0100) Normal Boot Trying to boot from MMC2_2 U-Boot 2019.04-rc2-00134-g783e66816d (Feb 28