Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
899 Views

Getting Error with DE0-nano-soc [making u-boot.img]

HW :  

 

 

 

 

https://rocketboards.org/foswiki/view/Documentation/EmbeddedLinuxBeginnerSGuide 

 

Is Anyone who pass that "5. Configure and Compile U-BOOT" Chapter? 

 

 

i got Some Errors., 

 

 

 

I Tried Process..1. Download atlas_linux_ghrd.tar.gz (URL : https://rocketboards.org/foswiki/pub/Documentation/EmbeddedLinuxBeginnerSGuide/atlas_linux_ghrd.tar....)2. execute "Embedded_Command_Shell.bat" => C:\Altera\15.0\embedded\Embedded_Command_Shell.bat3. locate my atlas_linux_ghrd.tar.gz folder => cygdrive/c/atlas_linux_ghrd.tar.gz 

4. Extract "atlas_linux_ghrd.tar.gz"$ tar –xzvf atlas_linux_ghrd.tar.gz5. using bsp editor $ bsp-editor &6. preloader settings directory => atlas_linux_ghrd/hps_isw_handoff/soc_system_hps_0 7. Enables FAT_Support (Radio Button) then Generate => EXIT8. Software/spl_bsp9. make10. $ wget gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz (http://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-20...) => Download Below Link.https://rocketboards.org/foswiki/pub/documentation/embeddedlinuxbeginnersguide/gcc-linaro-arm-linux-.... Extract tar -xvf gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz (http://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-20...

12. Set Enviormental Settings$ export CROSS_COMPILE=$PWD/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-13. $ git clone https://github.com/altera-opensource/u-boot-socfpga.git14.$ cd u-boot-socfpga15. $ git checkout rel_socfpga_v2013.01.01_15.09.01_pr16.make mrproper 17.$ make socfpga_cyclone5_config18.$ make19. probly Can find "u-boot.img" at "u-boot-socfpga" Folder But i cannot find it ..@ number 16, after Typed "make mrproper" .. then said some errors.. how to do.. $ make mrproper process_begin: createprocess(null, /cygdrive/c/sw/atlas_linux_ghrd/software/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -print-file-name=include, ...) failed. 

/usr/bin/sh: /cygdrive/c/sw/atlas_linux_ghrd/software/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: cannot execute binary file 

dirname: missing operand 

try 'dirname --help' for more information. 

process_begin: createprocess(null, /cygdrive/c/sw/atlas_linux_ghrd/software/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -print-file-name=include, ...) failed. 

/usr/bin/sh: /cygdrive/c/sw/atlas_linux_ghrd/software/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: cannot execute binary file 

dirname: missing operand 

try 'dirname --help' for more information. 

process_begin: createprocess(null, /cygdrive/c/sw/atlas_linux_ghrd/software/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -print-file-name=include, ...) failed. 

rm: cannot remove `spl': is a directory 

make: *** [clobber] error 1 

thanks to watch loooooong questions../.Please Give any helping talk... Thanks.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
67 Views

Hi, 

 

The page you are reading is not tie to specific part, it would be good if you refer to the wiki guide for CV soc procedures. and make sure you install the soceds into a supported operating system. 

 

http://www.alterawiki.com/wiki/socedsgettingstarted 

 

Regards, 

CloseCL 

(This message was posted on behalf of Intel Corporation)
Altera_Forum
Honored Contributor I
67 Views

Hi, 

 

If your objective to compile a u-boot for Cyclone V soc, it would be more convenient that you use the u-boot from the SOCEDS. 

 

 

Regards, 

CloseCL 

(This message was posted on behalf of Intel Corporation)
Reply