[U-Boot] Fw: TFTP fails when using network switch

Ulf Samuelsson
2009-01-06T22:52:51Z

tis 2009-01-06 klockan 08:41 +0100 skrev Remy Bohmer:
> Hello Alex,
>
> 2009/1/6 Loren A. Linden Levy <Alex.Lindenlevy@colorado.edu>:
> > Hi Everyone,
> >
> > I am having an interesting problem with am m5282Lite Dev Kit. I had
> > done all of the previous development work by connection the card
> > directly to a spare ethernet card in my PC via a cross-over
> > cable. This worked just fine and the tftp download was very fast.
>
> Seems network controller is working properly, so I would suggest to
> look into the settings.

I have some customers that has seen similar problems
with "cheap" hubs/switches.

It was tracked down to the autoconfiguration of the
Ethernet PHY, so one of the PHYs ended up in
100 Mbps Half Duplex (think that was the switch)
while the other PHY ended up in 100 MBps Full Duplex.

Might be worth investigating.

Best Regards
Ulf Samuelsson

> > Now
> > I have run a long Ethernet cable and can download the uClinux using
> > u-boot, but the hub is 10Mbit. I get some "bad len" errors but
> > eventually (seems to take a long time) the download completes and
> > uClinux boots. I then tried to hook up a spare 100MBit switch i had
> > running one Ethernet cable to the pC (tftp server) and one to the
> > coldfire board (now using regular network cable) but the tftp just
> > times out. The funny thing is i seem to be able to ping the coldfire
> > from the PC side but not the PC from the coldfire side. Does anyone
> > have an idea of what is wrong? Thanks in advance!
>
> The first things coming to my mind are:
> * conflicting IP-addresses or MAC addresses?
> * mismatch u-boot IP on the subnet?
> * missing netmask setting in U-boot environment?
>
> Or else maybe try wireshark to detect what goes wrong exactly.
>
> Kind regards,
>
> Remy
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot