public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Zachary Landau <kapheine@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: ethernet problems on the 5282 - Retry count exceeded
Date: Thu, 7 Apr 2005 16:17:12 -0400	[thread overview]
Message-ID: <a04f56da050407131765e480da@mail.gmail.com> (raw)
In-Reply-To: <200504061510.37121.ngustavson@emacinc.com>

On Apr 6, 2005 4:10 PM, NZG <ngustavson@emacinc.com> wrote:
> I'm working with a 5282 based board and am having ethernet problems.
> I know the ethernet hardware is sound because it works in uClinux.
> The fec appears to be working somewhat in u-boot, (I'm using Zach's modified
> fec code).
> But still appears to be timing out.
> I have the debugging code on and I'm trying to pick up a dhcp, I'm getting:
[...]
> So it appears to be communicating, just not quite right.
> Zach, you originally mentioned that the timers might not be getting
> initialized correctly. Where are the timers initialized in the code? Do you
> have a patch for this?
>

The timer code is in lib_m68k/time.c.  The archive I sent you has my
modifications.  As a very simple test, try running "sleep 5" from the
command prompt and see if it returns instantly or if it sleeps.

If that works, check the delay between retries.  If it appears to
retry over and over without any sort of human perceptible delay, there
is probably a problem.  Add some debugging statements in the
networking code.  (Hint: check out the NetSetTimeout and related
code).
 
> I'm on a 100 base-T network, is that a problem? Has this code been tested at
> 100?

I'm using it at 100 base-T.  In fact, the 5282 has some errata for
10mbit that may cause problems at that speed.



-- 
Zachary P. Landau <kapheine@gmail.com>

  reply	other threads:[~2005-04-07 20:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-06 20:10 [U-Boot-Users] ethernet problems on the 5282 - Retry count exceeded NZG
2005-04-07 20:17 ` Zachary Landau [this message]
2005-04-08  7:24 ` Wolfgang Elsner
2005-04-08 15:29   ` Zachary Landau

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=a04f56da050407131765e480da@mail.gmail.com \
    --to=kapheine@gmail.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