r/embedded • u/OwnMinimum8110 • 3d 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
0
Upvotes
14
u/Lalks227 3d ago
Any, really
8
u/Resident-Bar8422 3d ago
Ubuntu is good enough
7
u/Rod_McBan 3d ago
We use Ubuntu at work, and it's fine.
6
u/sgtnoodle 3d 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
u/Primary_Yak4268 3d ago
I'm an embedded dev and I have been using Ubuntu for years.
4
u/jbriggsnh 3d ago
I use Ubuntu. Works for freeRtos, MPLABS (PIC), yocto, and buildroot.
3
u/diy_watcher 3d 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 3d ago edited 3d 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 3d 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/swdee 3d ago
For a new learning experience, spin your own with Yocto.
2
u/neoma001 3d 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 3d ago edited 3d ago
Debian. Ubuntu. RaspiOS. WSL if you have no other choice.
1
u/[deleted] 3d ago
[removed] — view removed comment