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 Zedboard can't run progream
  • 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 5 replies
  • Subscribers 367 subscribers
  • Views 471 views
  • Users 0 members are here
Related

Zedboard can't run progream

Former Member
Former Member over 10 years ago

  I'm a newbie to Zedboard,and now I have met some problems, but I don't know what's wrong . I have tried to move linux on Zedboard, and I have followed the tutorial on Zedboard.org support-Reference Designs/Tutorials-Ubuntu Desktop Linux.
  Now, my board can start Linux with HDMI signal out .That's what I want .And common orders like rm,ls etc also wokrs well. But when I wrote a program to test , something wrong happened.
  I have written a simple program that just used a printf .I used the cross comoiler arm-xilinx-linux-gnueabi-gcc to compile it in the VMware,and then I put it into the Zedboard. But when I ran this program on the board, I didn't see any messages that should printed by the printf in the terminal. Also,there is no messages to show that the program is wrong. The program is just run ,and printf nothing. I have no idea what's wrong with it, so I wrote another program which used fprintf to write "hello world" into an empty txt file. I also use cross compiler to compile it ,and ran it on the board. This time , after running, I saw nothing in the empty txt file,and I think the program may just not run at all.
  by the way ,all the functions of the two programs were tested to be right.
  so I want to know what's wrong with it ?maybe the file uImage is  lack of  some function? or there are some other questions?
  Thanks in advance.

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

    Hi flag1234,

    Could be something basic like a libc compatibility.  I think that the Ubuntu Desktop binaries get built with the Linaro GCC cross compiler.

    Since you have Ubuntu Desktop Linux running on ZedBoard, you should be able to use the native Linaro ARM compiler on your ZedBoard to try and build your application (and then run it) all from ZedBoard without using your PC to cross compile.

    Regards,

    -Kevin

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

    Hi Kevin,
    I have tested to run a problem just used the board witoout PC, this time ,it can run as it should .But I found it a little difficult to edit C source files on the board because the linux system sometimes not worked so good as PC has. If I can edit files on PC VMwares and then compile them ,and run on the board, it will be great . so I still hope if there is a cross compiler I can use . Do you have any ideas ?
    Thanks in advance.

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

    Hi Kevin,
    I have tested to run a problem just used the board witoout PC, this time ,it can run as it should .But I found it a little difficult to edit C source files on the board because the linux system sometimes not worked so good as PC has. If I can edit files on PC VMwares and then compile them ,and run on the board, it will be great . so I still hope if there is a cross compiler I can use . Do you have any ideas ?
    Thanks in advance.

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

    sorry,it's my fault to spell 'program' as 'problem' in the first sentence .

    • 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