Forum Discussion

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

Help-load uclinux on FPGA

Dear friends,

Recently I have a try for loading uclinux on FPGA. And I do it as Altera wiki-Install Nios II Linux.

http://www.alterawiki.com/wiki/install_nios_ii_linux

And when I have install the gcc-4.2 and then make commands as list:

--tar xf <path_to>nios2-linux-20100621.tar

--cd nios2-linux

--cd uClinux-dist

--make menuconfig

I was stack in this step,the message is

"make: *** No rule to make target `menuconfig'. Stop."

Any one occured this problem before?Please give some advice.

Thank you a lot!

Davidchaning

6 Replies

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

    Did you load .ptf file? You need to do something like

    make vendor_hwselect SYSPTF=<path>/my_sopc.ptf

    Try this even if the wiki says that this step must be done after. Often I had to type "make menuconfig" before and after "make vendor_hwselect"
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    hw_select doesn't work any more

    you need to create header file with sopc2swheaders script and use it

    The wiki is not updated, some times it is a mix of old and new.

    your problem could be missing packages.