Hello all, I’m an embedded software guy struggling with Yocto. I’m not asking for assistance as I cannot be saved. Rather, I’d like to make my own. How hard it would be to put a Linux distro onto a device without it? For example, if I were to get a perfectly good distro (let’s just say Debian) with the right architecture going in a container. Is there a simple way to combine that with u-Boot, and other crap from a SoC manufacturer to build an image? If that is oversimplifying, I’ve done Linux from scratch before, and I’d be willing to go that route as well. I guess the issue boils down to the specifics like building the image and anything else that I’m not aware of.
So, what part of this idea is going to be a lot harder than I’m giving it credit for?
By the way, I’m aware of Buildroot. This is more for learning purposes, and who knows… maybe I will actually make something out of it.
You may want to take a look at the TockOS instead of Linux if you’re doing embedded dev - it’s a safer alternative to Linux for embedded devices, and generally easier to work with (though the supported hardware alternatives are not as numerous as with Yocto / linux).
I’d recommend against something like Debian for embedded work - it’s too large, and presents too much of an attack surface for most embedded project needs. And while Debian doesn’t often see critical security vulnerabilities, it does on occasion and you’d need to figure out a method for performing those upgrades on your embedded device (which wouldn’t be fun for yourself or anyone else who uses your project). Just something to keep in mind…