Results 1 to 4 of 4
Hi All,
I am new in kernel programming. I also know the understanding and thus coding the whole kernel is not a small thing. But, wanted to start building one.
...
- 01-23-2011 #1Just Joined!
- Join Date
- Dec 2008
- Posts
- 8
How to start off with kernel Programming ?
Hi All,
I am new in kernel programming. I also know the understanding and thus coding the whole kernel is not a small thing. But, wanted to start building one.
Looking into too many books and webpages regarding how to start of over the same, I am a bit
Can anyone please guide me the optimized webpage/book to start off building the concepts and thus code.
Thanks in advance.
Regards,
~Praveen.
- 01-23-2011 #2Just Joined!
- Join Date
- Mar 2009
- Location
- Norway
- Posts
- 52
Hacking device-drivers is the easiest (and safest) starting point.
Linux Device Drivers, Third Edition [LWN.net]
- 01-23-2011 #3Just Joined!
- Join Date
- Oct 2008
- Posts
- 4
Good day, I am also newbie and may suggest you the next.
If you are just starting, and have no ideas about cpu interruptions, segment:offset, paging ? bootloading ... so it is not recommended
to start with device drivers, or any other kernel programming books.
I advice to start with next steps.
first try this.
1. Writing Your Own Toy OS (Part 1,2,3) by Krishnakumar
then this
2. Bran's Kernel Development Tutorial
3. after try to compile and run linux kernel.
4. Your first "hello world" kernel module
5. Your first "helo world" linux kernel system call
6. Get acquanted how to use kernel function trace
7. start debugging kernel from start_kernel() function of init/main.c
8. And now all the kernel programming books like device drivers, memory management ... at your full disposal. enjoy! and don't forget to thank authors.
- 01-23-2011 #4Just Joined!
- Join Date
- Dec 2008
- Posts
- 8
Thank you Henrikau and heliks for your suggestions.
Will start off over the same ...


Reply With Quote
