From: Michael Trimarchi Date: Fri, 22 Feb 2008 14:07:29 +0000 (GMT) Subject: [U-Boot-Users] [PATCH] Add support for Generic PHY in macb Message-ID: <792469.2211.qm@web26215.mail.ukl.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, ----- Messaggio originale ----- > Da: Haavard Skinnemoen > A: Michael Trimarchi > Cc: michael ; u-boot-users at lists.sourceforge.net > Inviato: Venerd? 22 febbraio 2008, 13:52:09 > Oggetto: Re: [U-Boot-Users] [PATCH] Add support for Generic PHY in macb > > On Fri, 22 Feb 2008 12:27:48 +0000 (GMT) > Michael Trimarchi wrote: > > > When I read to my id u-boot report 0xffff and fail, but > > the device works pretty well skipping this testing. > > If I remember linux report the same issue. > > Is the MII address of your PHY set correctly? > > All MII-capable PHYs should have a working PHYSID1 register. If it > doesn't, something is broken. > > So I think the CONFIG_GENERIC_PHY name is misleading -- the test is > generic enough as is. CONFIG_BROKEN_PHY would be better, if there's > really no way to get your PHY to behave. > > But note that if MDIO communication isn't working, autonegotiation > won't work, and the speed and duplex settings will most likely be > wrong. So I don't think simply #ifdefing out that sanity check is > really going to solve any problems. > > Haavard > Yes I know but this is the situation: - dm9161a - at91sam9260 When I try to read at phy id it reports 0xffff and linux too. I suppose that can be related to a broken phy. But seems to be broken on this read. I think that you have more experience, do you have an idea? Regards Michael ___________________________________ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html