this post was submitted on 13 Dec 2024
6 points (87.5% liked)
Embedded
262 readers
1 users here now
We talk and share about anything Embedded, including;
- PCB Design.
- Hardware architecture.
- Embedded platforms and chipsets.
- Protocols.
- Embedded programming.
- Digital Logic.
- FPGA.
- VHDL, System Verilog...etc.
- Intel Quartus, AMD Xilinx...etc.
- DIP, DSP.
Icon base by Lorc under CC BY 3.0 with modifications to add a gradient
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yeah I tried Buildroot and Yocto and got frustrated. Buildroot did work, but it does a ton of stuff with a ton of not-very-well-documented options, and it definitely wasn't integrated into a proper build system. Like there's no way I'd trust any kind of incremental build.
I ended up doing it myself. Tbf I was just benchmarking kernel boots so I didn't need userspace or even real hardware. I only needed OpenSBI (a RISC-V firmware thing) and the kernel.
Frankly OpenSBI is a rather undocumented mess too. Incremental OpenSBI builds don't work, and I did try and contribute fixes but despite the repo being on GitHub they auto-close PRs and tell you to use
git send email from the command line to a mailing list like it's the 90s
. I shit you not. How to keep away contributors.Anyway my conclusion is that the whole Linux OS building story is a shit show. If you only want a basic image with busybox etc. you can probably do it yourself and then you will actually understand it, but you will just be recreating Buildroot.
Ha. I've never used buildroot, but I think I'm going to have a go at it. I promise not to use python ;]
Thank you for the insight.