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

Remy Bohmer
2009-01-06T07:41:35Z

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.

> 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