Forum Discussion
Altera_Forum
Honored Contributor
21 years agoconfigure kernel
hello,
i installed quartusII 4.2, nios2 1.1 and uclinux 1.3. The installation of uCLinux shows at the end a message that "cygwin extension" has not been installed. How can i install cygwin extension manually? i go though the "linux quick start guide" to configure the kernel but when i click on "configure kernel" a dos window appears and closes after a few seconds. I've tried to reinstall but the same problem appears. Can anyone help me to solve this problem? Thnx forward8 Replies
- Altera_Forum
Honored Contributor
TO_BE_DONE
- Altera_Forum
Honored Contributor
Are you sure you have installed the cygwin correctly ?
Maybe if you reinstall everything, but using full instalation instead of 'normal' or anything like it. Your configure.bat seems to be just like mine : @start D:/Altera/quartus41/bin/cygwin/bin/bash.exe -c "source $QUARTUS_ROOTDIR/sopc_builder/bin/nios_sh; source $SOPC_KIT_NIOS2/user.bashrc; KERNEL_PROJECT=D:/Altera/Projetos/teste/kernel; 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/Projetos/teste/kernel/build` menuconfig; " Look if the cygwin directory really exists, and if it is in your path too. - Altera_Forum
Honored Contributor
hi arthur,
i followed your instructions and reinstalled everything but i got the same error. The cygwin directory exists and it is in my path. I think the cygwin extension isnt installed and thats why i cant configure the kernel. Do you know hoc to manually install the cygwin extension? Thnx - Altera_Forum
Honored Contributor
Hello,
i had the same error. Look at this: http://www.niosforum.com/forum/index.php?a...=1697&hl=kernel (http://www.niosforum.com/forum/index.php?act=st&f=2&t=1697&hl=kernel) Regards MikeSp - Altera_Forum
Honored Contributor
hi MikeSP,
i've tried to install linux from c:\nios2linux but it doesn't solve this issue. Anyway thnx. - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by preloader@Jun 8 2005, 03:17 PM can anyone help me to solve this problem? --- Quote End --- Open a shell (cygwin or native) and cd to the location of the kernel sources. Type:
This will work on a GNU/Linux system (provided you have ncurses and gcc installed, but you will need to perform quite some work _not_ to install these). If it does not in your Windows system, your basic compiler environment is bad. Having a look at your cygwin output, it looks to me as if you did not install the compiler header files correctly.$ make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- menuconfig - Altera_Forum
Honored Contributor
It looks like the /usr/include/curses.h symlink didn't get created properly.
Start up a Nios II SDK shell and try:
That should re-install the correct symlinkscd /cygdrive/c/Program\ Files/Microtronix\ Nios\ II\ Linux\ Distribution ./install_cyg_ext.sh - Altera_Forum
Honored Contributor
Hello,
I've had several instances of this same experience, and have tried many of the suggested solutions. After uninstalling and reinstalling attempts, the Microtronix install program won't even proceed with the installation - it it reports that it can't find an installed version of Nios II Development Kit, then exits. Any suggestions? -AR