Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

configure 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 forward

8 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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:

    $ make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- menuconfig

    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.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    It looks like the /usr/include/curses.h symlink didn't get created properly.

    Start up a Nios II SDK shell and try:

     cd /cygdrive/c/Program\ Files/Microtronix\ Nios\ II\ Linux\ Distribution
    ./install_cyg_ext.sh

    That should re-install the correct symlinks
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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