element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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 Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development No ethernet device found on Zedboard Linux
  • 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 1 reply
  • Subscribers 328 subscribers
  • Views 255 views
  • Users 0 members are here
Related

No ethernet device found on Zedboard Linux

linux.matthew
linux.matthew over 12 years ago

I'm building my own linux image form my Avnet Zedboard using the meta-xilinx "zedboard-zynq7" layer for my Yocto environment.  Everything builds smoothly, and I create my SD card according to the BOOT.sdcard instructions.  It boots linux cleanly, but I have no ethernet device:

Populating dev cache
Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device

The ethernet works fine under u-boot with the ping test if I manually set the IP.  So I'm guessing the linux build is flaky.  One thing I've noticed is that the BOOT.sdcard says to use the DTB file:

DTB:    devicetree.dtb (uImage-<machine name>.dtb)

but I've noticed that the one created by bitbake

zedboard-zynq7-mmcblk0p2.dtb
zedboard-zynq7-ram.dtb

are considerably smaller than the devicetree.dtb in the 14.5 release. 

Can anyone help me out?  This seems like it should be a simple fix. Thanks

Matt

  • Sign in to reply
  • Cancel
  • zedhed
    0 zedhed over 12 years ago

    Hi linux.matthew,

    Sounds like you could have your Ethernet device either missing or incorrectly configured within the device tree.

    In our SpeedWay training, there is an entry for the Gigabit Ethernet Device which looks like this:

    eth@e000b000 {
    compatible = "xlnx,ps7-ethernet-1.00.a";
    reg = <0xe000b000 0x1000>;
    interrupts = <0 22 0>;
    interrupt-parent = <&gic>;
    phy-handle = <&phy0>;
    xlnx,ptp-enet-clock = <111111111>;
    xlnx,slcr-div0-1000Mbps = <8>;
    xlnx,slcr-div0-100Mbps = <8>;
    xlnx,slcr-div0-10Mbps = <8>;
    xlnx,slcr-div1-1000Mbps = <1>;
    xlnx,slcr-div1-100Mbps = <5>;
    xlnx,slcr-div1-10Mbps = <50>;
    #address-cells = <0x1>;
    #size-cells = <0x0>;

    phy0: phy@0 {
      compatible = "marvell,88e1510";
      device_type = "ethernet-phy";
      reg = <0x0>;
      marvell,reg-init=<3 16 0xff00 0x1e 3 17 0xfff0 0x0a>;
    };
    };

    Please take a look in your device tree from bitbake and see if there is a similar entry in there.

    Regards,

    -Kevin

    • 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 © 2025 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