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++

:( Trying to build a kernel

Altera_Forum
Honored Contributor II
1,039 Views

Hi all can someone help me. 

 

I just install the 1.1V to go with my new Altera Cyclone dev kit, however I have a problem. 

 

When I try and build a kernel I get the following errors.  

 

Kind Status Priority Description Resource In Folder Location 

Error *** [all] Error 2 kernel_1s40  

Error *** [arch/nios2nommu/kernel/asm-offsets.s] Error 127 kernel_1s40 

Error *** [arch/nios2nommu/kernel/asm-offsets.s] Error 2 kernel_1s40  

NOTE- I have not touch the installed files other to select Altera Cyclone as the platform. 

 

I tried doing a new kernel exactly as the "quickstart guide" thing it may be a problem with the cyclone but I got the same errors. 

 

Does anyone how to fix this? 

 

Thanks in advance Peter
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
347 Views

I also have problems when selecting other projects than the Linux mentioned in the quikguide. 

You should be able to compile your kernel if you use the Linux project file.
0 Kudos
Altera_Forum
Honored Contributor II
347 Views

I also had this problem with the NiosI version of the core. The solution was to launch the IDE from inside my quartus NiosII project after the generation of the CPU (tools menu into SOPC builder). As result the Nios Device Drivers folder was created (or the content modified, I don't remember exactly) under the IDE, and I was able to compile the kernel succesfully. 

 

Fab
0 Kudos
Altera_Forum
Honored Contributor II
347 Views

I worked that out are doing some research

0 Kudos
Reply