Forum Discussion

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

Help to install uClinux on Cyclone 3

Please help me, i have some problems compling the nios2 toolchainI want to install uClinux (2.6.9) on Cyclone 3 EP3C25F324C8, following the tutorial "http://scorpius.homelinux.org/~marc/nios2.html". When i arrive at the command "make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- hwselect SYSPTF=/home/nastri/nios/sopc.ptf" for the kernel configuration, there would be a list of hardware resources of my Nios system, but the list is empty (under "Please select a device to upload the kernel to:"). In the following it can be observed the problem in the Linux (Debian) shell.

2 Replies

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

    Pratically:

    nastri@debian:~$ su

    Password:

    root@debian:/home/nastri# export PATH=$PATH:/opt/nios2/bin

    root@debian:/home/nastri# cd linux-2.6.9

    root@debian:/home/nastri/linux-2.6.9# make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- hwselect SYSPTF=/home/nastri/nios/sopc.ptf

    no emulation specific options.

    RUNNING hwselect

    --- Please select which CPU you wish to build the kernel against:

    (1) cpu - Class: altera_nios2 Type: s Version: 7.08120

    Selection: 1

    --- Please select a device to upload the kernel to:

    Selection: (but there aren't options to choose)"

    Regards