Using Linux drivers without Linux Kernel

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Electro13
Posts: 1
Joined: Sun Nov 18, 2012 11:42 am

Using Linux drivers without Linux Kernel

Post by Electro13 »

Is there any way to easily incorporate the Linux drivers without using the Linux Kernel?

The main goal here is to use the Linux drivers to be able to use my network card etc.
Writing my OS is a learning project but my focus is on data processing and not on writing drivers.
Or is there another elegant solution?

Thank you!
User avatar
NickJohnson
Member
Member
Posts: 1249
Joined: Tue Mar 24, 2009 8:11 pm
Location: Sunnyvale, California

Re: Using Linux drivers without Linux Kernel

Post by NickJohnson »

Nope. The Linux driver API is generally unstable, so even if you were to emulate the relevant parts of the API, it would go out of date before you'd get much of a benefit. If you want to just steal code and adapt it, you'd have to GPL any changes and not link directly against them. If all you want is a few simple drivers, you are much better off writing them yourself.
Kevin
Member
Member
Posts: 1071
Joined: Sun Feb 01, 2009 6:11 am
Location: Germany
Contact:

Re: Using Linux drivers without Linux Kernel

Post by Kevin »

Or copy them from other hobby OSes, which tend to keep drivers and driver interfaces simple and are often more liberally licensed.

And of course, I have to mention CDI (code, documentation) here. ;)
Developer of tyndur - community OS of Lowlevel (German)
Post Reply