cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
1,398 Views
Registered: ‎09-10-2017

XAPP1082 : How to change attached PHY driver for eth1(PS_EMIO 1000BASEX) ?

Hi,

 

I have generated the hdf for project opened from /vivado/scripts/ps_emio_eth/. I am using petalinux 2017.2 to build a bootable image with the custom hdf. I have applied patch before petalinux-build.

 

I can not ping to eth1 (sfp) interface but, eth0 is working.

 

Here is a part of boot message:

 

libphy: Fixed MDIO Bus: probed
CAN device driver interface
libphy: MACB_mii_bus: probed
macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 146 (00:0a:35:00:1e:53)
Marvell 88E1116R e000b000.etherne:07: attached PHY driver [Marvell 88E1116R] (mii_bus:phy_addr=e000b000.etherne:07, irq=-1)
libphy: MACB_mii_bus: probed
mdio_bus e000c000.etherne:01: mdio_device_register
macb e000c000.ethernet eth1: Cadence GEM rev 0x00020118 at 0xe000c000 irq 147 (00:0a:35:00:00:01)
Generic PHY e000c000.etherne:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=e000c000.etherne:00, irq=-1)
e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
e1000e: Copyright(c) 1999 - 2015 Intel Corporation.

 

Is it possible that the problem is because of attached PHY driver?

 

If so, then how to change the driver from 'Generic PHY' to 'Xilinx PCS/PMA PHY' ?

 

Thanks in Advance.

Tags (1)
0 Kudos
2 Replies
Highlighted
Moderator
Moderator
1,335 Views
Registered: ‎12-04-2016

Hi

 

Can you please refer to this below forum thread which discussed the same issue and see if you have any queries

https://forums.xilinx.com/t5/Embedded-Linux/XAPP1082-PS-EMIO-SFP/m-p/743223#M18109

 

 

 

 

Best Regards

Shabbir

0 Kudos
Highlighted
Visitor
Visitor
1,324 Views
Registered: ‎09-10-2017

Hi,

@shabbirk

Here is the status vector when I plug the ethernet cable into sfp.: MSB 0101100000001011 LSB

bit 0 and bit 1 signifies link status is active and link synchronization is successful.

 

Is it necessary to enable MDIO for eth1 for xapp1082 hardware design to work?

 

Also, even after including following in the system-user.dtsi, the attached PHY driver still shows to be Generic PHY.

/include/ "system-conf.dtsi"
/ {
};
&gem1 {
local-mac-address = [00 0a 35 00 00 01];
phy-mode = "rgmii-id";
status = "okay";
xlnx,ptp-enet-clock = <0x69f6bcb>;
phy-handle = <&phy1>;

phy1: phy@1 {
compatible = "Xilinx PCS/PMA PHY";
device_type = "ethernet-phy";
xlnx,phy-type = <5>;
reg = <1>;
};
};

 

 

my ip version is :gig_ethernet_pcs_pma v 16.1  & board zc706.

0 Kudos