* [U-Boot] Q: MII read
@ 2011-03-13 8:24 Ran Shalit
2011-03-13 10:50 ` Stefano Babic
0 siblings, 1 reply; 2+ messages in thread
From: Ran Shalit @ 2011-03-13 8:24 UTC (permalink / raw)
To: u-boot
Hello,
I would like to ask a question regarding the MII functionality :
When using mii commands (cmd_mii.c) everything works well, until trying to
do a ping (using net command).
After any ping try(with success or not), the mii read function is
stuck. Maybe it has to do with davinci mii implementation, but I am not
sure if this is the problem or not.
Any advice is welcomed.
Regards,
Ran
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] Q: MII read
2011-03-13 8:24 [U-Boot] Q: MII read Ran Shalit
@ 2011-03-13 10:50 ` Stefano Babic
0 siblings, 0 replies; 2+ messages in thread
From: Stefano Babic @ 2011-03-13 10:50 UTC (permalink / raw)
To: u-boot
On 03/13/2011 09:24 AM, Ran Shalit wrote:
> Hello,
>
Hi Ran,
> I would like to ask a question regarding the MII functionality :
> When using mii commands (cmd_mii.c) everything works well, until trying to
> do a ping (using net command).
> After any ping try(with success or not), the mii read function is
> stuck. Maybe it has to do with davinci mii implementation, but I am not
> sure if this is the problem or not.
> Any advice is welcomed.
I think this is not a general issue, as with other processors/boards
everything works fine. However, after using a net command, the dev->halt
callback is called, and this could disable the phy.
If you are using the davinci_emac driver, take a look at the
davinci_eth_close() function. It can be that when the controller is
turned off, you cannot access to the phy anymore.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-13 10:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-13 8:24 [U-Boot] Q: MII read Ran Shalit
2011-03-13 10:50 ` Stefano Babic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox