Yocto Linux #4 - Kernel Module read, write, ioctl

Поділитися
Вставка
  • Опубліковано 30 вер 2024
  • This video continues the series by showing how to build a kernel module that allows read() and write(). It also introduces character special files, the mknod command, and shows how to connect user programs to the kernel device driver. The video concludes with an introduction to the ioctl() system call and its implementation in the kernel module.
  • Навчання та стиль

КОМЕНТАРІ • 10

  • @kevinalexander4959
    @kevinalexander4959 4 роки тому +2

    Next time we'd appreciate it if you're gonna use VIM in a small terminal please copy and paste code so we don't have to rewind, pause, fastforward -- and then you're changing functions 5 minutes after we've already created them so if i'm skipping ahead and back and ahead again, it gets pretty confusing.

  • @stormz4040
    @stormz4040 6 років тому +3

    thank you for this video. It's very helpful!

  • @astrolad293
    @astrolad293 5 років тому +1

    You are better off allowing the kernel to assign the device major number. The gyrations assigning a fixed number are unnecessary. The first argument to the IOCTL macros does not have to be the driver major number. Pick whatever you like. Other than that nit picking, I found this series very useful. Thanks much.

  • @GalactechSpark
    @GalactechSpark 7 років тому +2

    I found this video by accident. I've always wondered how stuff in /dev (and presumably /proc?) worked. Your video was very clear and to the point. The `cat hello` was my favorite part of the video. It really tied it all together. Thanks!

  • @robv3872
    @robv3872 3 роки тому

    Your videos are so great! Please keep making more! Very well explained!!

  • @tomasklein1238
    @tomasklein1238 6 років тому

    Hi, I would like to ask you, how could i share a custom ioctl.h file into rootfs with recipe ? Thank you

  • @sanyarabal
    @sanyarabal 5 років тому

    Thanks for your effort in putting this amazing video.

  • @AbdennacerAyeb
    @AbdennacerAyeb 5 років тому

    A helpful videos serie; Thank you very much.

  • @lxw5231
    @lxw5231 3 роки тому

    nice tutorial.

  • @pedro.g.p
    @pedro.g.p 6 років тому

    i love you bro