Altera_Forum
Honored Contributor
20 years agoLinux device driver and Interrupt
I have made my own sopc component with interrupt. This component are going to be used on an cyclone 2, with web server.
Do I need to write a device driver in to uClinux to communicate with this component? I have a 300 page book here on how to write device driver to linux. Is uClinux like Linux when it comes to drivers? As I have understood there are posibly to acess the I/O port simply by an user program, but is it possible to get the Interrupt to work with an user program? (Okey, I maybe have the possibility to poll a flag or something, but I don't want the program to use cpu on that). Does anybody know about information on how to write device driver to uClinux? (code examples, tutorial, howto) How much time do I need to do the different things? I only have one month on me, to get this part up and running on an developmentboard. (This is one part of an bigger project) Would it be an better alternative to use MicroC/OS-II, is it much easier to use. Does it have CGI? Sorry for bad english.