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++
公告
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

nios2-elf-gcc: command not found

Altera_Forum
名誉分销商 II
1,703 次查看

Hello All ! 

 

I use Toolchain to build kernel but after  

- I install Toolchain  

- make menuconfig 

- make vendor_hwselect SYSPTF=~/hardware/1c12.ptf  

- make romfs  

- make  

- make 'again' 

- make linux image  

I got error message " nios2-elf-gcc: command not found" at make romfs - make and make 'again'  

I can't load zImage to board because of error "Cannot open root "NULL" or block (0,0) ... 

and the most subdir in my romfs dir is empty except romfs/etc  

What wrong ??? 

 

thanks very much for help !
0 项奖励
1 回复
Altera_Forum
名誉分销商 II
825 次查看

Hello All ! 

 

this is error message when make romfs : 

....... 

romfs-inst.sh -e CONFIG_USER_FLATFSD_FLATFSD -e CONFIG_USER_TINYLOGIN_S HADOWPASSWDS -s config/shadow /etc/shadow 

for i in uClibc /home/vietluong/uClinux-dist/prop ; do  

[ ! -d $i ] || make -C $i romfs || exit $? ;  

done 

/bin/sh: nios2-elf-gcc: command not found 

/bin/sh: nios2-elf-gcc: command not found 

/bin/sh: nios2-elf-gcc: command not found 

make[2]: Entering directory `/home/vietluong/uClinux-dist/uClibc' 

[ -e /home/vietluong/uClinux-dist/romfs/lib ] || mkdir /home/vietluong/ uClinux-dist/romfs/lib 

/bin/sh: nios2-elf-gcc: command not found 

if [ "" ]; then  

romfs-inst.sh /lib/lib.so;  

fi 

make[2]: Leaving directory `/home/vietluong/uClinux-dist/uClibc' 

make[1]: Leaving directory `/home/vietluong/uClinux-dist/lib' 

make[1]: Entering directory `/home/vietluong/uClinux-dist/include' 

make[1]: Nothing to be done for `romfs'. 

make[1]: Leaving directory `/home/vietluong/uClinux-dist/include' 

make[1]: Entering directory `/home/vietluong/uClinux-dist/user' 

for i in boa busybox cgi_generic dhcpcd-new ftp games inetd init sash t elnetd /home/vietluong/uClinux-dist/prop ; do  

[ ! -d $i ] || make -C $i romfs || exit $? ;  

done 

make[2]: Entering directory `/home/vietluong/uClinux-dist/user/boa' 

for i in src ; do make -C $i romfs || exit ; done 

make[3]: Entering directory `/home/vietluong/uClinux-dist/user/boa/src' 

romfs-inst.sh /bin/boa 

cp: cannot stat `boa': No such file or directory 

make[3]: *** [romfs] Error 1 

make[3]: Leaving directory `/home/vietluong/uClinux-dist/user/boa/src' 

make[2]: *** [romfs] Error 2 

make[2]: Leaving directory `/home/vietluong/uClinux-dist/user/boa' 

make[1]: *** [romfs] Error 2 

make[1]: Leaving directory `/home/vietluong/uClinux-dist/user' 

make: *** [romfs.subdirs] Error 1 

 

PLEAPLE HELP ME !
0 项奖励
回复