element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Avnet Boards General Ethernet is not running in Zedboard
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 11 replies
  • Subscribers 353 subscribers
  • Views 3177 views
  • Users 0 members are here
Related

Ethernet is not running in Zedboard

Former Member
Former Member over 13 years ago

I was trying to migrate the WinCE BSP for Xilinx ZC702 for ZedBoard and got stuck in getting the Ethernet working.
After I change the PHY address to 0 it successfully completes the autonegotiation and reports the link speed. There after it fails and looks like it is not receiving any frames.
I blamed the PHY chip differences and spend couple of days in the data sheets and no luck. At that point I thought of trying with the supplied Linux boot image(till then I used the xilinx XPS and run the sample based on the hw definition file from Zedboard and didn't check the LAN).
Surprisingly it didn't even do the self pinging, I changed the IP address but it stuck with the ping command as follows
PING 192.168.1.10 (192.168.1.10): 56 data bytes

Out of the 3 boards we have I checked two and got the same results. Any help is much appreciated.

  • Sign in to reply
  • Cancel

Top Replies

  • zedhed
    zedhed over 13 years ago +1
    Hi Seetharam, We have a Getting Started Guide posted in the Documents section on ZedBoard.org which contains a section on using the ZedBoard Ethernet. http://zedboard.org/sites/default/files/documentations…
Parents
  • zedhed
    0 zedhed over 13 years ago

    Seetharam,

    Can you please elaborate on what you mean by the self-pinging?  Are you talking about pinging the address of lo or eth0 adapters? 

    I tried pinging both adapters on my ZedBoard and there was no response which seems to match what you are seeing. 

    i did some experimenting since I noticed that lo was not even listed.  First I brought lo up using the following command:

    zynq> ifconfig lo up

    Then I was able to ping 127.0.0.1 successfully.

    For grins, I brought eth0 down and then back up using the following commands:

    zynq> ifconfig eth0 down
    zynq> ifconfig eth0 up

    Then I was able to ping 192.168.1.10 successfully.

    Not sure if I have a good explanation for this behavior though.  Maybe this has something to do with the order that things are brought up in /dev/init.d/rcS?

    Please let me know if you see the same thing on your end.

    Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • zedhed
    0 zedhed over 13 years ago

    Seetharam,

    Can you please elaborate on what you mean by the self-pinging?  Are you talking about pinging the address of lo or eth0 adapters? 

    I tried pinging both adapters on my ZedBoard and there was no response which seems to match what you are seeing. 

    i did some experimenting since I noticed that lo was not even listed.  First I brought lo up using the following command:

    zynq> ifconfig lo up

    Then I was able to ping 127.0.0.1 successfully.

    For grins, I brought eth0 down and then back up using the following commands:

    zynq> ifconfig eth0 down
    zynq> ifconfig eth0 up

    Then I was able to ping 192.168.1.10 successfully.

    Not sure if I have a good explanation for this behavior though.  Maybe this has something to do with the order that things are brought up in /dev/init.d/rcS?

    Please let me know if you see the same thing on your end.

    Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Former Member
    0 Former Member over 13 years ago in reply to zedhed

    Kevin,
    Yep. I see the same over here.
    Once I enable the loop back(ifconfig lo up) I can ping the 127.0.0.1 or the IP address of Zedboard.The other command is not required.Explanation could be ZC702 it is enabled and Zedboard it is not enabled by default.
    Looks like I am missing some setting still in driver level at BSP code.Do you have any suggestions other than the PHY address any other specific settings required for Marvell 88E1518 chip compare to 88E111R?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to Former Member

    Hi Seetharam,

    I know this thread is a little old but I figure it's worth a shot.

    I'm currently trying to accomplish something similar to you in that I'd like to port a QNX BSP from the ZC702 to the Zedboard.

    Like you, I changed the PHY address to 0 in my source code and still had no luck.

    After some more digging, I noticed that the ZC702 has a reset line connected to the PHY from MIO11 (this signal is AND'ed with the POR signal). On the Zedboard, there is only the POR signal connected to the PHY reset line meaning the SoC can't reset the PHY. So if the driver attempts to reset the PHY in software during configuration (which the QNX driver does when it's started), it will fail.

    I also noticed that the Ethernet frequencies (ENET0_FREQ and ENET1_FREQ in ps7_init.h) are different between the ZC702 and the Zedboard. I don't know if these frequencies are PHY specific as I haven't been able to find the datasheets for the 88E1518 or 88E111R (I believe you need an NDA signed with Marvell to access them and I haven't gotten that desperate yet).

    Have you happened to make any new discoveries since you posted last September?


    Best regards,
    Chris

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to Former Member

    I'm posting for anyone else who happens across this thread. Hopefully, this will be useful for somebody.

    There are a few things that need to be addressed to port Ethernet connectivity from a ZC702 board support package to the Zedboard. Here are the changes I had to make to get Ethernet up and running:

    1) Hardcode the PHY address to 0
    2) The ZC702 seems to store the PHY MAC address in an I2C EEPROM. I had to eliminate any EEPROM code to make sure nothing hangs/fails in trying to access it and then hardcode the MAC address to 00:0a:35:00:01:22
    3) I eliminated any code that attempted to reset the PHY through MIO 11 as this connection is not wired on the Zedboard
    3) I didn't actually need this, but you may need to change the PHY ID to 0x1410dd1

    The good news is that the lacking reset line wiring won't prevent you from getting everything talking nicely.


    Best,
    Chris

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 7 years ago in reply to Former Member

    Hi Chris,

    I am also working to port QNX on zedboard, starting from zc702 BSP. Thank you for the valuable information posted above.

    However, I am stuck at your first step "Hardcode the  to 0 in source code".

    There are 3 source C files in devnp folder which possibly contains PHY address (phy_addr in mii.c and nicinfo.h, phys_addr in bdring.c, phy_address in control.c as varieties). Note nicinfo.h is in /opt/qnx650/target/qnx6/usr/include/hw/nicinfo.h

    QNX boot sequence crashes after my tries. Please advise how to make the correct modification to null the PHY address.

    Thanks in advance,


    Mike

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube