Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Kernel Build not working

Altera_Forum
Honored Contributor II
1,291 Views

The kernel building process is not working. My error is below, make mrproper fails as well. Any suggestions?  

 

------------------------------------------------ 

Microtronix Linux Extensions 

Version 1.4, Built June 20, 2005 

------------------------------------------------ 

make: Entering directory `/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x' 

no emulation specific options. 

Using /cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x as source for kernel 

/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x is not clean, please run 'make mrproper' 

in the '/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x' directory. 

make[1]: *** [prepare2] Error 1 

make: *** [_all] Error 2 

make: Leaving directory `/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x'
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
532 Views

I had this problem, too. but 'make mrproper' solved this problem. I started the Nios2 SDK Shell, changed to directory: 

 

com.microtronix.nios2linux.kernel_1.4.0\linux-2.6.x 

and run 'make MrProper' by typing in the Nios 2 SDK Shell and it did the job. 

 

If it doesn't work, maybe you'll have to install a fresh version of your Linux Kit?
0 Kudos
Altera_Forum
Honored Contributor II
532 Views

It worked today. I ran "make MrProper" and then "make mrproper" and it worked. It could have been I shut down the computer last night and restarted it this morning.

0 Kudos
Altera_Forum
Honored Contributor II
532 Views

Add to the Appendix A of the Nios II Linux Quickstart Guide, Altera Nios II 1c12 Evaluation Kit, disable SMC ethernet device driver when enabling MoreThanIP 10_100_1000

0 Kudos
Reply