From: Igor Grinberg <grinberg@compulab.co.il>
To: CF Adad <cfadad@rocketmail.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
Tony Lindgren <tony@atomide.com>, Paul Walmsley <paul@pwsan.com>
Subject: Re: Ethernet problems on AM3517, possible regression?
Date: Mon, 05 Mar 2012 13:38:53 +0200 [thread overview]
Message-ID: <4F54A5CD.4070603@compulab.co.il> (raw)
In-Reply-To: <4F5338CB.5000804@compulab.co.il>
On 03/04/12 11:41, Igor Grinberg wrote:
> Hi,
>
> On 03/02/12 01:16, CF Adad wrote:
>> We have both a CompuLab CM-T3517 and a Technexion TAM-3517 at the shop. Both boards provide dual Ethernet support in an identical fashion. One port uses the onboard EMAC tied to an SMSC LAN87xx series PHY. The other is the old trusty SMSC LAN911X hooked up to the GPMC.
>>
>> Both boards support both interfaces when loaded with their respective TI PSP-based images. These unfortunately date clear back to 2.6.37 or even 2.6.32 however. When upgrading to the 3.x series linux-omap kernel, we noticed we could get one or the other of these to work, _but not both simultaneously_. If both are enabled in code, neither work.
>>
>> Even when we can get one or the other working, we seem to be having some problems with autonegotiation and MAC addressing. MAC addresses on the SMSC are still random. On the EMAC port, as you can see from our code below, we have put a patch in that is letting us establish a fixed MAC address. However, I'm not sure this is a proper method to use at this point.
>>
>> We suspect issues are known to exist with the Ethernet ports as the CM-T3517 has mainlined Linux support, and its latest board file does not show any configuration for either Ethernet interface. Support from the previous kernel versions has apparently been removed, despite patches being applied to it as recently as mid-last year: http://lists.infradead.org/pipermail/linux-arm-kernel/2011-May/050430.html
>>
>> We also suspect this is being caused by an address conflict of some sort between the two ports. We are using a linux-omap kernel, version 3.2.0-rc6 that is a month or two old now. We've been monitoring this list, and have noted that some changes have been checked in for SMSC, but have not been able to update our kernel source as we were in the midst of a heavy debugging exercise that ended late last evening. We plan to migrate to the latest HEAD soon. Neverthelss, we've not seen any of these board files update. So, we're assuming there are still known issues here.
>>
>> I have attached the relevant sections of the board file we've created
>> for the TAM-3517 (the one we've played with the most) below. It is based off the
>> older board files from the TI PSP and various configurations we have seen in similar hardware
>> board files (overo, am3517_evm, cm-t3517, etc.) If you note the
>> configurable defines at the top, we've tied various combinations of code
>> with no success to date.
>>
>>
>> Would you folks please take a look? Any help would be appreciated. Thanks!
>
> The below two patches are needed to make the AM3517 EMAC work on CM-T3517:
>
> http://www.spinics.net/lists/linux-omap/msg65642.html
> http://www.spinics.net/lists/linux-omap/msg65643.html
>
> Hopefully, Tony will be kind enough to apply those for 3.4
Also, this one is needed for EMAC to function on any OMAP board:
http://www.spinics.net/lists/linux-omap/msg62161.html
It looks from the thread, that it has been already taken by Paul,
so hopefully, it will be in 3.4
--
Regards,
Igor.
next prev parent reply other threads:[~2012-03-05 11:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-29 4:11 Question: Custom DAI driver for AM35xx using McBSP CF Adad
2012-02-29 17:27 ` CF Adad
2012-03-01 17:13 ` CF Adad
2012-03-01 23:16 ` Ethernet problems on AM3517, possible regression? CF Adad
2012-03-04 9:41 ` Igor Grinberg
2012-03-05 11:38 ` Igor Grinberg [this message]
2012-03-05 17:32 ` CF Adad
2012-03-06 9:16 ` Igor Grinberg
2012-03-12 22:17 ` CF Adad
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=4F54A5CD.4070603@compulab.co.il \
--to=grinberg@compulab.co.il \
--cc=cfadad@rocketmail.com \
--cc=linux-omap@vger.kernel.org \
--cc=paul@pwsan.com \
--cc=tony@atomide.com \
/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.