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

Kernel development on Nios Linux 2.6 distribution

Altera_Forum
Honored Contributor II
3,939 Views

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
0 Kudos
21 Replies
Altera_Forum
Honored Contributor II
109 Views

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.
0 Kudos
Reply