5
submitted 2 days ago* (last edited 2 days ago) by jkercher@programming.dev to c/embedded@programming.dev

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 are viewing a single comment's thread
view the rest of the comments
[-] Bunbury@programming.dev 1 points 1 day ago

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..

this post was submitted on 13 Dec 2024
5 points (85.7% liked)

Embedded

257 readers
7 users here now

We talk and share about anything Embedded, including;

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS