Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Honored Contributor I
820 Views

Start to make Uboot.img H/W: DE0-nano-Soc (Atlas-soc,Dev-Platform, Cyclone 5)

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
0 Replies