Forum Discussion

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

Trouble in Building Linux Kernel in Nios II IDE...

After having set up the Linux kernel build options of Nios 2 Development Kit in Microtronix's add-in project environment, I tried to build the Linux kernel but just saw errors in compilation window. What is wrong with it? This is Linux Code Bug!! or build settings is set up inproperly! Someone help me trobleshoot it!

3 Replies

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

    Hello,

    I guess you will get more answers if you tell us a bit more about the error messages you get during compilation...

    Regards

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

    Thanks to great phone support from Microtronix, I fixed my problem by extending the PATH for the NiosII Linux environment:

    o Window->preferences->Nios II Linux -> Cygwin Environment

    o add command

    o PATH=/cygdrive/c/altera/kits/nios2/bin/nios2-gnutools/h-i686-pc-cygwin/bin/:/cygdrive/c/altera/kits/nios2/bin:$PATH

    That path also includes ../nios2/bin so the 'upload' command would work for me...

    --bill