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
  • 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 & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
ZedBoard Hardware Design u-boot build error
  • 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 3 replies
  • Subscribers 341 subscribers
  • Views 1045 views
  • Users 0 members are here
Related

u-boot build error

Former Member
Former Member over 10 years ago

Hi,
  I am trying to build the u-boot file to get the base design running. In the tutorial it says to

>git clone git://github.com/Xilinx/u-boot-xlnx.git
> cd u-boot-xlnx
>make zynq_zed_config
>make

however when I try to make i get the following errors. I've searched around and I am not sure what is wrong.

>make
scripts/kconfig/conf --silentoldconfig Kconfig
scripts/kconfig/conf --silentoldconfig Kconfig
  CHK     include/config.h
  GEN     include/autoconf.mk
gcc: error: unrecognized command line option u2018-mno-unaligned-accessu2019
gcc: error: unrecognized command line option u2018-mfpu=neonu2019
scripts/Makefile.autoconf:64: recipe for target 'include/autoconf.mk' failed
make[2]: *** [include/autoconf.mk] Error 1
Makefile:470: recipe for target 'silentoldconfig' failed
make[1]: *** [silentoldconfig] Error 1
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'.  Stop.

Has anyone encountered this before and solved it, or can point me to the problem?

Thank you



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

    Hi BluePAZ,

    It sounds like you might not have your ARM cross toolchain setup correctly and the default (x86) version of gcc is being called instead.  If the ARM cross complier is not used, you will see messages like "gcc: error: unrecognized command line option u2018-mno-unaligned-accessu2019" because x86 gcc does not know about the different ARM architecture arguments used to build U-Boot for Zynq.

    Take a look at this Wiki page here for more information on setting up the build environment:

    http://www.wiki.xilinx.com/Install+Xilinx+Tools

    There is also some additional information in this Xilinx forums thread:

    http://forums.xilinx.com/t5/Embedded-Linux/Zynq-Tool-Installation-and-U-boot-compilation-errors/td-p/229393

    Regards,

    -Kevin

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

    Hello,

        May I ask you to please help me fix this error while building u-boot for the zedboard (/ This is on Ubuntu 2016.1 and Vivado 2016.1

    make
    scripts/kconfig/conf  --silentoldconfig Kconfig
      CHK     include/config.h
      GEN     include/autoconf.mk
      GEN     include/autoconf.mk.dep
      GEN     spl/include/autoconf.mk
      CHK     include/config/uboot.release
      CHK     include/generated/version_autogenerated.h
      CHK     include/generated/timestamp_autogenerated.h
      UPD     include/generated/timestamp_autogenerated.h
      CHK     include/generated/generic-asm-offsets.h
      CHK     include/generated/asm-offsets.h
      HOSTCC  tools/mkenvimage.o
      HOSTLD  tools/mkenvimage
      HOSTCC  tools/aisimage.o
    In file included from tools/aisimage.c:10:0:
    include/image.h:949:27: fatal error: openssl/evp.h: No such file or directory
    compilation terminated.
    scripts/Makefile.host:111: recipe for target 'tools/aisimage.o' failed
    make[1]: *** [tools/aisimage.o] Error 1
    Makefile:1210: recipe for target 'tools' failed
    make: *** [tools] Error 2

    Thank you for your time,
    Regards.
     
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago in reply to Former Member

    Hello,

         sudo apt-get install libssl-dev fixed the problem

     

    Thanks,

    • 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