From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot-Users] Re: Ethernet loopback command
Date: Mon, 16 Apr 2012 11:10:17 +0200 [thread overview]
Message-ID: <201204161110.17634.sr@denx.de> (raw)
In-Reply-To: <4F8BB58A.5080703@fossilshale.com>
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
next prev parent reply other threads:[~2012-04-16 9:10 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 [this message]
2012-04-17 5:47 ` Ramu
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=201204161110.17634.sr@denx.de \
--to=sr@denx.de \
--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