Debug levels for Linux kernel PrintK

If you have already tried to write the first kernel module from port “Writing first Linux kernel … Read more

Send and receive data from user space and kernel using Netlink sockets

As mentioned in Linux kernel souce code net/netlink/af_netlink.c, netlink is a Kernel-user communication protocol which allows user … Read more

C program to read the contents of a file into character buffer

Lets say we want to read the contents of some file and want to operate on these … Read more

How to Create Static Library in Linux ?

If you want to create shared library visit our another article “How to create Shared Library in … Read more

How to enable DRM driver debug logging in Linux ?

If you are facing some issues with graphics or DRM , display etc.. sometime your may want … Read more

Communication between user-space and kernel space using Netlink sockets

As mentioned in Linux kernel souce code net/netlink/af_netlink.c, netlink is a Kernel-user communication protocol which allows user … Read more

How to compile native C library and daemon using Android.mk ?

To compile any c library inside android, we need to write an Android.mk makefile, for reference please … Read more

How to compile C program for X86 Desktop and Embedded Hardware ?

If we consider that we are working on two platforms,1. x86 – 32 or 64 bit i.e. … Read more

Difference between native compilation and cross compilation ?

If we consider that we are working on two platforms,1. x86 – 32 or 64 bit i.e. … Read more