From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Mon, 16 Apr 2012 11:10:17 +0200 Subject: [U-Boot] [U-Boot-Users] Re: Ethernet loopback command In-Reply-To: <4F8BB58A.5080703@fossilshale.com> References: <4F8BB58A.5080703@fossilshale.com> Message-ID: <201204161110.17634.sr@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 Monday 16 April 2012 08:00:42 Ramappa Hugar wrote: > I'm testing the ethernet loopback test on POWERPC 460EX canyonlands > Board. I'm making the ethernet loopback mode by programming the phy > control register.(mii w 0 0 5140) > > Then i'm running the ethtool command. "ethtool" command? This is not part of U-Boot. > But it is showing "loopback test > failed". I have gone through the code whatever i have patched, as per my > understanding it is correct. > > can any one suggest me correct solution for this..! > or > if u know the another ethernet loopback test method kindly suggest me..! I suggest that you take a look at the POST (Power On Self Test) framework. It has support for ethernet loopback test for PPC4xx. E.g. board sequoia. Look for CONFIG_SYS_POST_ETHER and take a look at the following file: post/cpu/ppc4xx/ether.c Thanks, Stefan -- 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