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
    About the element14 Community
  • 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 no PHY setup on Zedboard using petalinux 2014.2
  • 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 12 replies
  • Subscribers 374 subscribers
  • Views 1369 views
  • Users 0 members are here
Related

no PHY setup on Zedboard using petalinux 2014.2

e14 Contributor
e14 Contributor over 11 years ago

I have made a simple Zedboard configuration using Vivado 2014.2 and Petalinux 2014.2 under SUSE enterprise. The configuration just has the switches, buttons and LEDu2019s.
After exporting things from Vivado I run through the following

petalinux-create --type project --template <CPU_TYPE> --name <PROJECT_NAME>
cd <directory which contains hardware description file>
petalinux-config --get-hw-description -p <plnx-proj-root>

I use the menu to select SD card booting then run;

petalinux-build

Finally I do;

petalinux-package --boot --fsbl <FSBL image> --fpga <FPGA bitstream> --uboot

After copying the BOOT.bin and image.ub files onto and SD card the board boots up and runs my little test app ok.

I tried ifconfig 192.168.1.3 and that was OK but I get no response from a ping on the Ethernet. Looking at the boot results is appears I have the following error
u201CConfiguring network interfaces... xemacps e000b000.ps7-ethernet: eth0: no PHY setupu201D

Apparently this means I have no Ethernet driver, so my question is simple, what do I have to change in the build configuration to get this driver built for the Zedboard?

Thanks in advance for your help

  • Sign in to reply
  • Cancel
Parents
  • e14 Contributor
    0 e14 Contributor over 11 years ago

    This is almost certainly an issue with the devicetree.  Tske a look at the bsp package for 2014.2 under the zedboard reference designs for the correct entry.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • e14 Contributor
    0 e14 Contributor over 11 years ago

    This is almost certainly an issue with the devicetree.  Tske a look at the bsp package for 2014.2 under the zedboard reference designs for the correct entry.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • e14 Contributor
    0 e14 Contributor over 11 years ago in reply to e14 Contributor

    You are correct the system-top.dts under subsystems/linux/configs needs this adding

    &ps7_ethernet_0 {
    tphy-handle = <&phy0>;
    tmdio {
    tt#address-cells = <1>;
    tt#size-cells = <0>;
    ttphy0: phy@0 {
    tttcompatible = "marvell,88e1510";
    tttdevice_type = "ethernet-phy";
    tttreg = <0>;
    tt} ;
    t} ;
    };

    I donu2019t understand why this is not added automatically as the marvell option in selected in the kernel configuration PHY Device support and infrastructure menu so maybe this is a bug.

    Thank you for your help the my Ethernet works fine after I manually add the above and rebuild.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bkamen
    0 bkamen over 11 years ago in reply to e14 Contributor

    I'm running into the same problem on the microZed -- which has a Marvell 88e1512.

    I've implemented this in either ps.dtsi and system-top.dts (adjusting the "compatible" line accordingly)

    Neither location changes anything.

    My kernal has all the MDIO options set...

    Always the same:

    "Configuring network interfaces... xemacps e000b000.ps7-ethernet: eth0: no PHY setup"


    uBoot works fine. (I realize that's different)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 11 years ago in reply to bkamen

    I would suggest trying PetaLinux 2014.4, which seems to have corrected some ethernet issues.

     

    That said, this post might be helpful if you need to stay with PetaLinux 2014;2: http://zedboard.org/content/device-tree-fo-zynq-20144-linux-317

     

    -Gary

    • 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.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube