From: David Hawkins <dwh@ovro.caltech.edu>
To: u-boot@lists.denx.de
Subject: [U-Boot] TSEC ethernet controller problems (crc errors / corruption)
Date: Tue, 02 Jun 2009 12:01:46 -0700 [thread overview]
Message-ID: <4A25771A.1060103@ovro.caltech.edu> (raw)
In-Reply-To: <20090602185004.18075832E416@gemini.denx.de>
Hi Wolfgang,
>> I've been working on a custom board, based heavily on the Freescale
>> MPC8349EMDS board. The only major difference is that the board has some
>> FPGAs connected to the local bus.
>>
>> I've found that the TSEC / gianfar ethernet does not work for me in
>> 1000mbit mode. I constantly get "got error 4" from U-Boot, which means
>> that a CRC error was detected by the TSEC controller.
>>
>> I have tried running the TSEC in 100mbit mode, without any problems. I
>> can tftp as much data as I want in U-Boot, and I've transferred many,
>> many gigabytes without issue in Linux. The problem is only with 1000mbit
>> mode.
>
> I read that the same problem happens in Linux when running at
> 1000mbit. Is this understanding correct?
>
> Does running with root file system mounted over NFS work on this
> board? Does it work at 1000mbit, too?
I'll let Ira answer those questions.
> Did you try and re-check the memory controller initialization?
The memory is DDR1 (2.5V) configured with ECC enabled.
The DDR control clock was moved to various settings to see how
much timing margin there was, and the central setting was
selected (there appears to be good margin).
I'm not sure that a TSEC induced memory burst would be any different
than a DMA induced memory, so if we were going to see errors, I
would have expected to see them during DMA testing.
The strange thing about the patterns Ira is seeing is that the
erroneous data sometimes matches data that occurred much earlier
in a packet, not the last data on the DDR bus. This has a
symptom like a FIFO address wrap-around where the FIFO
erroneously indicates it has valid data, so the FIFO reader
reads the stale data, and writes it to DDR.
Ira will play with some of the TSEC settings and see if he
can change the symptom.
Thanks for the suggestions!
Cheers,
Dave
next prev parent reply other threads:[~2009-06-02 19:01 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-02 16:27 [U-Boot] TSEC ethernet controller problems (crc errors / corruption) Ira Snyder
2009-06-02 16:42 ` David Hawkins
2009-06-02 17:35 ` Peter Tyser
2009-06-02 18:17 ` David Hawkins
2009-06-02 18:17 ` Ira Snyder
2009-06-02 18:41 ` Kim Phillips
2009-06-02 18:50 ` Wolfgang Denk
2009-06-02 19:01 ` David Hawkins [this message]
2009-06-02 19:46 ` Ira Snyder
2009-06-02 20:38 ` [U-Boot] TSEC ethernet controller problems (crc errors/ corruption) Liu Dave-R63238
2009-06-02 20:44 ` Liu Dave-R63238
2009-06-02 21:25 ` Ira Snyder
2009-06-02 22:10 ` [U-Boot] TSEC ethernet controller problems (crc errors/corruption) Liu Dave-R63238
2009-06-02 22:19 ` [U-Boot] TSEC ethernet controller problems (crc errors/ corruption) Ira Snyder
2009-06-02 22:22 ` [U-Boot] TSEC ethernet controller problems (crc errors/corruption) Liu Dave-R63238
2009-06-02 23:08 ` [U-Boot] TSEC ethernet controller problems (crc errors/ corruption) Kim Phillips
2009-06-03 17:50 ` Ira Snyder
2009-06-03 20:19 ` Kim Phillips
2009-06-03 20:46 ` Ira Snyder
2009-06-03 21:41 ` Paul Gortmaker
2009-06-05 18:45 ` Paul Gortmaker
2009-06-06 0:38 ` Kim Phillips
2009-06-06 2:31 ` dwh at ovro.caltech.edu
2009-06-08 15:50 ` Kim Phillips
2009-06-08 16:46 ` David Hawkins
2009-06-08 23:06 ` Liu Dave-R63238
2009-06-08 23:36 ` David Hawkins
2009-06-09 21:46 ` David Hawkins
2009-06-09 23:21 ` Liu Dave-R63238
2009-06-09 23:35 ` David Hawkins
2009-06-03 21:51 ` [U-Boot] TSEC ethernet controller problems (crc errors/corruption) Liu Dave-R63238
2009-06-03 21:58 ` David Hawkins
2009-06-02 22:30 ` Liu Dave-R63238
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=4A25771A.1060103@ovro.caltech.edu \
--to=dwh@ovro.caltech.edu \
--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