public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ramu <ramu.h@fossilshale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot-Users] Re: Ethernet loopback command
Date: Tue, 17 Apr 2012 05:47:35 +0000 (UTC)	[thread overview]
Message-ID: <loom.20120417T074208-656@post.gmane.org> (raw)
In-Reply-To: 201204161110.17634.sr@denx.de

Stefan Roese <sr <at> denx.de> writes:

> 
> 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
> 


i have enabled the POST support in the header file by defining macro and build
the u-boot.bin. 

my doubt is whether it will support for canyalands board or not.. and how to run
the post test using "diag" command. and whether i need to configure the phy
control register to loopback mode before testing.



Thanks 
Ramappa 

  reply	other threads:[~2012-04-17  5:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-16  6:00 [U-Boot] [U-Boot-Users] Re: Ethernet loopback command Ramappa Hugar
2012-04-16  9:10 ` Stefan Roese
2012-04-17  5:47   ` Ramu [this message]
2012-04-17  6:23     ` Stefan Roese

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=loom.20120417T074208-656@post.gmane.org \
    --to=ramu.h@fossilshale.com \
    --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