[U-Boot] [U-Boot-Users] Re: Ethernet loopback command
Ramu
ramu.h at fossilshale.com
Tue Apr 17 07:47:35 CEST 2012
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
More information about the U-Boot
mailing list