• 0
marsee101

ZYBO Z7-20's Embed Linux could not connect ethernet. Is there a bug in the board file of ZYBO Z7-20?

Question

Ubuntu 14.04 worked on ZYBO Z7-20, but at first Ethernet did not work. The cause was that MDIO of Ethrnet 0 of Peripheral I / O Pins of PS of ZYBO Z7 was connected to EMIO.

ZYBO_Z7_72_171006.thumb.png.db8e05571ad5473fffc99bd3216d4036.png

In the circuit diagram of ZYBO Z7, MDIO is connected to MIO52, MIO53. In the board file, should I connect MDIO of Ethrnet 0 of PS Peripheral I / O Pins to MIO?

https://reference.digilentinc.com/_media/reference/programmable-logic/zybo-z7/zybo_z7_sch-public.pdf

ZYBO_Z7_73_171006.png.b5957e13b3344729c649bfa0b03670b6.png

Currently, since we connected MDIO of Ethrnet 0 of Peripheral I / O Pins of PS of ZYBO Z7 to MIO, Ubuntu 14.04's Ethernet now works on ZYBO Z7-20.

ZYBO_Z7_74_171006.thumb.png.ed4eb72ac09127d325817f663fc4f083.png

ZYBO_Z7_80_171006.png.ec54715faf0fef43c61b80e62f2767d9.png

This situation was also the same for ZYBO.
In previous ZYBO_zynq_def.xml, MIDO was connected to MIO.

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Hi @marsee101,

I have moved this thread to the embedded linux section where more embedded linux forum members look. I will do more research Monday on the board files for the Zybo-Z7-20. IThe  current Zynq configuration for the Ethernet on the Zybo is EMIO as shown below. I have successfully completed the getting started on Zynq servers tutorials here with the current settings. The Zybo Ethernet is connected in the same way as the Zybo-Z7-20 as show below.  

thank you,

Jon

zybo_emio.jpg

zybo_emio_1.jpg

Share this post


Link to post
Share on other sites
  • 0

MDIO has been assigned to MIO by adding the following line to "Xilinx \ Vivado \ 2017.2 \ data \ boards \ board_files \ zybo-z 7-20 \ A.0 \ preset.xml".

<user_parameter name="CONFIG.PCW_ENET0_GRP_MDIO_IO" value="MIO 52 .. 53" />

ZYBO_Z7_82_171007.thumb.png.437f7137b7f7d01b9314592670eb90b0.png

Share this post


Link to post
Share on other sites
  • 0

Hi @marsee101,

I know the board files with the pins set to 16 and 27 for the zybo work correctly with the vivado/sdk and the echo server here. I have not heard of any changes needing to be made in the board files for the Ethernet to work in petalinux. Here is a quick guide for petelinux and the zybo. We do not have a petalinx base design for the Zybo-z7 yet. I am sure we will in the near future.I believe that when using Ubuntu 14.04 you might need a different hardware setting for the Ethernet to work, in this case having the pins connected to 52 and 53, and changing from EMIO to MIO.  Thank you for posting what you have found and I am glad that you were able to get Ubuntu 14.04 to work on the Zybo-Z7.

cheers,

Jon

Share this post


Link to post
Share on other sites
  • 0

Hi @marsee101,

I will forward this tread to our engineer that handles embedded linux and the board files for the Zybo-Z7-20.

thank you,

Jon 

Edited by jpeyron

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now