From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot-Users] Re: Ethernet loopback command
Date: Tue, 17 Apr 2012 08:23:34 +0200 [thread overview]
Message-ID: <201204170823.34956.sr@denx.de> (raw)
In-Reply-To: <loom.20120417T074208-656@post.gmane.org>
On Tuesday 17 April 2012 07:47:35 Ramu wrote:
> > 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..
Not sure. Might be that this driver needs minimal changes for 460EX. But
chances are good that it works out-of-the-box for 460EX/GX too.
> and how
> to run the post test using "diag" command.
Help (?) is your fried. Use "log show" to display the results of the POST
tests. And "diag run ethernet" to re-run this test.
> and whether i need to configure
> the phy control register to loopback mode before testing.
No. No need to change PHY registers. The loopback is configured in the PPC4xx
MAC.
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
prev parent reply other threads:[~2012-04-17 6:23 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
2012-04-17 6:23 ` Stefan Roese [this message]
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=201204170823.34956.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