Documents

Building Kernel (Cross Compile)

https://blukat.me/2017/12/cross-compile-arm-kernel-module/ https://wiki.gentoo.org/wiki/Embedded_Handbook/General/Cross-compiling_the_kernel

https://stackoverflow.com/questions/27793973/clean-only-selected-modules-before-building-linux-kernel

Debugging & Printk

https://www.oreilly.com/library/view/linux-device-drivers/0596005903/ch04.html

Printk

https://www.kernel.org/doc/html/latest/core-api/printk-basics.html https://en.wikipedia.org/wiki/Printk https://elinux.org/Debugging_by_printing

https://unix.stackexchange.com/questions/214313/how-to-change-the-console-loglevel-in-linux

https://stackoverflow.com/questions/28936199/why-is-pr-debug-of-the-linux-kernel-not-giving-any-output

Dynamic Debug

https://www.kernel.org/doc/html/latest/admin-guide/dynamic-debug-howto.html

Drivers

https://tldp.org/LDP/lkmpg/2.4/html/c147.htm

https://www.kernel.org/doc/Documentation/kbuild/modules.txt

http://derekmolloy.ie/writing-a-linux-kernel-module-part-1-introduction/ http://derekmolloy.ie/writing-a-linux-kernel-module-part-2-a-character-device/