Results 1 to 1 of 1

Thread: Cannot compile U-Boot for arria 5

  1. #1
    Join Date
    Jul 2018
    Rep Power

    Default Cannot compile U-Boot for arria 5

    Hello all,

    I am facing some problem that I cannot build u-boot for arria5.
    The platform is x86_64 Ubuntu 14.04 LTS.

    At first I executed as below.

    $ cd intelFPGA/18.0/embedded 
    $ ./  
    $ ... #download and install gcclinaro-7.3.1 $ export CROSS_COMPILE=/path/to/linaro_installation_directory/bin/arm-linux-gnueabihf-  
    $ mkdir -p ~/u-boot $ cd ~/u-boot
    $ git clone 
    $ cd u-boot-socfpga
    $ git checkout rel_socfpga_v2017.09_18.06.02_pr  #This tag is the latest of rel*
    $ make socfpga_arria5_config $ make
    On the make, I got the next messages.

    ...  LD    u-boot drives/ddr/altera/built-in.o: In function `sdram_calculate_size': 
    ~/u-boot/u-boot-sockfpga/drivers/ddr/altera/sdram.c:482: undefined reference to `socfpga_get_sdram_config' 
    path/to/linaro_installation_directory/bin/arm-linux-gnueabihf-ld.bfd: BFD (Linaro_Binutils-2018.05) assertion fail /home/tcwg-buildslave/workspace/tcwg-make-release/builder-arch/adm64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/snapshots/binutils-gdb.git~users~linaro~binutils-2_28-branch/bfd/elf32-arm.c:9514
     make: *** [u-boot] Error 1

    However, on a commit tagged with v2018.07-rc3, we successfully built u-boot.
    Could you tell me why this fails?
    Or is it enough to use u-boot from a commit v2018.07-rc3?

    Thank you.
    Last edited by nutsman; July 10th, 2018 at 08:39 PM.

Similar Threads

  1. Replies: 6
    Last Post: May 16th, 2018, 09:36 AM
  2. Quartus-II synthesis/compile errors for Arria V device
    By Shuo Huang in forum Quartus II and EDA Tools Discussion
    Replies: 14
    Last Post: June 26th, 2015, 01:50 PM
  3. fail to compile arria dev board example bts_config
    By thruyeyhex in forum Quartus II and EDA Tools Discussion
    Replies: 1
    Last Post: June 27th, 2014, 11:40 AM
  4. cannot compile u-boot for DE1
    By aijazbaig1 in forum MicroC/OS-II Forum
    Replies: 3
    Last Post: November 24th, 2011, 12:32 AM
  5. [u-boot] hwo to setup ENV in compile time
    By mountain8848 in forum Linux Forum
    Replies: 4
    Last Post: October 18th, 2005, 05:08 PM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts