rgmii phy connected to LS1046A intermittent

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

rgmii phy connected to LS1046A intermittent

1,090 Views
rashmikj
Contributor III

We have a custom board with LS1046A Processor . There is Marvell 88E1512 phy(RGMII1 - fm1-mac3 ) connected to EC1 port of the processor similar to the LS1046ardb Kit.

The phy works fine at uboot level and even checked for file transfer with tftp protocol.

But when we try to ping at Linux level, It is intermittent. it works sometimes but most of the time , its not working.

When we check in wireshark in PC, I can see arp request from the board. and even though PC is sending arp reply , I think board is not receiving that packet. 

Is receive based on interrupt? as we have connected it to different irq00 which is different from Kit  where it is connected to irq08.

Tags (1)
0 Kudos
6 Replies

1,081 Views
yipingwang
NXP TechSupport
NXP TechSupport

If the phy works normally in u-boot, it means there is no hardware problem on your custom board.

According to your description, it seems that phy driver in Linux Kernel is not compatible with Marvell 88E1512 phy.

Please check your Linux Kernel configuration file(.config) whether CONFIG_MARVELL_PHY is enabled. In LSDK2012 default Kernel configuration file it is configured as compiling to Kernel module.

CONFIG_MARVELL_PHY=y

0 Kudos

1,076 Views
rashmikj
Contributor III

we have configured CONFIG_MARVELL_PHY=y and still error exists.

0 Kudos

1,067 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please modify the dts file as the following

mdio@fc000 {
rgmii_phy1: ethernet-phy@1 {

compatible = "marvell,88e1510";
reg = <0x1>;
};

rgmii_phy2: ethernet-phy@2 {

compatible = "marvell,88e1510";
reg = <0x2>;
};

Tags (1)
0 Kudos

1,063 Views
rashmikj
Contributor III

No change. The problem still exists.

0 Kudos

1,047 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please contact Marvell to ask for PHY driver for 88E1512 in Linux Kernel.

0 Kudos

1,037 Views
rashmikj
Contributor III

OK

0 Kudos