From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Sun, 13 Mar 2011 11:50:07 +0100 Subject: [U-Boot] Q: MII read In-Reply-To: References: Message-ID: <4D7CA15F.5050805@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 =====================================================================