Forum Discussion
Altera_Forum
Honored Contributor
21 years agoI appear to have just had this fault, too. I had a working kernel build that was tweaked for custom hardware. I wanted to baseline the project, and work from a copy. I created a second kernel project, and copied the modified files and the .config file to the new location. I made a duplicate of the FPGA development as well. Some minor changes were made to the FPGA in the "copy" directory, and it was recompiled. I edited the configuration of the "new" kernel project so it pointed at the new .ptf file for the FPGA. That's when bad things happened. After several hours of fussing, I went back and tried to recompile the original kernel project, and it displays the same fault behavior.
The "configure project" function in the IDE doesn't work anymore either. It flashes a bash shell briefly, then closes the window. I edited the script to eliminate the window spawn, and ran the batch file from the command line. I get this response - <div class='quotetop'>QUOTE </div> --- Quote Start --- [SOPC Builder]$ ./config.bat d:\altera\kits\nios2\bin\eclipse\workspace\kernel_01>D:/altera/quartus42/bin/cygwin/bin/bash.exe -c "source $QUARTUS_ROOTDIR/sopc_builder/bin/nios_sh; source $SOPC_KIT_NIOS2/user.bashrc; KERNEL_PROJECT=d:/altera/kits/nios2/bin/eclipse/workspace/kernel_01; make -C `cygpath -u D:/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x` O=`cygpath -u d:/altera/kits/nios2/bin/eclipse/workspace/kernel_01/build` menuconfig; " ------------------------------------------------ Microtronix Linux Extensions Version 1.1, Built Wed Jul 7 12:46pm EST 2004 ------------------------------------------------ make: Entering directory `/cygdrive/d/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x' HOSTCC scripts/basic/fixdep gcc: not found make[2]: *** [scripts/basic/fixdep] Error 127 make[1]: *** [scripts_basic] Error 2 make: *** [menuconfig] Error 2 make: Leaving directory `/cygdrive/d/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x' ~/altera/kits/nios2/bin/eclipse/workspace/kernel_01 [SOPC Builder]$[/b] --- Quote End --- It appears that changing the IDE's project to a different .ptf file may have broken the toolchain links. I'm re-installing the uClinux IDE plugin as I'm typing. If it fixes the situation, I'll post my results. In the mean time, I seem to have hosed the IDE for kernel builds. I tired to build a new kernel project from scratch, but I can't get past the inability to configure the project. Regards, J3