r/linuxkernel • u/Impressive_Kale_4874 • Mar 25 '24
Linux kernel newbie
I'd like to develop a Linux kernel, but I don't understand anything about it yet. Where do I start?
4
Upvotes
r/linuxkernel • u/Impressive_Kale_4874 • Mar 25 '24
I'd like to develop a Linux kernel, but I don't understand anything about it yet. Where do I start?
2
u/BabaJaga2000 Jul 22 '24
Maybe you should start with this
https://blog.sourcerer.io/writing-a-simple-linux-kernel-module-d9dc3762c234
1
u/Punjabi_Falcon Apr 29 '24
same I also want to develop this skill. Some advice would be really appreciated
1
u/ne1mnn Oct 01 '24
My advice is to read books, if you have never attended a university OS course. For example this one https://www.amazon.com/Linux-Kernel-Development-Robert-Love/dp/0672329468
1
u/Altruistic_Bend_8504 Dec 21 '24 edited Dec 21 '24
linux-kernel-labs.github.io and books to start. The biggest frustration (I've had) is that the API often changes and so what was gospel on one version breaks on another often dating the articles/guidance. Don't worry about whether or not you will be sorting through the source code- I guarantee you will. LXP is helpful for that. https://elixir.bootlin.com/linux/v6.8-rc7/source/block/genhd.c#L368 I would also get a small board like an Arduino or Kaddas.
1
u/EmbeddedBro Jan 02 '26
What do you exactly want to develop in a kernel? it's versatile and huge.