Welcome to Linux Kernel Programming Tutorial , learninglinuxkernel.
learninglinuxkernel is a place for learning linux kernel development . This tutorial is primarily aimed towards beginners and intermediate developers. It is just a starting point towards learning linux kernel programming. Every chapter is written in an easy to understand language and supplied by proper examples. The examples are not worked out yet , I apologize for that. Very soon I will build and run the modules and then update the tutorial.
Introduction to different kernel components, basic concepts and linux kernel sources directory structure.
Complete procedure of building kernel sources and installing the build image on your machine.
Understanding all the steps involved in booting linux kernel.
Writing , Building and Running your first linux kernel module. Understanding kernel symbol table, module stacking and module parameters.
4.1 Writing First Module – Hello World !!
4.2 Building and Loading Kernel Module
4.3 Kernel Symbol Table and Exporting Symbols
4.4 Module Stacking and Writing Dependent Modules
4.5 Linux Kernel Module Parameters
Basics of device drivers and writing your first linux device driver, a basic char deriver.
5.1 Major Categories
5.2 File System Interface
5.3 Writing a Character Driver
5.5 Putting it all together, a basic char driver
5.6 Major Number and Minor Number
5.7 Writing Char Driver for Linux Kernel 2.6
Chapter 6 Debugging Techniques