r/embedded • u/OwnMinimum8110 • 12d ago
Which linux distro is suitable for embedded firmware devlopment
I am a Embedded Firmware learner,
Doing bare metal ,freertos and zephyr Rtos firware development and building edge AI models.
I have been also building drivers and open source library in RTOS
Currently I am using Ubuntu , previously I have used Kali Linux.
Could you recommend a best distro for my taste and day to day building ?
And a new learning experience
or does ubuntu itself a good choice and stick to it
8
7
6
u/sgtnoodle 12d ago
The more you start to understand embedded Linux development, the more you'll realize the distribution you work on doesn't really matter.
4
4
3
u/diy_watcher 12d ago
These are generally most supported: https://docs.yoctoproject.org/ref-manual/system-requirements.html#supported-linux-distributions
I like KDE, so I am happy with Kubuntu
3
u/ArtistEngineer 12d ago edited 12d ago
I used to use Xubuntu when I was doing embedded Linux dev. It's Ubuntu with the XFCE desktop, which is a minimal simple desktop, and very easy to configure. I seem to remember that it's fairly easy to embed into a standalone bootable image for Linux based test apps, kiosks, etc
Most Linux dev is done over a terminal, and many apps are browser based now, so the desktop isn't as important as it once was.
Probably the only desktop app I'd want these days is VS Code.
2
u/MrCrazyPussy 12d ago
i would say Ubuntu, second last lts release work best out of the box for most toolchains. So I would suggest Ubuntu 24.04 LTS.
Obv, if you are seasoned user, any would be fine
2
u/neoma001 12d ago
Stick with Ubuntu LTS (or Debian) as your host OS—most vendor SDKs (STM32Cube, ESP-IDF, Nordic nRF Connect, Yocto, and Zephyr's `west` toolchain) are officially tested and documented on Ubuntu first, so you'll waste far less time fighting broken dependencies.
If you want a new learning experience without breaking your daily build environment, try running your toolchains inside Docker containers or Distrobox (or set up a minimal Arch/Fedora VM just to see how udev rules, OpenOCD, and serial permissions behave outside Debian-based distros). Keeping the host boring and reproducible is usually best for firmware work.
2
u/unicorns-arent-real 12d ago edited 12d ago
Debian. Ubuntu. RaspiOS. WSL if you have no other choice.
1
12d ago
[removed] — view removed comment
0
u/allo37 12d ago
If you install WSL, Windows is an excellent Linux distribution
2
14
u/Lalks227 12d ago
Any, really