Hi Everyone!
I am not very experienced with the Zedboard and having a ruff time understanding the infrastructure around the Ethernet functionality on the Zedboard.
I have read the related chapters in the following documents, but so far I was not able to put it all together.
1 Zedboard HW User Guide Version 1.1
2 UG585 (v1.10) February 23, 2015
3 various posts such as:
http://zedboard.org/content/redirecting-peripherals-mio-emio
So, as far as I understand there is a Marvell Ethernet PHY on the Zedboard which is directly connected to the PS's MIO Bank 1(via RGMII). Further more, there are two Ethernet MACs in the Processing System which are also connected to the MIO Bank via RGMII(over a GMII/RGMII adapter). Additionally, these two Ethernet MACs are connected to the Zedboards DDR3 RAM via a DMA Controller.
Question A:
Is that correct? Did I miss something important?
One of my goals is to get Ethernet frames/packets into the PL where I want to build some logic to analyse Headers etc.. (proof of concept / educational work)
Similar to Link 3 I redirected eth0 to EMIO(I am working with Vivado btw) and got a MDIO and a GMII Port added to my Processing System block view.
Question B:
Where exactly are these interfaces(GMII and MDIO) connected to? I think to one of the Ethernet MACs of the PS?!
Question(s) C:
What do I have to do now in order to get Ethernet packets to my custom IP?
Do I have to initialize the Ethernet MAC of the PS using DMA(from one of the arm cores) like described in 2 and get packets from RAM to my IP?
Or is there a way to get packets over the above mentioned GMII?
Or is it possible to get a direct connection to the Marvell PHY?
kind regards and a big thank you in advance!
PS:Sorry for the bad formatting.. I added blank lines but paragraphs are not recognized appropriately