Hello,
I am using an ET1011C Phy in GMII mode on emac 1 and am unable to get it to find an IP address. I am using dm8148 IPNC 3.0. I have tried many configurations with no success, but here is my current setup:
- GMII_SEL = 0x102 (GMII on port 1 and RGMII on port 0)
- I changed all of the pinmuxing to support full GMII, I noticed that there is a if PG1_0 then use full GMII, I copied those pinmux configurations.
- I successfully get the PHY ID and am able to read and write to the phy.
- The Phy is set to generate the clock and it does.
- I changed the phy_id so that it will use port 1 instead of port 0.
When I boot I see:
net: Detected MACID:0:18:32:62:68:2e
cpsw
Hit any key to stop autoboot: 0
Configuring LSI Phy
link up on port 0, speed 1000, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
...
If I try to ping my computer I see:
TI8148_EVM#ping 10.1.1.155
Configuring LSI Phy
link up on port 0, speed 1000, full duplex
*** ERROR: `ipaddr' not set
ping failed; host 10.1.1.155 is not alive
TI8148_EVM#
Is there some special setup required to get GMII working on 8148? I looked at the 8168 evm.c but everything is handled completely different, instead of using cpsw it uses davinci_emac.c calls
Any help would be appreciated,
-Ben