Forum Discussion

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

:( Trying to build a kernel

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

3 Replies

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

    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.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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