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 How to run DMA program in linux environment using ZED BOARD
  • 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 7 replies
  • Subscribers 329 subscribers
  • Views 545 views
  • Users 0 members are here
Related

How to run DMA program in linux environment using ZED BOARD

Former Member
Former Member over 12 years ago

while i am running a DMA program in SDK it displays error like
fatal error: xscutimer.h: No such file or directory

How to rectify the error.
And also send me the procedure for running a DMA program on linux environment in zedboard.

can you please reply as soon as possible.

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    0 Former Member over 12 years ago

    I saw the CDMA example design.In that SW:Standalone.
    But in my case i am using BSP in that i used
    SW :linux
    CPU:single CPU
    Design type:PS and PL
    while i am building DMA program(OCM2PL.c) on SDK it displays
    ""fatal error: xscutimer.h: No such file or directory"".

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

    if you include a timer IP in your design in XPS, the hw config passed to SDK will include it ps7_, and then when you create the BSP you will get the driver and the file that you don't have. from the Xilinx IP drivers viz. from C:Xilinx14.3ISE_DSEDKswXilinxProcessorIPLibdriversscutimer_v1_01_a.
    let us know if this is your problem! good luck.

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

    as u told,C:Xilinx14.3ISE_DSEDKswXilinxProcessorIPLibdriversscutimer_v1_01_a
    I included all header files on program.But again it displays error as


    **** Build of configuration Debug for project Dma ****

    make all
    Building file: ../src/helloworld.c
    Invoking: ARM Linux gcc compiler
    arm-xilinx-linux-gnueabi-gcc -Wall -O0 -g3 -I"C:Xilinx14.4ISE_DSEDKswXilinxProcessorIPLibdriversscutimer_v1_00_asrc" -I"C:Xilinx14.4ISE_DSEDKswXilinxProcessorIPLibdriversdmaps_v1_00_asrc" -I"C:Xilinx14.4ISE_DSEDKswXilinxProcessorIPLibdriversscugic_v1_00_asrc" -I"C:Xilinx14.4ISE_DSEDKswXilinxProcessorIPLibdriverscommon_v1_00_asrc" -I../../standalone_bsp_0/ps7_cortexa9_0/include -I"C:Xilinx14.4ISE_DSEDKswlibbspstandalone_v3_07_asrccortexa9" -c -fmessage-length=0 -MMD -MP -MF"src/helloworld.d" -MT"src/helloworld.d" -o"src/helloworld.o" "../src/helloworld.c"
    arm-xilinx-linux-gnueabi-gcc: fatal error: no input files
    compilation terminated.
    make: *** [src/helloworld.o] Error 1

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

    i am not sure what you lack from this error message.
    i think you have problems with the BSP from your original post.
    the library drivers need to be part of your BSP.
    you need to go back to the manuals and follow how to do this properly. saying you added include files to your program tells me you haven't assimilated the process or haven't communicated your results to us.
    if you fail to follow the automated process in the EDK, there are bound to be errors of all sorts, not very interesting to track down and reinvent the wheel.
    the EDK process of creating a BSP for a configuration with a timer works!! i think you are wasting time here, trying to pitch from left field.
    if i'm wrong, i'm sorry and will defer to someone from avnet or xilinx.

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

    I followed same procedure as like as simple Hello_world mention in zedboard and chosen "OS Platform as Linux".check out this link i followed the procedure as
    http://zedboard.org/content/zedboard-create-planahead-project-embedded-processor.
    Then replaced that Hello_world code by My program(DMA)..while compling I faced error and post in the zedboard->support->s/w development application and then as u said i added header files in the project explorer window in SDK to the include folder as a path.pls check out link below for header file inclusion as  http://s1322.photobucket.com/user/Arunvision/media/sdk_bsp_zps99084a46.jpg.html

    we got the error like as

    **** Build of configuration Debug for project Dma ****

    make all
    Building file: ../src/OCM2PL.c
    Invoking: ARM Linux gcc compiler
    arm-xilinx-linux-gnueabi-gcc -Wall -O0 -g3 -I"C:Xilinx14.4ISE_DSEDKswXilinxProcessorIPLibdriversscutimer_v1_00_asrc" -I"C:Xilinx14.4ISE_DSEDKswXilinxProcessorIPLibdriversdmaps_v1_00_asrc" -I"C:Xilinx14.4ISE_DSEDKswXilinxProcessorIPLibdriversscugic_v1_00_asrc" -I"C:Xilinx14.4ISE_DSEDKswXilinxProcessorIPLibdriverscommon_v1_00_asrc" -I"C:Xilinx14.4ISE_DSEDKswlibbspstandalone_v3_07_asrccortexa9" -c -fmessage-length=0 -MMD -MP -MF"src/OCM2PL.d" -MT"src/OCM2PL.d" -o"src/OCM2PL.o" "../src/OCM2PL.c"
    arm-xilinx-linux-gnueabi-gcc: fatal error: no input files
    compilation terminated.
    make: *** [src/OCM2PL.o] Error 1

    Pls provide solution as soon as possible.

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

    your problem is that you just added the libsrc to your app.
    it should have been included in the bsp under ps7_cortexa9_1/libsrc. again this happens when you create your BSP in the SDK.
    sorry this is not clear to you at this point.
    you will have to provide your own solution, i'm afraid. this is not a helpdesk for inexperienced aspirants.
    i have tried to explain, but you seem focused on simple program linkage, not this hw/sw embedded design IDE.
    good luck to you -- stay on the beaten path; you'll understand.

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

    your problem is that you just added the libsrc to your app.
    it should have been included in the bsp under ps7_cortexa9_1/libsrc. again this happens when you create your BSP in the SDK.
    sorry this is not clear to you at this point.
    you will have to provide your own solution, i'm afraid. this is not a helpdesk for inexperienced aspirants.
    i have tried to explain, but you seem focused on simple program linkage, not this hw/sw embedded design IDE.
    good luck to you -- stay on the beaten path; you'll understand.

    • 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