Let's code a Linux Driver - 1: Hello World Linux Kernel Module

preview_player
Показать описание
Let's leave userspace and head towards Kernelspace!

In this series of videos I will show you how to write your own Linux Driver. In this video, I will create a simple Hello World Linux Kernel Module Enjoy!

Here is the link to my git-repo:

Here are some of my sources:
Jürgen Platte. Linux Hardware Hackz. Carl Hanser Verlag, 2007.
Martin Züger Usr Graf, Andreas Kalberer. Einführung in die Linux Treiberentwicklung. FHO Hochschule Ostschweiz, 2015.
Рекомендации по теме
Комментарии
Автор

For anyone struggling to get this working on a raspberry pi 4. I struggled to get mine compiling because there wasn't a build folder in /lib/module/$(shell uname -r). The solution, I switched from a headless 32bit OS to a headless 64bit OS.

Thank you Johannes for the awesome playlist and channel!

linux_with_anakin
Автор

Finally started with driver development, thanks Johannes, you make concepts easily understandable!

creataKulkarni
Автор

read a few documentations and still no clue how do i start. found your video and managed to get to a basic start! thank you!

chainer
Автор

You are awesome, you make it look so easy and simple. Thank you so much!!

minarady
Автор

Super - exactly what I was looking for! I tried it on Jetson AGX Xavier and x86 PC - both Ubuntu 20.04. Works like a charm.

Автор

Thank you very much for this. I look forward to going through the entire playlist.

samjohnson
Автор

Thank you for this excellent video. The whole world should see it!

timothypulliam
Автор

Hi Johannes, thanks for sharing these videos. They're very informative and great to follow along.

Components-quzs
Автор

Thank you for your contribution.
Your video helped me a lot in starting my journey in this domain.👍

Dmv-
Автор

hi man! (or whatever you prefer to be called) i really appreciate the series. it was really hard for me to get into making my own driver, but now i feel a little bit more confident. thanks again :)

king_james_official
Автор

I really liked your video, very informative and would love to see more from you :)

pradeepatchgal
Автор

Fantastic video. I've seen so many different ways to do this, so it would be a nice addition if you added how to build the module when not on the target machine. Use if depmod and other tool, etc.

bdon
Автор

Very Informative Videos. I am going to see and work along side of your videos.

ABHISHEKSINGH-nvse
Автор

Many thank. I really appreciate this tutorial.

zetaconvex
Автор

You are a very inspiring person. Thanks

techtheguy
Автор

Thanks, steep learning curve for me but I just want to get my keyboard backlight to work

c.n.crowther
Автор

Thank You For Your Great Effort 💗
Please 🙏 Can You Make Preif Introduction On How To Contribute To The Linux Kernel And And Make Customisation From It ?!

pcever
Автор

Thanks for the video, awesome tutorial =)

OthmanAlikhan
Автор

Thank you this was really useful to get a starting grasp! :)

Nik__._.
Автор

9:16 What exactly are you pointing to when you have the following path -C /lib/modules/$(shell uname -r)/build? I'm getting a "no such file or directory"

tzgardner