Mô tả

Starting your journey in the Linux device driver development is a pain for beginners. This course is designed to clear the air and provide the right insights for beginners to get started in device driver development. 

Before jumping right away into development it is better to know the basics and need of device drivers. So, the course begins with an introduction to Linux kernel architecture, the role of device drivers.


Course Structure Includes:

  1. Introduction to Linux Kernel architecture.

  2. Role of device drivers and their use case.

  3. Intermediate steps involved in the compilation process.

  4. Cross Compilation for the target architecture.

  5. Kernel APIs understanding for getting started.

  6. Implement a Hello World module.

  7. Module Building, inserting, and checking status procedure.

  8. __init and __exit keywords and their use case.

  9. Character driver implementation.

  10. Implementing read, write operations for the character driver.

  11. Creating and submitting our first Linux kernel patch.


This course, if well practiced well enough along with supported theory and lecture, is good enough for any beginner to get started in device drivers development.

As time proceeds, I will be updating the course contents with the additional drivers and techniques for debugging the drivers.


Hope you will enjoy and have fun learning.

Cheers.

Bạn sẽ học được gì

Introduction to Linux Kernel Driver development, Basics understanding of Linux kernel, Code Compilation Techniques, Automating build steps using Makefile, Writing basic Linux drivers and submitting your first kernel patch.

Yêu cầu

  • Basic understanding of C program, Enthusiasm to learn new stuff

Nội dung khoá học

7 sections

Installing Linux on Virtual Box

2 lectures
Download Virtual Box and Ubuntu
01:30
Install ubuntu on Virtual Box
05:29

Introduction to Linux Kernel

2 lectures
Introduction to Linux Kernel
06:47
Need for device drivers
04:32

Code Compilation Techniques

2 lectures
Code Compilation Steps
09:49
Cross Compilation
05:13

Makefile Creation

3 lectures
Basics of Makefile
07:35
Using Makefile
12:52
Create a Makefile which is generic and compiles any c program.
00:07

Hello World Kernel Module

6 lectures
module_init and module_exit
11:29
Building the kernel module
05:35
Understanding insmod, lsmod and rmmod
05:11
Understanding printk, log levels in kernel
15:30
Runtime status of the module and kallsysms
08:56
Understanding __init and __exit keyword
07:07

Character Driver Module

5 lectures
Character driver nodes and basics
07:36
Register and unregister the character driver
06:04
File operations on our character driver
07:07
Implement Open, Read, Close function for fops
12:21
Implement Write operation
00:03

First Kernel Patch

1 lectures
Create and submit first kernel patch
20:01

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.