public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Fw: TFTP fails when using network switch
Date: Tue, 06 Jan 2009 07:45:09 -0500	[thread overview]
Message-ID: <49635255.6090307@ge.com> (raw)
In-Reply-To: <20090105170259.1a85f15a@uncle-pecos.Colorado.EDU>

Hi Alex,

Loren A. Linden Levy wrote:
> 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. 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.

This sounds like a marginal cabling issue, 10bT (slower, half duplex, 
simple encoding) works, 100bT switched (faster, full duplex, 4b5 
encoding) doesn't.

How long is the cable in your new setup?  What type of cable (patch 
cord, Cat3/Cat4/Cat5, lamp cord)?  Are there any connectors/connections 
between the hub/switch and your Dev Kit?

> 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!

Pinging defaults to small packets at a very slow rate - not very 
stressful.  Try flood pinging with large packets.

Were you able to ping both ways successfully with your original setup 
(short crossover cable)?  Does pinging work differently with the 10bT 
hub vs. 100bT switch?  Is your hardware autonegotiating the full/half 
duplex correctly?  Running one side half and the other side full results 
in lots of "collisions" and runt packets when the full side sends while 
the half side is sending (the half side detects a "collision" and aborts 
the packet).

> Alex

HTH,
gvb

      parent reply	other threads:[~2009-01-06 12:45 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-06  0:02 [U-Boot] Fw: TFTP fails when using network switch Loren A. Linden Levy
2009-01-06  7:41 ` Remy Bohmer
2009-01-06 22:52   ` Ulf Samuelsson
2009-01-06 23:00     ` Wolfgang Denk
2009-01-07 12:52       ` Jerry Van Baren
2009-01-07 14:03         ` Loren A. Linden Levy
2009-01-07 15:57           ` Swarthout Edward L
2009-01-07 18:02           ` Ben Warren
2009-01-07 18:23           ` Jerry Van Baren
2009-01-07 19:36         ` Ulf Samuelsson
2009-01-07 19:58           ` Jerry Van Baren
2009-01-16  0:36             ` L. A. Linden Levy
2009-01-16 15:34               ` Jerry Van Baren
2009-01-20  0:00                 ` Loren A. Linden Levy
2009-01-20  1:14                   ` Jerry Van Baren
2009-01-20  2:39                     ` Loren A. Linden Levy
2009-01-20 16:55                     ` Loren A. Linden Levy
2009-01-20 17:13                       ` Jerry Van Baren
2009-01-21  0:14                         ` Loren A. Linden Levy
2009-01-21 12:23                           ` Jerry Van Baren
2009-01-06 12:45 ` Jerry Van Baren [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=49635255.6090307@ge.com \
    --to=gerald.vanbaren@ge.com \
    --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