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 DTC: non-existing node
  • 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 4 replies
  • Subscribers 329 subscribers
  • Views 1943 views
  • Users 0 members are here
Related

DTC: non-existing node

suppamax
suppamax over 10 years ago

Hi everybody,

I'd like to write a linux application for microzed.
The Zynq will also use some logic in PL, in particular an AXI_DMA a custom IP (AXI_counter) streaming data to it.

I generated the DTS following this wiki: http://www.wiki.xilinx.com/Build+Device+Tree+Blob

The problem is that when I try to generate the device tree blob I got this error

>dtc -I dts -O dtb -o xilinx.dtb xilinx.dts
ERROR (phandle_references): Reference to non-existent node or label "AXI_counter_0"

ERROR (phandle_references): Reference to non-existent node or label "AXI_counter_0"

ERROR: Input tree has errors, aborting (use -f to force output)


  • Sign in to reply
  • Cancel
Parents
  • zedhed
    0 zedhed over 10 years ago

    Hi suppamax,

    Okay, so since your AXI_counter_0 is a piece of custom IP then I assume you are planning to write a driver for it?

    If so, then all you need to do is create an entry in the devicetree that tells the kernel which device driver your AXI_counter_0 instance will use and also point it to where the custom IP is located in memory space.

    As part of our "Implementing Linux on the Zynqu00AE-7000 All Programmable SoC (ISE 14.2)" SpeedWay training.  We showed an example custom IP peripheral called "led-brightness" and a Linux driver which allowed access to that peripheral.  Within the devicetree, an entry was needed to tie the device driver to the area of memory where the custom IP was instantiated.

    led-brightness@412000000 {
       compatible = "avnet,led-brightness";
       reg = <0x41200000 0x20>;
    };

    Regards,

    -Kevin

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

    Hi suppamax,

    Okay, so since your AXI_counter_0 is a piece of custom IP then I assume you are planning to write a driver for it?

    If so, then all you need to do is create an entry in the devicetree that tells the kernel which device driver your AXI_counter_0 instance will use and also point it to where the custom IP is located in memory space.

    As part of our "Implementing Linux on the Zynqu00AE-7000 All Programmable SoC (ISE 14.2)" SpeedWay training.  We showed an example custom IP peripheral called "led-brightness" and a Linux driver which allowed access to that peripheral.  Within the devicetree, an entry was needed to tie the device driver to the area of memory where the custom IP was instantiated.

    led-brightness@412000000 {
       compatible = "avnet,led-brightness";
       reg = <0x41200000 0x20>;
    };

    Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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