Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12603 Discussions

nios2-elf-objcopy: command not found

Altera_Forum
Honored Contributor II
2,940 Views

who can help me with the problem below: 

 

 

[root@localhost uClinux-dist]# nios2-download -g ../3c120_default/linux.initramfs.gz  

/opt/altera9.1/nios2eds/bin/nios2-download: line 586: nios2-elf-objcopy: command not found 

 

how can i solve this problem~~ thanks!
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
1,732 Views

you can use the "locate " to find the command ,and add the path to the env PATH. wish this may help

0 Kudos
Altera_Forum
Honored Contributor II
1,732 Views

You have to find where the nios2-elf-objcopy lives. and add that directory to path (for bash : 'export PATH=$PATH:/absolute/path/to/directory' ) 

 

For my system its in 

 

$nios2edsrootdir$/bin/nios2-gnutools/H-i686-pc-linux-gnu/bin/nios2-elf-objcopy
0 Kudos
Reply