[U-Boot-Users] RE: Ethernet loopback command

Wolfgang Denk wd at denx.de
Tue Mar 8 20:37:42 CET 2005


In message <D9F0B2AD4531B0449D51C1F09199D484081F2A at mail.kom-saarbruecken.com> you wrote:
>
> I actually planned to introduce a FE loopback test in the POST
> framework. But the functions provided seemed to be necessary, because
> generation and receipt of packets is basic for loopback tests.

See the existing ethernet lopback code (post/ether.c)

> The PROT_IP part of the NetReceive function examines the complete IP
> header which is not necessary here. I introduced that packet type to

But it doesn't hurt either, or does it?

> You would need a station responding to the ping, which would be
> difficult during POST. With improved packet generation (large packets,
> Mbytes of data), stressing the FE subsystem could be achieved.

I disagree. Having a remote station to  answer  is  actually  a  good
idea,  as  you know at least that the packets are standard, i. e. for
example that the header fields are in correct byte  orders,  etc.  If
you're  looking  for  throughout  tests,  you can do this much better
using a remote side, too.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Roses are red
Violets are blue
Some poems rhyme




More information about the U-Boot mailing list