Add VC707 board example
Here is an example, based on KC705, adapted for VC707 which uses the same PHY but hardwired for SGMII.
Feel free to ignore since this board is not available anymore.
Have you tested code in board ?
I have this board but only the most rudimentary test was carried out, i would not have submitted the pull request untested. However with the passage of time i do not know if it would still work with the latest Vivado.
I am working on modifying the code for a different board, so I wanted to know about the testing cases and scenarios that can be done to test working of the modified code. When I connected the board directly to the PC using ethernet and used netcat comand as mentioned( after entering the command i gave "hi" input and pressed enter) it was blank and it did not echo back the message i sent.
Depending on the MAC address of your board, you might have to set up a static route from the chosen IP to the chosen MAC address. You can use the route add command on Linux for this, if you have Windows I don't know how to do it. You might find it helpful to have Wireshark running to snoop on any traffic and try to figure out what is happening. My modification is totally specific to the exact PHY on the VC707, check what PHY you have, one of the existing projects might be closer to what you have.
The board has KSZ9031RNX PHY( datasheet: https://ww1.microchip.com/downloads/en/DeviceDoc/00002117F.pdf ), but it didnot seem to have a MAC address as far as I refered datasheets. Should we need to configure the MAC address ourselves
?
I am using Nexys Video fpga board for reference, and it says it responds to ARP requests, but after i statically route, it ain't responding to the ARP messages
Yes, the MAC address needs to be set manually or from an EEPROM which is hardware dependent. Linux will not generate ARP messages if a static route is present already.
yes the MAC address for the fpga board is set already in the code, Is there any way to route the mac address ? isnt the route add command used to route ip address?
My recommendation is to slap an ILA on the RX side of the MAC and see what's going on there.
there is more than one type of routing table, to associate an IP with a particular MAC address you can use:
arp -s address hw_addr
this is assuming that your ethernet card is on the same subnet
Thanks!, i set it up, but it aint replying back, so will use ila
@jrrk2 @alexforencich thankyou so much for your help, it works now !!! I have not added mdio functionality though but it echo back packets
well done, the MDIO functionality is optional as most PHYs default to autonegotiation, however you can detect additional conditions such as the cable being unplugged.