Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get started with Linux kernel development [closed]

Tags:

linux-kernel

I'm an android developer and I've been doing ROMs for a long time and I wanna get going with kernel development, I understand it's relating to linux kernel itself and got nothing to do with android.

Problem is I can't find any online resources to help me get going. So what I'm looking for is something a bit official, like the developer site for android,the java tutorials for java, the python tutorials........etc

Is there any thing like that? from linux.org maybe, but I can't find anything on their site. And what are the things I'm supposed to have a full understanding of? like programming languages (I know it's in C) or anything else?

Keep in mind that I'm only looking to learn driver configuration and compilation.

like image 613
Jack Mayerz Avatar asked Jan 14 '12 22:01

Jack Mayerz


People also ask

How do I become a Linux kernel maintainer?

In general, becoming a maintainer is a result of becoming involved in the general curation of a given component. If you do a good job, gain a reputation as someone reliable and trustworthy, and the appropriate circumstances arise, you'll eventually have the opportunity to become a maintainer.

How does Linux kernel development work?

The kernel development is a continuous process. A new version of the kernel is released when a set of features and bug fixes are ready. These new versions are called kernel releases. This process initiates with Linus Torvalds, wherein, he releases a new kernel and then opens a 2-week merge window.


2 Answers

Linux Kernel Newbies, imho, is the best resource for who wants to start in linux kernel development.

Maybe you are interested to buy a book:

  • Linux Kernel Development 3rd edition 2010;
  • Understanding the linux kernel 3rd edition 2005;
  • Linux Device Drivers 3rd edition 2005.

Free resources (only a few of them):

  • Linux Kernel Hacking;
  • Hacking the Linux 2.6 kernel, Part 1: Getting ready;
  • Hacking the Linux 2.6 kernel, Part 2: Making your first hack;
  • Kernel coverage at LWN.net;
  • Unreliable Guide To Hacking The Linux Kernel;
  • The newbie's guide to hacking the Linux kernel;
  • vger.kernel.org - list services for the linux kernel developers
like image 136
b3h3m0th Avatar answered Sep 29 '22 17:09

b3h3m0th


Your best bet is following a good book like Linux Device Drivers 3, which is freely available as online document on LWN. There are tiny kernel modules skeleton which will help you get started very quickly.

like image 20
Quentin Casasnovas Avatar answered Sep 29 '22 17:09

Quentin Casasnovas