EmbeddedRelated.com

Denis Cavalli (@deniscavalli)

Embedded Software Engineer Graduated in Computer Engineering - Federal University of Amazon, Brazil. Passionate for new Embedded and Software Technologies.

Linux Kernel Development - Part 1: Hello Kernel!

Denis CavalliDenis Cavalli June 2, 20192 comments

Skip userland and run code inside the kernel with a tiny "Hello Kernel" module that prints messages on load and unload. This introduction walks through required headers, the init and exit hooks, MODULE_* metadata, a kernel-friendly Makefile, and the basic workflow to build, insmod, rmmod and inspect messages with dmesg. It’s a hands-on first step into Linux kernel module development.


No Threads Found

Use this form to contact deniscavalli

Before you can contact a member of the *Related Sites:

  • You must be logged in (register here)
  • You must confirm you email address