Let's code a Linux Driver: 2 - Improved Hello World Linux Kernel Module and cmdline commands

preview_player
Показать описание
#GNU #Linux #Tutorial #Driver #DriverDevelopment

Let's leave userspace and head towards Kernelspace!

In this series of videos I will show you how to write your own Linux Driver. Let's improve the hello world Linux Kernel Module with some more metadata and increase readability. And I will also show you how to manage kernel modules and drivers with command line applications.

Here is the link to my git-repo:

You want to learn more? Check out my playlist:
Рекомендации по теме
Комментарии
Автор

Your tutorials insperated me to get started wit LDD and to read the LDD3 book, thank you 😊

perceptron
Автор

You are going strong!! Thank you so much for this series !

ExplosiveAnyThing
Автор

Thanks for this.

I need this to refresh my memory

anthony
Автор

You're great man, thanks for these videos!!!

josefranciscosandovalrente
Автор

Hello, I have just started following your videos. In what order should I be watching the videos? Video 2 in the series labeled as Device Numbers and Files started from editing an old file which I have not seen in the first video. Thank you for uploading useful content.

solahiddin
Автор

Great video! Going to dig up my old Pi and try it myself

Just wondering, why no return value in my_exit()?

jholloway
Автор

Is the __init macro used for memory optimization ??

karimdinani
Автор

I couldnt understand at 9:57 - why cant lib/modules be used?

nmmmm
Автор

I got the message "hello: module verification failed: signature and/or required key missing - tainting kernel", from dmesg -W. I think the reason is that I use VPS with Linux. But anyway it would be nice to see how to build a kernel model with the required signature/key.

EnkoVlog
Автор

Is there any specific reason why you have chosen makefile over cmake BTW?

Satoshic_