Forum Discussion

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

Kernel development on Nios Linux 2.6 distribution

The Nios II Linux 2.6 distribution is not really biased for kernel development, but since this is all what I have, what way you suggest I should develop my drivers?

I understood importing the source files into a kernel project was good just for debugging the kernel, so that you actually see where you are going.

So any changes should be made directly to the kernel directory in the Eclipse plug-in directory. Am I right?

Okay, I can do the changes there, but how can I get them into the IDE reasonably? There's no "open file" option in the IDE!

If I develop my driver as a module, could I just use the Linux application project as a basis and just fix the makefile so that it will be compiled as a module?

Will there be a problem with the kernel include files?

Thanks for any ideas in advance!

-Tervis

21 Replies

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

    Hello,

    I hope someone can address my concerns soon. Setting the include paths through the project's Properties dialog does not work. This indicates that there is some sort of bug in the Nios II IDE (or else project properties are not used at all when building through the Nios SDK Shell).

    I&#39;m just looking for some sort of workaround. Alternatively, I can help fix the problem, or at least support the process by helping to reproduce the observed symptoms. Or, in the very worst case, if there is no official interest in solving this problem, if someone states that, then I can turn my attention to other tools or something. Please help http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif

    Thanks,

    jwistead.