Distribution is not a big deal. This is what you want to do with the kernel, and develop / test its function.
Here are a few things to do.
but. Enable kernel debugging and logging options. This will definitely help you in debugging. see useful Linux kernel debugging options
b. Getdebuggers, for example Valgrind, which checks for memory leaks. See Doc e.g. https://www.kernel.org/doc/Documentation/kmemleak.txt
from. Found a good editor for editing. I do not want to start a vim vs emacs war. This is truly a personal preference, just make sure you follow the Linux kernel coding style guidelines. https://www.kernel.org/doc/Documentation/CodingStyle
e. Become familiar with the journal systems and the proc system, as they provide valuable information.
e. Read the documentation in the / usr / src / linux / Documentation directory. A very good starting point for understanding the kernel.
g5thomas
source share