Forum Discussion
Altera_Forum
Honored Contributor
21 years ago<div class='quotetop'>QUOTE </div>
--- Quote Start --- Is it possible to develop a kernel driver as an independant module ? This module will be dynamically linked in the kernel with insmod command.[/b] --- Quote End --- Yep. You'll need to use insmod from busybox to load in the module. I've done it a number of times using a very simple hello_world example driver. <div class='quotetop'>QUOTE </div> --- Quote Start --- Is there other defines to add that __KERNEL__ and MODULE ? Should I use the standard C library for kernel development ?[/b] --- Quote End --- That I'm not sure of, my driver development skills aren't very strong. I would recommend the following two sites for more information. linux device drivers, 2nd edition: online book (http://www.xml.com/ldd/chapter/book/) lwn: porting device drivers to the 2.6 kernel (http://lwn.net/articles/driver-porting/) I found that most of the information from both sources are quite applicable. Hope this helps...