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.

  • tazvok@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    7 days ago

    The difficult part of this is building the filesystem and dependencies you want and having them be happy with your cross compiler. NXP parts have decent support for running whatever you want on them and can boot a raw kernel+dtb+United straight from u-boot

    • jkercher@programming.devOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 days ago

      Yeah. Using yocto, I know what I want and can do it in Linux. But, “how make yocto do it” becomes an entirely different thing. It would be nice to have a simple container->image pipeline.