From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Riotboard FEC broken
Date: Thu, 5 Nov 2015 14:49:42 +0100 [thread overview]
Message-ID: <563B5E76.4080604@denx.de> (raw)
In-Reply-To: <CAOMZO5AF8aRSc30Bi919G03o1i4X9Q4=Uygrfj0E-W6R57jCjA@mail.gmail.com>
Hi Catalin, Hi Fabio,
On 05.11.2015 14:04, Fabio Estevam wrote:
> On Thu, Nov 5, 2015 at 9:10 AM, Catalin Crenguta
> <catalin.crenguta@gmail.com> wrote:
>> Hello,
>>
>> I have ran git bisect commit and found out that commit
>> 59370f3fcd135089c402c93720a87c688abe600c breaks FEC on Riotboard.
>> Reverting this change makes it working again.
>
> I can confirm this. Thanks for running git bisect and reporting it.
>
> Adding J?rg and Joe on Cc.
I've just checked the Riotboard code for PHY reset handling. And
found this:
static void setup_iomux_enet(void)
{
imx_iomux_v3_setup_multiple_pads(enet_pads, ARRAY_SIZE(enet_pads));
/* Reset AR8035 PHY */
gpio_direction_output(IMX_GPIO_NR(3, 31) , 0);
mdelay(2);
gpio_set_value(IMX_GPIO_NR(3, 31), 1);
}
If this PHY needs a delay after deasserting the reset here, then you
should add it in this function (please check the manual for the exact
value). This just used to work before commit
59370f3fcd135089c402c93720a87c688abe600c since you were lucky that
this 15ms delay was added in phy_find_by_mask(). Now its gone and
your PHY is still not out of reset, triggered in setup_iomux_enet().
Thanks,
Stefan
next prev parent reply other threads:[~2015-11-05 13:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-05 11:10 [U-Boot] Riotboard FEC broken Catalin Crenguta
2015-11-05 13:04 ` Fabio Estevam
2015-11-05 13:49 ` Stefan Roese [this message]
2015-11-23 18:20 ` Fabio Estevam
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=563B5E76.4080604@denx.de \
--to=sr@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