Forum Discussion

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

uclinus installation problem

Hi,

I try to install the current uCLinux version downloaded from this side.

The setup could not find the location of Cygwin and asks my therefore for a folder.

But every folder I offer couldn't satisfy the setup procedure.

I get always the warning window 'Could not find Cygwin binaries in this folder!'.

Can anybody help me which folder the setup wants to have???

thanks,

damc

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by damc@Nov 12 2004, 12:05 PM

    i get always the warning window

    'could not find cygwin binaries in this folder!'.

    --- Quote End ---

    I believe that NIOS II installs Cygwin, as opposed to being installed by Quartus.

    The command line SOPC builder runs under Cygwin, right?

    Are you running Nios II in Quartus II v4.x? The Nios II IDE expects Cygwin

    to be at ${QUARTUS_ROOTDIR}/bin/cygwin/.

    You can check for that environment variable under the Nios II SDK shell.

    [SOPC BUILDER}$ echo ${quartus_rootdir}

    C:/altera/quartus41

    Use:

    [SOPC Builder]$ env

    The following are relevant to cygwin:

    ARCH=nios2nommu

    CROSS_COMPILE=nios2-elf-

    CYGWIN=codepage:oem

    These seem to be the paths set in Cygwin/SOPC Builder, and I suppose

    one of them is where you want to put your code.

    PATH=/usr/local/bin:/bin:/usr/bin:/cygdrive/c/altera/kits/nios2/bin:/cygdrive/c/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin:/cygdrive/c/altera/kits/nios2/bin/fs2/bin:/cygdrive/c/altera/quartus41/bin:/cygdrive/c/altera/quartus41/bin/perl561/bin:/cygdrive/c/altera/quartus41/bin/gnu:/cygdrive/c/altera/quartus41/sopc_builder/bin:/bin:/usr/bin

    Please let me know what you find out?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Leslie,

    thanks for your help!

    Yes you are right with your explanation.

    My fault was that I thought

    ${QUARTUS_ROOTDIR}/bin/cygwin/bin

    is the right path, but it is as you wrote

    ${QUARTUS_ROOTDIR}/bin/cygwin/.

    Now I am just wondering why the setup.exe isn't finding this, if I am using the default path and the QUARUTS_ROOTDIR variable is correct.

    Ok, my quartus_rootdir is on drive D: and not on drive C:, but this shouldn't matter.

    thanks again,

    damc