public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Ethernet receive issue in PPC440
Date: Tue, 14 Apr 2009 10:56:44 +0200	[thread overview]
Message-ID: <200904141056.44165.sr@denx.de> (raw)
In-Reply-To: <49DEDDD7.6090505@deeopl.com>

On Friday 10 April 2009, prathika wrote:
> i am porting uboot in PowerPC 440.
> i tried using the ping command.i have connected my board to PC via cross
> cable.
> When i monitor on the PC side using Network Monitor,
> the PC receives the ARP request packet and the PC is replying with
> acknowledgement.
> I verified reading the receive status register in PPC, it shows there
> was FCS error and the EMAC rejects the received packet.

Which 440 variant are you using? And which PHY (in which connection mode, MII, 
RGMII...)?

> Actually i enabled external loop back in PowerPC and made appropriate
> configuration in PPC and in the PHY chip.I have no issues in receiving
> the packet.things work absolutely fine.

Are you doing an internal loopback test (using the loopback test mode of the 
EMAC, or such a test mode of the PHY) or are you using an real external 
loopback test, using an external RJ45 loopback connector?

You might want to take a look at the 4xx POST ethernet driver and tests. It's 
possible to use internal and external loopback tests here (see 
CONFIG_SYS_POST_ETHER_EXT_LOOPBACK).

> but when it comes to peer to 
> peer communication, i have problem.. should i doubt on my hardware??

Sure. If it's not working then it's always possible that such problems result 
from hardware issues.

> what 
> can be the possibilities?? has anyone faced such an issue?

I suggest you check your PHY and it's components. Sometimes a wrong resistor 
or capacitor can cause such or similar problems.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2009-04-14  8:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-10  5:49 [U-Boot] Ethernet receive issue in PPC440 prathika
2009-04-14  8:56 ` Stefan Roese [this message]
2009-04-15  4:20   ` prathika
2009-04-15  8:38     ` Stefan Roese
2009-04-15 10:47       ` prathika

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=200904141056.44165.sr@denx.de \
    --to=sr@denx.de \
    --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