MPC8560ADS issues
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 <[email protected]>
TimeSys Corporation
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 4 lines · Jason McMullan
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.
Quoted 3 lines
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?
Quoted 2 lines
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 <[email protected]>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 4 lines · Matthew S. McClintock
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.
Quoted 3 lines
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/
Quoted 4 lines · Dan Malek
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 <[email protected]>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
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
Quoted 24 lines · Matthew S. McClintock
Quoted 4 lines · Dan Malek
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 todrivers/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?
Quoted 7 lines
Thanks,
Matthew--
Matthew S. McClintock <[email protected]>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 9 lines · Kumar Gala
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 <[email protected]>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 4 lines · Matthew S. McClintock
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 <[email protected]>
TimeSys Corporation
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 1 line · Jason McMullan
Latest CVS. But my questions are about *Linux*.
So where mine :-)
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/