Skip to content

Edge Cloud Lab 클라우드 가상화 기술 리서치를 위한 Linux Device Driver 실습 코드

License

Notifications You must be signed in to change notification settings

DevTae/Linux-Device-Driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux-Device-Driver

In Edge Cloud Lab, we made presentation and materials for future under-graduate students.


We aimed to learn about how to operates the file I/O system in linux kernel.


As follows, these all things are the modules for practicing to test.

  • Environment Setting

    • Linux 6.1.2
    • Ubuntu 22.04
  • hello

    • 'hello, world!' module
    • Test to know how to insert module in kernel
    • 'hellop' module is the source code using parameter as like ' insmod hellop.ko PARAMETER '
  • scull

    • 'scull' module
    • Test to know how to transfer object as like a plain text between user space and kernel space
  • ioctl

    • 'ioctl' module
    • Test to know how to use ioctl function in character device driver
    • Use the function as like 'copy_to_user()', 'copy_from_user()' to transfer data between user space and kernel space
  • sbull

    • 'sbull' module
    • Test to know how to transfer object as like a block space between user space and kernel space
    • Use Linux 2.6 and use the example codes in LDD3
    • The codes are written for Linux 6.1.2 (If you couldn't run block device driver, then you downgrade your linux below 5)

Futhermore, You can see the presentation and notes in this repository notes folder.

And, this link is notion site.


Thank you for reading.

About

Edge Cloud Lab 클라우드 가상화 기술 리서치를 위한 Linux Device Driver 실습 코드

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published