* MPC8560ADS issues
@ 2004-03-10 19:04 Jason McMullan
2004-03-11 15:43 ` Matthew S. McClintock
0 siblings, 1 reply; 8+ messages in thread
From: Jason McMullan @ 2004-03-10 19:04 UTC (permalink / raw)
To: linuxppc-embedded
I'm trying to work with FCCs on my PowerQuick III with a
MPC8560 Rev 1, and I'm having quite a difficult time attempting
to get the FCC ethernet ports to work.
The GigE (TSEC) ports work just fine, but the FCC ports don't seem
to TX or RX anything. No IRQs from the FCC, but I get IRQs from the
PHYs
Switch settings:
SW4: 1-4 ON, 5-8 OFF
SW10: 1 ON, 2-6 OFF, 7-8 ON
SW13: 1 OFF, 2-3 ON
J23,J22: MII(std)
J27,J31: MII
I have also verified that both of the FCC PHY's on the MII bus
are visible (at PHY IDs 2 and 3).
Has anyone had any success with the MPC8560ADS and FCCs? In either
Linux or u-boot?
--
Jason McMullan <jason.mcmullan@timesys.com>
TimeSys Corporation
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: MPC8560ADS issues
2004-03-10 19:04 MPC8560ADS issues Jason McMullan
@ 2004-03-11 15:43 ` Matthew S. McClintock
2004-03-11 16:16 ` Dan Malek
2004-03-11 18:42 ` Jason McMullan
0 siblings, 2 replies; 8+ messages in thread
From: Matthew S. McClintock @ 2004-03-11 15:43 UTC (permalink / raw)
To: Jason McMullan; +Cc: linuxppc-embedded
On Wed, 2004-03-10 at 13:04, Jason McMullan wrote:
> I'm trying to work with FCCs on my PowerQuick III with a
> MPC8560 Rev 1, and I'm having quite a difficult time attempting
> to get the FCC ethernet ports to work.
>
What version of u-boot are you using? There was a patch around Feb. 24th
that fixed some things in the ethernet driver for u-boot. Although since
you seem to have the TSEC ports working it seems you have the latest
version.
> The GigE (TSEC) ports work just fine, but the FCC ports don't seem
> to TX or RX anything. No IRQs from the FCC, but I get IRQs from the
> PHYs
U-boot does not use interrupts for networking, it just uses polling. How
are you determining you are seeing interrupts from the PHYs and not the
FCC?
> Has anyone had any success with the MPC8560ADS and FCCs? In either
> Linux or u-boot?
I have not attempted to use the FCC in u-boot but I have it working in
Linux, well sort of anyways... it is going extremely slow and I am still
investigating that. That being said I don't think u-boot has support for
using the FCC, so what changes did you make to get u-boot?
--
Matthew S. McClintock <mattsm@arlut.utexas.edu>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: MPC8560ADS issues
2004-03-11 15:43 ` Matthew S. McClintock
@ 2004-03-11 16:16 ` Dan Malek
2004-03-11 17:14 ` Matthew S. McClintock
2004-03-11 18:42 ` Jason McMullan
1 sibling, 1 reply; 8+ messages in thread
From: Dan Malek @ 2004-03-11 16:16 UTC (permalink / raw)
To: Matthew S. McClintock; +Cc: Jason McMullan, linuxppc-embedded
Matthew S. McClintock wrote:
> What version of u-boot are you using? There was a patch around Feb. 24th
> that fixed some things in the ethernet driver for u-boot. Although since
> you seem to have the TSEC ports working it seems you have the latest
> version.
The TSECs work, but the FCCs don't. I spend time here and there debugging
when I have a chance.
> I have not attempted to use the FCC in u-boot but I have it working in
> Linux, well sort of anyways... it is going extremely slow and I am still
> investigating that.
Do you keep up to date with the linuxppc trees? Some of us have been
pushing lots of CPM updates lately. We recently updated all of the
common code for 82xx and 85xx. If this doesn't work there must be
some I/O or board configuration that is amiss.
Thanks.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: MPC8560ADS issues
2004-03-11 16:16 ` Dan Malek
@ 2004-03-11 17:14 ` Matthew S. McClintock
2004-03-11 22:52 ` Kumar Gala
0 siblings, 1 reply; 8+ messages in thread
From: Matthew S. McClintock @ 2004-03-11 17:14 UTC (permalink / raw)
To: Dan Malek; +Cc: Jason McMullan, linuxppc-embedded
On Thu, 2004-03-11 at 10:16, Dan Malek wrote:
> Do you keep up to date with the linuxppc trees? Some of us have been
> pushing lots of CPM updates lately. We recently updated all of the
> common code for 82xx and 85xx. If this doesn't work there must be
> some I/O or board configuration that is amiss.
I'm running the latest linuxppc-2.4 branch. I'm not using the MPC8540ADS
board, the board I am using has an Intel LXT971A PHY attached to the
FCC. I've added support for that physical layer to
drivers/gianfar_phys.c. I'm guessing something is wrong with that code
that is making it go so slow, but I have been unable to pinpoint what
might be wrong.
I've noticed that the interrupts for the FCC come in at a very very slow
pace, that is the only thing I have really noticed that is odd. I've
also tried changing the priority of the interrupt via the IIVPR register
for the FCC with no results. I can't think of anything else I can
investigate, unless you have any ideas?
Thanks,
Matthew
--
Matthew S. McClintock <mattsm@arlut.utexas.edu>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: MPC8560ADS issues
2004-03-11 15:43 ` Matthew S. McClintock
2004-03-11 16:16 ` Dan Malek
@ 2004-03-11 18:42 ` Jason McMullan
2004-03-11 19:30 ` Dan Malek
1 sibling, 1 reply; 8+ messages in thread
From: Jason McMullan @ 2004-03-11 18:42 UTC (permalink / raw)
To: Matthew S. McClintock; +Cc: linuxppc-embedded
On Thu, 2004-03-11 at 10:43, Matthew S. McClintock wrote:
> What version of u-boot are you using? There was a patch around Feb.
> 24th that fixed some things in the ethernet driver for u-boot.
> Although since you seem to have the TSEC ports working it seems you
> have the latest version.
Latest CVS. But my questions are about *Linux*. I'm running
Linux 2.6.0 with a port of the MPC8560 support from LinuxPPC 2.4.x.
Got the Gianfar (TSEC) port to work just fine, and I can see the PHYs
for the FCCs, and I get *TX* interrupts, and *sometimes* get packets
out the wire, but no RX, and often TXs with no packets.
--
Jason McMullan <jason.mcmullan@timesys.com>
TimeSys Corporation
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: MPC8560ADS issues
2004-03-11 18:42 ` Jason McMullan
@ 2004-03-11 19:30 ` Dan Malek
0 siblings, 0 replies; 8+ messages in thread
From: Dan Malek @ 2004-03-11 19:30 UTC (permalink / raw)
To: Jason McMullan; +Cc: Matthew S. McClintock, linuxppc-embedded
Jason McMullan wrote:
> Latest CVS. But my questions are about *Linux*.
So where mine :-)
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: MPC8560ADS issues
2004-03-11 17:14 ` Matthew S. McClintock
@ 2004-03-11 22:52 ` Kumar Gala
2004-03-11 23:53 ` Matthew S. McClintock
0 siblings, 1 reply; 8+ messages in thread
From: Kumar Gala @ 2004-03-11 22:52 UTC (permalink / raw)
To: Matthew S. McClintock; +Cc: linuxppc-embedded, Jason McMullan, Dan Malek
I'm confused the gianfar driver is for the MPC8540 FEC. I believe the
initial question was regarding the FCC (on CPM / MPC8560).
As to why your having poor performance on the MPC8540 FEC, that seems
odd -- possibly some issue with the Intel PHY. I do not believe we are
seeing anything similar on the ADS.
- kumar
On Mar 11, 2004, at 11:14 AM, Matthew S. McClintock wrote:
>
> On Thu, 2004-03-11 at 10:16, Dan Malek wrote:
>
>> Do you keep up to date with the linuxppc trees? Some of us have been
>> pushing lots of CPM updates lately. We recently updated all of the
>> common code for 82xx and 85xx. If this doesn't work there must be
>> some I/O or board configuration that is amiss.
>
> I'm running the latest linuxppc-2.4 branch. I'm not using the
> MPC8540ADS
> board, the board I am using has an Intel LXT971A PHY attached to the
> FCC. I've added support for that physical layer to
> drivers/gianfar_phys.c. I'm guessing something is wrong with that code
> that is making it go so slow, but I have been unable to pinpoint what
> might be wrong.
>
> I've noticed that the interrupts for the FCC come in at a very very
> slow
> pace, that is the only thing I have really noticed that is odd. I've
> also tried changing the priority of the interrupt via the IIVPR
> register
> for the FCC with no results. I can't think of anything else I can
> investigate, unless you have any ideas?
>
> Thanks,
> Matthew
>
> --
> Matthew S. McClintock <mattsm@arlut.utexas.edu>
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: MPC8560ADS issues
2004-03-11 22:52 ` Kumar Gala
@ 2004-03-11 23:53 ` Matthew S. McClintock
0 siblings, 0 replies; 8+ messages in thread
From: Matthew S. McClintock @ 2004-03-11 23:53 UTC (permalink / raw)
To: Kumar Gala; +Cc: linuxppc-embedded, Jason McMullan, Dan Malek
On Thu, 2004-03-11 at 16:52, Kumar Gala wrote:
> I'm confused the gianfar driver is for the MPC8540 FEC. I believe the
> initial question was regarding the FCC (on CPM / MPC8560).
>
> As to why your having poor performance on the MPC8540 FEC, that seems
> odd -- possibly some issue with the Intel PHY. I do not believe we are
> seeing anything similar on the ADS.
>
> - kumar
>
My mistake, I did not realize the MPC8540 and MPC8560 were quite so
different. I just assumed too much, I apologize.
--
Matthew S. McClintock <mattsm@arlut.utexas.edu>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-03-11 23:53 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-10 19:04 MPC8560ADS issues Jason McMullan
2004-03-11 15:43 ` Matthew S. McClintock
2004-03-11 16:16 ` Dan Malek
2004-03-11 17:14 ` Matthew S. McClintock
2004-03-11 22:52 ` Kumar Gala
2004-03-11 23:53 ` Matthew S. McClintock
2004-03-11 18:42 ` Jason McMullan
2004-03-11 19:30 ` Dan Malek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).