cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Novia
Visitor
Visitor
330 Views
Registered: ‎12-03-2020

ZynqMP GEM1 connected to Marvell 88E1111S phy through SGMII doesn't work in u-boot.

Jump to solution

The SOC we are using is zu102. GEM1 is connected to a phy through SGMII. This is using a 2019-02 u-boot.  After configure gem1 in device tree, eth0 can be deteted by "mii device" command. But zu102 can't be pinged successfully.

The phy we use is Marvell 88E1111S, which is 100/1000BASE-T1 interface. The device tree as below:

Novia_0-1607327689898.png

Since this is not a TI phy, I remove the TI related configuration.

what "is-internal-pcspma" means?

After system is started up, I can find the eth0.

Novia_1-1607327764539.png

 I also checked the pcs_status of gem0 (0xFF0B0204), whose value is 0x0000012D. It shows that the link status is up. 

Novia_2-1607327848988.png

But ping/tftp are all failed.

Novia_3-1607327958262.png

From Debugging-Tips-when-using-GEM-on-Zynq-MPSoC-devices , most debugging tips is for kernel, I am not sure it is works for u-boot.

Besides, I dumped below registers. Any abnormal found?

Novia_4-1607328367380.png

Novia_5-1607328402884.png

I also tried phy loopback, it works well.

then I want to try mac loopback and pcs loopback, but the detail test procedure is not clear. Hope you can provide the details.

0 Kudos
1 Solution

Accepted Solutions
nanz
Moderator
Moderator
305 Views
Registered: ‎08-25-2009

Hi @Novia ,

Please check the following post and see if it helps:

https://forums.xilinx.com/t5/Ethernet/Howto-configure-Linux-device-tree-for-Ethernet-with-TI-DP83867/td-p/1180952

 


-------------------------------------------------------------------------------------------

Don’t forget to reply, kudo, and accept as solution.

If starting with Versal take a look at our Versal Design Process Hub and our Versal Blogs and our Versal Ethernet Sticky Note.

-------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
nanz
Moderator
Moderator
306 Views
Registered: ‎08-25-2009

Hi @Novia ,

Please check the following post and see if it helps:

https://forums.xilinx.com/t5/Ethernet/Howto-configure-Linux-device-tree-for-Ethernet-with-TI-DP83867/td-p/1180952

 


-------------------------------------------------------------------------------------------

Don’t forget to reply, kudo, and accept as solution.

If starting with Versal take a look at our Versal Design Process Hub and our Versal Blogs and our Versal Ethernet Sticky Note.

-------------------------------------------------------------------------------------------

View solution in original post

0 Kudos