This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM814x_uboot from GMII mode problem

Hi:

The Platform  we are working are DVRRDK4.01. TI8148-GP rev 3.0

When we debug the uboot, I found it can't use tftp.
At first , we use uart transmit the uboot stage1 and stage2, it started ok but when use ping cmd, it commit some problem and print the host is not alive.
It seems like the ethernet interface appears to can not work in u-boot.
The print information as following picture show:



The design we used are based on the DM8148 and a ET1011T Gigabit PHY.
The interface of PHY we used GMII mode to MAC0.

I checked the uboot code and modified some place:
1.

#if 1
//set to GMII mode LPW 20141119
__raw_writel(0x300,GMII_SEL);

#else
__raw_writel(0x30a,GMII_SEL);
#endif

2 . changed phy_id but no use,  8148 can read ET1011'is phy_id 0x281F014 by MDIO

     

@@lpw phy_init slave->data->phy_id=1
addr=0x1
val=0x282
val2=0xf014
Configuring LSI Phy

link up value_a(18)=0xfffbffff
mac_control)=0x80a1 speed=100
link up on port 0, speed 100, full duplex
Using cpsw device
ping failed; host 192.168.2.108 is not alive
TI-MIN# ping 192.168.2.108
@@lpw phy_init slave->data->phy_id=1
addr=0x1
val=0x282
val2=0xf014
Configuring LSI Phy

link up value_a(18)=0xfffbffff
mac_control)=0x80a1 speed=100
link up on port 0, speed 100, full duplex
Using cpsw device
ping failed; host 192.168.2.108 is not alive
TI-MIN#

3.  pin_MUX check

    the orginal code used a MII/RGMII mod , the setting of MAC0 pin is same as GMII..

But it cann't  ping .....

Look forward to some advices....

Thanks