14.07.2018, 20:07, "Athul Joy" <aathuljjoy333@xxxxxxxxx>:
Dear friends, I am new to the Linux kernel development.Can anyone help me how to start my journey in order to build my own kernel?
Hello,
if you want to build a your own kernel then the best way is to be use Google. Perhaps you can find thousands of kernel build documents and you can ask here if you have an build errors.
So, it's very simple and I share for short information, the kernel is written in C code and all code is open source and all C based code can be compiled using the appropriated compiler. GCC is good compilers.
Which distro you use?
Downloaded to latest stable kernel to /usr/src directory.
Un-compressed the linux kernel.
Copy default .config file to directory.
cp /boot/config-`uname -r`* .config
Note: You may need to ncurses library.
Run make menuconfig and check kernel parameters.
Run make -j 4 and make modules and make modules_install and make install command.
Please check to /boot directory:
vmlinuz - this is a kernel
System.map - this is a kernel symbols file
initramfs - initrd image
Config - Kernel config file
Please read: https://kernelnewbies.org/KernelBuild
Regards
Ozgur
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies