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 my last video I have already used waitqueues without explaining them. So, in this video I will explain waitqueues in more details.
#DeviceTree #GNU #Linux #Tutorial #Embedded
In this video I give you a brief introduction to the Device Tree which is used in most embedded Linux systems (mostly with ARM chips). If you want to dive in a little bit deeper to this topic, I can recommend you this video here: https://odysee.com/@PortingLinuxPhones:5/Device-Tree-for-Dummies!---Thomas-Petazzoni,-Free-Electrons:b (Also available on YouTube here: https://www.youtube.com/watch?v=m_NyYEBxfn8 )
You want to support my work? You can buy me a coffee here: https://www.buymeacoffee.com/johannes4linux
If you want to contact me, you can find my E-Mail on www.gnu-linux.rocks
...
https://www.youtube.com/watch?v=_Z65pqLSMi8
#GNU #Linux #Tutorial #Driver #DriverDevelopment
Let's take a closer look at USB. In this series of tutorials we will learn how to implement an USB device on a microcontroller and interact with it over our GNU/Linux OS from user- and kernelspace.
I will show you how to read from USB Bulk In Endpoints from a Linux Driver. Therefore I will implement a gpiochip-compatible driver for my Atmega32U4 USB device.
You can find the source code here:
https://github.com/johannes4Linux/usb_tutorial
You want to support my work? You can buy me a coffee here: https://www.buymeacoffee.com/johannes4linux
If you want to contact me, you can find my E-Mail on www.gnu-linux.rocks
You want to learn more? Check out my playlist:
https://youtube.com/playlist?list=PLCGpd0Do5-I0LUuFImUlkj2RhoiMCFPhe
Resources for this video:
https://github.com/torvalds/linux/blob/master/drivers/gpio/gpio-tpic2810.c
https://makelinux.net/ldd3/chp-13-sect-4.shtml
...
https://www.youtube.com/watch?v=5ekX70pCnBQ
#GNU #Linux #Tutorial #Driver #DriverDevelopment
Let's take a closer look at USB. In this series of tutorials we will learn how to implement an USB device on a microcontroller and interact with it over our GNU/Linux OS from user- and kernelspace.
I will show you how to access USB In Endpoints in Python by using pyusb.
You can find the source code here:https://github.com/johannes4Linux/usb_tutorial
You want to support my work? You can buy me a coffee here:
https://www.buymeacoffee.com/johannes4linux
If you want to contact me, you can find my E-Mail on www.gnu-linux.rocks
You want to learn more? Check out my playlist:
https://youtube.com/playlist?list=PLCGpd0Do5-I0LUuFImUlkj2RhoiMCFPhe
Resources for this video:
https://github.com/pyusb/pyusb/blob/master/docs/tutorial.rst
...
https://www.youtube.com/watch?v=rGE9WDy08VQ
Here I am with a new series of videos. This time about GNU/Linux and PCI (Express). I want to show you, how to access PCI (Express) devices from User- and Kernelspace. Enjoy!
Last time we only have taken a look at the first 64 Bytes of the PCI configuration space. Now let's look at the rest and find the PCI capabilites which hide out there!
Here is a link to my fork of the pciutils:
https://github.com/Johannes4Linux/pciutils
My sources & useful links to PCI/PCI Express:
https://tldp.org/LDP/tlk/dd/pci.html
https://en.wikipedia.org/wiki/PCI_configuration_space
https://pcisig.com/sites/default/files/files/PCI_Code-ID_r_1_11__v24_Jan_2019.pdf
https://www.programmersought.com/article/6973544207/
...
https://www.youtube.com/watch?v=FfdYmmprVr8
Let's leave userspace and head towards Kernelspace!
In this series of videos I will show you how to write your own Linux Driver. Here is a small introduction and my plans for the series. Enjoy!
You want to support my work? You can buy me a coffee here: https://www.buymeacoffee.com/johannes4linux
...
https://www.youtube.com/watch?v=x1Y203vH-Dc
In this video I show you how to use pyModbusTCP to write your own ModbusTCP server and how to connect to it with a client.
Here is the link to the sources of my example server: https://github.com/Johannes4Linux/Simple-ModbusTCP-Server
You want to support my work? You can buy me a coffee here: https://www.buymeacoffee.com/johannes4linux
Here is a list of open source software I have used for this video:
- i3wm (https://i3wm.org/) with i3blocks (https://github.com/vivien/i3blocks)
- vim: https://www.vim.org/
- urxvt: http://software.schmorp.de/pkg/rxvt-unicode.html
- SimpleScreenRecorder: https://www.maartenbaert.be/simplescreenrecorder/
- Firefox: https://www.mozilla.org/de/firefox/
...
https://www.youtube.com/watch?v=FYPQgnQE9fk
#GNU #Linux #Tutorial #Driver #DriverDevelopment
Let's take a closer look at USB. In this series of tutorials we will learn how to implement an USB device on a microcontroller and interact with it over our GNU/Linux OS from user- and kernelspace.
Today we will write a Hello World driver for our Atmega32U4 USB device. This will be the template for later videos.
You can find the source code here:
https://github.com/johannes4Linux/usb_tutorial
You want to support my work? You can buy me a coffee here: https://www.buymeacoffee.com/johannes4linux
If you want to contact me, you can find my E-Mail on www.gnu-linux.rocks
You want to learn more? Check out my playlist:
https://youtube.com/playlist?list=PLCGpd0Do5-I0LUuFImUlkj2RhoiMCFPhe
Resources for this video:
https://makelinux.net/ldd3/chp-13-sect-4.shtml
...
https://www.youtube.com/watch?v=4QJykWqaY7Q
#GNU #Linux #Tutorial #Driver #DriverDevelopment
Let's take a closer look at USB. In this series of tutorials we will learn how to implement an USB device on a microcontroller and interact with it over our GNU/Linux OS from user- and kernelspace.
Sorry for the bad audio, I had a cold. In this video I talk about some theory of the Universal Serial Bus (USB). But you are better of reading 'USB in a nutshell'. This will give you a better overview and more details.
You want to support my work? You can buy me a coffee here: https://www.buymeacoffee.com/johannes4linux
If you want to contact me, you can find my E-Mail on www.gnu-linux.rocks
You want to learn more? Check out my playlist:
https://youtube.com/playlist?list=PLCGpd0Do5-I0LUuFImUlkj2RhoiMCFPhe
Resources for this video:
https://beyondlogic.org/usbnutshell/usb1.shtml
...
https://www.youtube.com/watch?v=5UnzEGJzqjI
#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. Today I will finally show you how to use the Serial Port or UART in a Linux Kernel Module. I will add a serial UART Device to the device tree and write a driver for it.
You want to support my work? You can buy me a coffee here: https://www.buymeacoffee.com/johannes4linux
If you want to contact me, you can find my E-Mail on www.gnu-linux.rocks
Here is the link to my git-repo:
https://github.com/Johannes4Linux/Linux_Driver_Tutorial
Videos to understand this one:
https://www.youtube.com/watch?v=YxDEdpHTEP8
You want to learn more? Check out my playlist:
https://www.youtube.com/watch?v=x1Y203vH-Dc&list=PLCGpd0Do5-I3b5TtyqeF1UdyD4C-S-dMa
Resources for this video:
http://events17.linuxfoundation.org/sites/events/files/slides/serdev-elce-2017-2.pdf
https://www.youtube.com/watch?v=wIQPb1NkZbQ
...
https://www.youtube.com/watch?v=dSvhys-bppI