Skip to contentSkip to conversation

UCC GETH does not work on my MPC8360EA

DISCUSSION Wolfgang Grandegger 2 participants 4 messages Sep 17, 2008 – Sep 19, 2008

lore
Share & tools
lore
#0 lore raw

Hello,

I have a wired problems with my MPC8360EA using Linux 2.6.27-rc6. The UCC GEHT controller works fine with 100/Full but fails with 1000/Full. What I see is that the TX done interrupts come (ifconfig's TX packet counter goes up), but the messages does not show up on the wire. RX seems to work properly, though.

Any idea what's going wrong? Does someone got it working with 1000/Full?

TIA,

Wolfgang.

#1 lore raw
Quoted 11 lines

-----Original Message-----
From: [email protected]=20 [mailto:[email protected]]=20 On Behalf Of Wolfgang Grandegger
Sent: Wednesday, September 17, 2008 5:18 PM
To: linuxppc-dev
Subject: UCC GETH does not work on my MPC8360EA=20
=20
Hello,
=20
I have a wired problems with my MPC8360EA using Linux=20

Quoted 8 lines

2.6.27-rc6. The UCC GEHT controller works fine with 100/Full=20 but fails with 1000/Full.
What I see is that the TX done interrupts come (ifconfig's TX=20 packet counter goes up), but the messages does not show up on=20 the wire. RX seems to work properly, though.
=20
Any idea what's going wrong? Does someone got it working with=20 1000/Full?

This looks like an old problem that RGMII Tx shouldn't use internal delay while Rx should use. So try to use 'rgmii-rxid' as phy-connection-type in device tree. Also there should have been a fixup in u-boot for this. So update to use latest u-boot might fix your problem.

- Leo

#2 lore raw
Quoted 17 lines · Li Yang-R58472 wrote:
Quoted 17 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Wolfgang Grandegger
Sent: Wednesday, September 17, 2008 5:18 PM
To: linuxppc-dev
Subject: UCC GETH does not work on my MPC8360EA

Hello,

I have a wired problems with my MPC8360EA using Linux 2.6.27-rc6. The UCC GEHT controller works fine with 100/Full but fails with 1000/Full.
What I see is that the TX done interrupts come (ifconfig's TX packet counter goes up), but the messages does not show up on the wire. RX seems to work properly, though.

Quoted 8 lines
Quoted 2 lines

Any idea what's going wrong? Does someone got it working with 1000/Full?

This looks like an old problem that RGMII Tx shouldn't use internal delay while Rx should use. So try to use 'rgmii-rxid' as phy-connection-type in device tree. Also there should have been a fixup in u-boot for this. So update to use latest u-boot might fix your problem.

I do not have problems with U-Boot using 1000/full. The DTS property

phy-connection-type = "rgmii-rxid"

fixed the problem wuth Linux, indeed, but I realize slow boot over NFS and sometimes I even get "nfs server not responding" with that setting.

Wolfgang.

#3 lore raw
Quoted 21 lines · Wolfgang Grandegger
Quoted 20 lines · Li Yang-R58472 wrote:
Quoted 19 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Wolfgang Grandegger
Sent: Wednesday, September 17, 2008 5:18 PM
To: linuxppc-dev
Subject: UCC GETH does not work on my MPC8360EA

Hello,

I have a wired problems with my MPC8360EA using Linux 2.6.27-rc6. The UCC GEHT controller works fine with 100/Full but fails with 1000/Full.
What I see is that the TX done interrupts come (ifconfig's TX packet counter goes up), but the messages does not show up on the wire. RX seems to work properly, though.

Any idea what's going wrong? Does someone got it working with 1000/Full?

Quoted 7 lines
Quoted 5 lines

This looks like an old problem that RGMII Tx shouldn't use internal delay while Rx should use. So try to use 'rgmii-rxid' as phy-connection-type in device tree. Also there should have been a fixup in u-boot for this. So update to use latest u-boot might fix your problem.

I do not have problems with U-Boot using 1000/full. The DTS property

I mean that the latest u-boot can fixup the phy-connection-type automatically base on the chip revision.

- Leo