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
Using Xilinx Tools Forum u-boot build failed
  • 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 8 replies
  • Subscribers 336 subscribers
  • Views 765 views
  • Users 0 members are here
Related

u-boot build failed

Former Member
Former Member over 10 years ago

Hi,



I would like build u-boot for my Zedboard but I have some problem.
I am following the tutorial "Ubuntu Desktop Linux".
I set the PATH to : <directory>/SDK/2015.1/gnu/arm/lin/bin
I set the environemment variable CROSS_COMPILE to : arm-xilinx-linux-gnueabi-
I set ARCH to : arm
and when I launch "sudo make distclean" I have this error :
sudo: arm-xilinx-linux-gnueabi-gcc : command nor found
and I don't know why ????

Thanks
Jo

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

    Hi Jo,

    Sounds like you are close so lets rule out the simple things first.

    Did you verify that your path <directory>/SDK/2015.1/gnu/arm/lin/bin contains that cross compiler executable?

    If you run the command 'arm-xilinx-linux-gnueabi-gcc' all by itself, you can verify that your PATH was set correctly.

    If the path was set correctly, then the gcc cross toolchain will complain about no input files.  If the path is set incorrectly, that gcc executable will not be found.

    Regards,

    -Kevin

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

    Thanks for your answer.

    Yes my PATH is set correctly, "echo $PATH" return me the correct path.
    I tried the command 'sudo arm-xilinx-linux-gnueabi-gcc -v' for look if the gcc work correctly in the folder /opt/Xilinx/SDK/2015.1/gnu/arm/lin/bin but when I launch it I have "Command not found". Do it means that the gcc don't work ?

    Jo

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

    Jo,

      Have you gone through all the steps to set up the development environment properly?  You have to install the tool chain on your Linux system to have access to the Code Sourcery compiler.   The steps to do this are described in a document on this site called VirtualBox and Linux VM installation guide.  You can find that under the Zynq Mini-ITX Ubuntu Desktop Linux reference designs.

    Ron

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

    Hi,

    Yes I followed the installation guide.
    I use the Code Sourcery compiler that I found in the folder of Xilinx SDK, may be I can't use it but which compiler I should use ?

    Jo

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

    I found this link : http://www.wiki.xilinx.com/Install+Xilinx+Tools
    I have to install ia32-libs but I can't because I use Ubuntu 14.04 and since the Multi Arch this lib don't exist anymore for this version of Ubuntu, may be it's beacause of that I can't compile but how to do ?

    Jo

    • 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 Former Member

    Have you looked at Sven Andersson's blog: http://svenand.blogdrive.com/

     

    He has been successfully using PetaLinux under Ubuntu 14.04 so you might want to see if his blog might be helpful.

     

    -Gary

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

    Yes I looked at Sven Andersson's blog but I found nothing

    Jo

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

    Hi Jo,

      I see you are using Ubuntu 14.04 as your development platform.  In my experience using Ubuntu, you are better off using the ARM tool chain instead of Code Sourcery.  It's simply easier to get installed and working. 

    I haven't used 14.04, but if you take a look at the .pdf document included in the Ubuntu Desktop Linux for Zedboard download, there is an Appendix dedicated to the installation of the development environment on Ubuntu 12.04.   There may be a few differences in 14.04, but I suspect you have enough Linux background to work around any minor problems.   See pages 125-126 for the compiler installation, but it may be beneficial to walk through the entire Appendix starting on page 118.  

    Ron

    • 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