public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: prathika <prathika@deeopl.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Ethernet receive issue in PPC440
Date: Wed, 15 Apr 2009 16:17:30 +0530	[thread overview]
Message-ID: <49E5BB42.20606@deeopl.com> (raw)
In-Reply-To: <200904151038.49181.sr@denx.de>

Hi Stefan,
Thanks for that information. Will get back when  after analysing the 
received packets.

Thanks & Regards,
Prathika R

Stefan Roese wrote:
> On Wednesday 15 April 2009, prathika wrote:
>> I am using PowerPC 440 EP.  The PHY I am using is DP83848. I have
>> enabled RMII mode. I am making sure that all the registers are
>> configured for this mode only, by reading back the registers.
>>
>> First i tried enabling internal loopback in PowerPC by enabling the ILE
>> bit in EMAC0_MR1 register. There was no issue. Then I wanted to test
>> external loopback without RJ-45 cable. that is the data transmitted by
>> Power PC is loop backed by the PHY. So i disabled the ILE bit and
>> enabled FullDuplex FDE bit in EMAC0_MR1 register (As illustrated in the
>> PowerPC User Manual). I also enabled Internal Loopback in PHY.I had no
>> issues in this also. I was able to receive the looped back packets from
>> the PHY.
>>
>> Also to make sure that PHY has no issue, there is a built in test
>> facility avaiilable in the PHY. I also enabled that bit and cleared for
>> the passing of the Built In Test of the PHY.
>>
>> But i never tried doing loop back with the RJ-45 cable. But when i
>> cleared the loop back along the PHY path, should i also test looping
>> back with the cable??
> 
> Such an loopback test using an external shortcut RJ45 cable is more for a 
> factory test of the interface. I just mentioned it to check which loopback 
> test you were doing. You can better test with an PC connected to the 4xx 
> EMAC. And this is what you are doing.
> 
> So you should concentrate on the receive path of the 4xx driver and analyze 
> the errors that you are receiving.
> 
> 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-15 10:47 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
2009-04-15  4:20   ` prathika
2009-04-15  8:38     ` Stefan Roese
2009-04-15 10:47       ` prathika [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=49E5BB42.20606@deeopl.com \
    --to=prathika@deeopl.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