Linux kernel programming topics, mostly for those who have some programming experience and linux command line expertise. Making notes on all fundamental kernel API's and gathering all examples from all over the internet, all is compiled and test on Raspberry Pi 4 kernel 6.6.20. No other versions of kernel is checked. With move one to new SoC or new kernel all examples will also update accordingly.

Topic

Basics

Compile kernel
Hello world driver
Create thread
Sysfs
Procfs
User mode helpers

Intermediate

Kernel /dev/hwrng
Netlink socket
Netfilter module

Deep into kernel

Kernel userspace

Netlink show ip