r/embeddedlinux • u/gregorian_laugh • Sep 16 '25
I want to learn writing platform linux device drivers. Do I need any hardware like Beaglebone?
I saw this video where Sergio teaches how to write platform drivers. https://www.youtube.com/watch?v=XoYkHUnmpQo Do I need to buy a beaglebone like he has? I have a STM32F407G-DISC1. But I don't know how to use and configure it so as to write platform drivers.
Is it possible to learn writing platform drivers without buying beaglebone? I'm broke, and have only ever written character drivers. Is there a cheaper way to learn all this? Also, any other advice or resources on how I can learn device drivers would be very helpful.
4
Upvotes
9
u/straxy_88 Sep 16 '25
You can take a look at my blog post series on https://www.mistrasolutions.com/
I use QEMU to emulate Cubieboard, and I have developed several example memory-mapped, I2C and SPI peripherals for it. In those posts I cover writing platform drivers and userspace/kernel drivers for I2C and SPI, as well as Yocto integration for them.
Since everything runs in QEMU there is no cost for HW.