From: Felix Radensky <felix@embedded-sol.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Link problem with eTSEC2 on P2020RDB
Date: Tue, 29 Jun 2010 10:58:27 +0300 [thread overview]
Message-ID: <4C29A7A3.3050608@embedded-sol.com> (raw)
In-Reply-To: <1277558382.8978.27.camel@ptyser-laptop>
Hi Peter,
On 6/26/2010 4:19 PM, Peter Tyser wrote:
> Hi Felix,
>
> In any case, our testing and the Freescale FAE's input showed that
> in-band auto-negotiation on the SGMII interface didn't work, thus I
> submitted the change you referenced. If my memory is correct,
> empirically it looked like the MPC8572 did support 1000 base-X
> auto-negotiation, but not SGMII auto-negotiation. Can you validate
> you're using SGMII and not 1000 base-X to connect the P2020 to the
> VSC8211 PHY? A simple way to test this should be to connect the VSC8211
> to a 100 mpbs switch - this should work fine via SGMII but not 1000
> base-X (assuming you're using a copper interface).
I'm definitely using SGMII with eTSEC2. This is documented in board user manual.
Also, eTSEC2 works when connected to 100 mbps switch.
>> I'm not familiar with how SGMII is configured on this controller, but
>> it appears that Peter's patch turned of Autonegotiation. Why this
>> would make a PHY work and a switch not work is curious... Maybe we
>> should have a CONFIG option for SGMII parameters. Settings could
>> default to the ones Peter set (since he submitted it in November and
>> problems are surfacing now), but could be overriden. Does that sound
>> reasonable? Something like:
>>
>>
>> #ifndef CONFIG TSEC_TBICR_SETTINGS
>> #define TBICR_SETTINGS ( \
>> TBICR_PHY_RESET \
>> | TBICR_FULL_DUPLEX \
>> | TBICR_SPEED1_SET \
>> )
>> #else
>> #define TBICR_SETTINGS CONFIG_TSEC_TBICR_SETTINGS
>> #endif
>> Thanks.
> This solution is fine by me. I'd be curious if anyone at Freescale has
> a definitive answer about SGMII and auto-negotiation. I'm happy to try
> any patch on Monday
I've posted a patch, see http://lists.denx.de/pipermail/u-boot/2010-June/073208.html
Can you please test it ?
Thanks.
Felix.
prev parent reply other threads:[~2010-06-29 7:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-22 20:04 [U-Boot] Link problem with eTSEC2 on P2020RDB Felix Radensky
2010-06-23 6:14 ` André Schwarz
2010-06-23 10:41 ` Aggrwal Poonam-B10812
2010-06-25 11:33 ` Felix Radensky
2010-06-26 5:22 ` Ben Warren
2010-06-26 10:09 ` Felix Radensky
2010-06-26 13:19 ` Peter Tyser
2010-06-29 7:58 ` Felix Radensky [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=4C29A7A3.3050608@embedded-sol.com \
--to=felix@embedded-sol.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