Kernel startup entry point / how Linux kernel boots ?

We will consider our hardware platform as ARM, so the kernel startup entry point code is at … Read more

Understanding Linux Device Tree Syntax (DTS)

DTB = Devicetree blob. Compact binary representation of the devicetree.DTC = Devicetree compiler. An open source tool … Read more

How to Join Linux kernel mailing lists (LKML) ?

LKML https://lkml.org/ is an unofficial Linux Kernel Mailing List archive. This mailing list is a rather high-volume … Read more

How to Compile and Install device-tree-compiler (DTC) On Ubuntu ?

If you want to install device-tree-compiler i.e. dtc command on Ubuntu, use following command, This command will … Read more

How to compile DTS to DTB from Linux kernel and manually ?

Lets say, you have been trying to compile Linux kernel source code for Raspberry Pi following steps … Read more

What is Linux Out-Of-Memory OOM Killer ?

Major distribution kernels set the default value of /proc/sys/vm/overcommit_memory to zero, which means that processes can request … Read more

How to avoid a process from being killed in case of Out of Memory ?

In our previous post, we understood “What is Out of Memory Killer ?” In this post, we … Read more

insmod: ERROR: could not insert module hello.ko

We tried to write a simple class driver framework which will create a directory in /sys/class, we … Read more

Understanding Linux kernel likely and unlikely macros

Linux kernel defines likely and unlikely macros in kernel source code include/linux/compiler.h as As per GCC documentation, … Read more

Understanding sysfs and USB

As we know the USB itself is a very complex peripheral to understand and work upon for … Read more