Results 1 to 6 of 6

Thread: Preloader Make untar failing.

  1. #1
    Join Date
    Oct 2015
    Posts
    10
    Rep Power
    1

    Default Preloader Make untar failing.

    I am attempting to compile a new preloader on windows using SOCEDS 18.0...but am failing at untar'ing the uboot-socfpga.tar.gz.


    Chris@DESKTOP-NSSUV7O /cygdrive/f/VirtualBox VMs/share/rocketboards_image/17_1_DE10/DE0_NANO_SOC_18_0/software/spl_bsp
    $ make
    tar zxf /cygdrive/c/intelFPGA/18.0/embedded/host_tools/altera/preloader/uboot-socfpga.tar.gztar: Error opening archive: Failed to open '/cygdrive/c/intelFPGA/18.0/embedded/host_tools/altera/preloader/uboot-socfpga.tar.gz'
    make: *** [uboot-socfpga/.untar] Error 1

    Ideas?
    Besides the point, I am trying to change the SOC Workshop Kernel Module #9 to use the FPGA 2 SDRAM instead of the FPGS 2 HPS (Heavyweight), by recompiling the preloader, as I've read this is why the FPGS 2 SDRAM is failing for me.

    Right now I'm reinstalling SOCEDS into virtual machine, and trying again.
    Project compiled with 18.0. SOCEDS is version 18.0


    Thanks!
    Last edited by bobharris; June 18th, 2018 at 09:42 AM.

  2. #2
    Join Date
    Oct 2015
    Posts
    10
    Rep Power
    1

    Default Re: Preloader Make untar failing.

    My fix was to remove the untar from the makefile (run the tar xvf $(preloader.tar.gz) myself)and/or make sure the filepath does NOT have any spaces in it. Seemed to work for me for now. New preloader.bin generated!

  3. #3
    Join Date
    Nov 2014
    Posts
    2
    Rep Power
    1

    Default Re: Preloader Make untar failing.

    Quote Originally Posted by bobharris View Post
    My fix was to remove the untar from the makefile (run the tar xvf $(preloader.tar.gz) myself)and/or make sure the filepath does NOT have any spaces in it. Seemed to work for me for now. New preloader.bin generated!
    I am experiencing the same with version 16.1.
    I have an older preloader, which I already have compiled (propablywith an older version). Just tried to recompile this one with version 16.1.
    It reported the same error.
    I can not see which version was used to generate this preloader/BSP.

    It make no difference whether I try to compile the old or the new preloader. Neighter will untar the source code.

    I can confirm, that if I copy the "tar" line from the error message and execute it directly in EDS command shell, it works fine.

  4. #4
    Join Date
    Nov 2014
    Posts
    2
    Rep Power
    1

    Default Re: Preloader Make untar failing.

    Now I just tried the same on an other computer, running Windows 8.1, still Quartus 16.1
    What didn't work on a Windows 10 machine, worked fine on Windows 8.1

    This issue needs a solution

  5. #5
    Join Date
    Jul 2018
    Posts
    1
    Rep Power
    1

    Default Re: Preloader Make untar failing.

    Hello Bob,

    Can you please post the modified makefile you have created?

    Thank you

    Yossi

  6. #6
    Join Date
    Oct 2015
    Posts
    10
    Rep Power
    1

    Default Re: Preloader Make untar failing.

    Commet out lines 219/220 of preloader make file.

    #$(RM) $(PRELOADER_SRC_DIR)
    #$(untar_recipe)

    Run

    tar zxf /cygdrive/c/intelFPGA/18.0/embedded/host_tools/altera/preloader/uboot-socfpga.tar.gz

    then

    make

    from EDS prompt.


    I am not good enough with make to know what is going on, but this seems to be the band-aide for me right now.
    Last edited by bobharris; July 5th, 2018 at 08:49 AM.

Similar Threads

  1. Error during preloader make command
    By chetanvala in forum General Altera Discussion
    Replies: 1
    Last Post: June 2nd, 2017, 09:28 AM
  2. preloader make problem: socfpga_cyclone5_config, Error 2
    By Lars71dk in forum SoC Device Discussion
    Replies: 5
    Last Post: February 23rd, 2017, 02:28 PM
  3. failing.paths.rpt
    By dpoznan in forum OpenCL
    Replies: 1
    Last Post: February 7th, 2017, 05:17 PM
  4. Timing failing on just a few pins
    By robinsonb5 in forum FPGA, Hardcopy, and CPLD Discussion
    Replies: 1
    Last Post: September 28th, 2012, 03:17 PM
  5. make: *** No rule to make target problem
    By lightline in forum General Discussion Forum
    Replies: 10
    Last Post: November 16th, 2010, 12:59 AM

Bookmarks

Posting Permissions

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