All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] LXT972 issue on MPC8247: tx error
Date: Mon, 16 Mar 2009 08:15:06 -0400	[thread overview]
Message-ID: <49BE42CA.80103@ge.com> (raw)
In-Reply-To: <22533735.post@talk.nabble.com>

Hi Sauce.Cheng,

Sauce.Cheng wrote:
> my code run on the board reveal the info as following:
> 
> Board: Motorola MPC8272ADS
> DRAM:  32 MB
> FLASH: 512 kB
> In:    serial
> Out:   serial
> Err:   serial
> Net:   FCC1 ETHERNET
> bb_miiphy_write()
> Hit any key to stop autoboot:  0 
> =>
> 
> after i enter words like "ping 192.168.0.100",show something like this
> PS. the line start as "chengmo" are debug infos 
> 
> chengmo : fec_init
> chengmo 0 : rtx.txbd[0].cbd_sc : 00004c00
> chengmo 1 : rtx.txbd[1].cbd_sc : 00004c00
> Using FCC1 ETHERNET device
> chengmo : fec_send
> chengmo_b : rtx.txbd[0].cbd_sc : 00004c00
> chengmo_a : rtx.txbd[0].cbd_sc : 0000ec00
> fec: tx error
> chengmo : fec_send
> fec: tx buffer not ready
> ping failed; host 192.168.0.100 is not alive
> 
> eventually, show me that "fec: tx buffer not ready."
> this prompt is in fec_send() in ether_fcc.c

[snip]

> where the mistakes could happen ? i really cant find it.

Your FEC (Tx) most likely is not being clocked.  Check your QE clock 
configurations, verify that your PHY/MAC/??? is generating the correct 
clocks, etc.

FWIIW, I had this happen on my board because the H/W designer strapped 
the PHY to power up with the clocks disabled (lowers power).  I have to 
flip a bit in a PHY register to enable clocks.  (I'm using a different 
processor and different PHY, YMMV.)

HTH,
gvb

  reply	other threads:[~2009-03-16 12:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-16  8:39 [U-Boot] LXT972 issue on MPC8247: tx error Sauce.Cheng
2009-03-16 12:15 ` Jerry Van Baren [this message]
2009-04-03  2:54   ` Sauce.Cheng

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=49BE42CA.80103@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.