Forum Discussion

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

Wrong information on Nios Wiki

Hello,

I downloaded nios2-linux-20090929.tar as indicated in the Nios Wiki's "Install Nios II Linux".

When I try to :

make vendor_hwselect SYSPTF=....

It doesn't know what to do. I can not use the PTF file. Is there

disconnect with the instructions?????

Thanks:(

6 Replies

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

    I just did it in this morning.

    and I could do that.

    I don't know how far you have done.

    have you specified ptf file by full path?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Have you tried insert ../ before the path of ptf?

    if your .ptf is in the same path of uclinux-dist

    --- Quote Start ---

    make vendor_hwselect SYSPTF=../my_soc.ptf

    --- Quote End ---

    Regards,

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

    I spelled out the complete path to the ptf file. It failed everytime.

    I installed the previous release, and it works just fine: nios2-linux-20090730.tar
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You have to do a "make menuconfig" then select nothing before doing a make vendor for the first time.

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

    Also realize that the wiki contradicts itself in at least one place.

    http://www.alterawiki.com/wiki/installnios2linux (http://www.alterawiki.com/wiki/installnios2linux)

    refers to both 20090929 and 20090730. I had luck with 20090730.

    For your first boot, once you have the toolchain (I used the prebuilt toolchain), then follow the instructions at

    http://www.alterawiki.com/wiki/uclinuxdist (http://www.alterawiki.com/wiki/uclinuxdist).

    for me it was:

    untar

    cd nios2-linux

    ./checkout

    cd uClinux-dist

    make menuconfig

    select only the "default all options (lose changes)

    make vendor_hwselect SYSPTF=/absolute/path/to/.ptf

    make

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

    --- Quote Start ---

    Hello,

    ...

    It doesn't know what to do. I can not use the PTF file. Is there

    disconnect with the instructions?????

    Thanks:(

    --- Quote End ---

    This looks to me that you are not in the right folder. You have to be in the uClinux-dist folder, else this command will be unknown.