Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12409 Discussions

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

Altera_Forum
Honored Contributor II
991 Views

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 II
159 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 II
159 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