Hacker News new | ask | show | jobs
by rostakagmfun 1105 days ago
Slightly unrelated, but I wonder what is a preferred OS for similar boards: a buildroot or yocto -based system vs a full-blown Debian-based distribution with desktop and package managers?

When I looked into (now deprecated) Jetson Nano I was surprised to find out there was no straightforward and documented way to build your own system and cross-compile for it. Is that because for many people using SBCs means doing everything on the target (e.g. compiling software), or am I missing something?

2 comments

I just get the kernel and grab the stock Debian userspace for the architecture. Vendors like to do horrible stuff to their sample distros.

I’ve also tried Yocto and Buildroot and frankly they’re not that great. Yocto’s build system is so complicated it could take months to fit all your custom layers together to get a working image. Every vendor of every layer has their own conventions and you have to manage patch sets on top of patch sets to get some things working. Buildroot works better but still has a rigid vision for what an embedded Linux system looks like and how it fits together.

The beauty of Linux is that once you get to libc the interface is identical no matter what board you’re using so there’s no reason to build everything from source. And if you want something like Yocto you’d be better off building rpm or deb packages from a basic layer and then using eg multistrap to build a root filesystem.

Armbian or DietPi.