У нас вы можете посмотреть бесплатно Writing & Cross-Compiling My First Linux Character Driver | S2E2 или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
In this episode of “Build, Create & Learn – A Maker’s Journey”, I take the next big step into Embedded Linux: writing, debugging, and cross-compiling my very first Linux character driver. After building my initial “Hello Kernel” module, I wanted to understand how real drivers work — how they register with the kernel, how user space communicates through /dev, and what happens when things go wrong. So I built a simple character driver from scratch, learned to debug in kernel space using dmesg and ftrace, and even cross-compiled the module for my Raspberry Pi. This episode is where theory meets reality — where I finally see how code, hardware, and the kernel all come together. From the first segmentation fault to the satisfying moment of reading data from my own /dev/chardriver, it’s been a true deep-dive into how Linux really talks to hardware. 🔧 Topics in this episode: How a Linux character driver works Registering devices with major & minor numbers Debugging in kernel space using printk and ftrace Understanding user space vs. kernel space Handling read/write operations safely with copy_to_user Cross-compiling a kernel module for Raspberry Pi Lessons learned from crashes, tracing, and testing Reflections on why kernel programming matters for makers This episode is about more than writing code — it’s about exploring the hidden layer that makes Linux so powerful, and what every maker can learn from diving beneath the surface. If you’re curious about Embedded Linux, C programming, or how the kernel connects software and hardware, this one’s for you. Don’t forget to check out the companion article at https://herndlbauer.com/blog/a-makers... ----------- 💬 Socials: Instagram: / herndlbauer Bluesky: herndl.bsky.social Twitter: / herndlbauer ----------- Timestamps: 00:00 - Intro 00:42 - Why a Character Driver? 01:49 - My Motivation 02:40 - Kernel Space vs User Space — Two Worlds 04:00 - Learning to Debug Without a Safety Net 05:40 - Building the Driver Itself 07:08 - The Little Things That Trip You Up 08:35 - Cross-Compiling for the Raspberry Pi 10:20 - What Kernel Programming Teaches You 11:45 - Looking Ahead & Closing Thoughts ----------- 🎧 Listen to the full episode also on: https://makers-journey.podbean.com 📬 Sign up to the Maker’s Logbook — a weekly peek into my workshop: https://herndlbauer.kit.com 🌐 More about my projects: https://herndlbauer.com 🛠️ Let’s build, create, and learn — together. #LinuxKernel #EmbeddedLinux #MakerProjects #CProgramming #RaspberryPi #KernelDevelopment #DIY #Linux #OpenSource #Makers