buildroot
TinyGo
Our great sponsors
buildroot | TinyGo | |
---|---|---|
51 | 95 | |
2,476 | 14,479 | |
2.9% | 1.8% | |
10.0 | 9.3 | |
4 days ago | 4 days ago | |
Makefile | Go | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
buildroot
- Damn Small Linux 2024
-
I Built Linux from Scratch
I did it few times. It's so much easier nowadays with https://buildroot.org/
-
GitHub - avxmw/creality_k1_fw: Tracks firmware for Creality K1 series 3D printers
If you dig through the rootfs of the K1 it becomes clear that Creality is using buildroot so we should be able to do that ourselves - at least some of us.
- Fazer uma distribuição Linux
-
Curious about Roku OS
An embedded system like Roku doesn't need to "run everything", it just needs to run their "platform", which is probably quite small. It's pretty trivial to assemble your own OS from "off-the-shelf" components. You can use something like buildroot to spin up a new OS in half a day, using only the components you want. You can also use "smaller" components that have far fewer features, meaning less bugs and less updates.
-
Linux-factory: A framework used to create custom Linux Debian operating systems
https://github.com/buildroot/buildroot
-
Debloating Windows 10 with one command and no internet scripts
> I do this for every Windows installation that is used for similar purposes, like embedded machines that has to run a single application, virtual machines, etc.
Have you tried running Linux for these use cases? This sort of thing is an area Linux excels, in my experience.
When you run Windows, you're in for the whole kit and caboodle. Most of the components are proprietary, closed-source black boxes. You can only poke and prod and test and hope things don't break in unexpected ways.
Conversely, Linux can be easy stripped down to a bare bones kernel and a single statically-linked binary. I can run a useful application on top of Linux with the whole system weighing in smaller than bootmgfw.efi.
Something more complex, but still custom, is easily crafted with Buildroot.
https://buildroot.org/
-
Automatically generate commit messages using ChatGPT
Have a look at the commit history of Linux or buildroot for nice readable commit histories.
-
Does it make sense to try to install / maintain a gentoo system in a vm for learning more about Linux?
Gentoo could teach you more about what is involved in dependency handling and actual ‘construction’ of a Linux system. But Linux From Scratch is a much better teaching tool for learning this, and even things like Buildroot are arguably better than Gentoo for this because they generally force you to care about a lot of the stuff that Gentoo hides away to make the system nicer to use.
- Die Fahrplananzeiger der RNV laufen auf einem Raspberry Pi
TinyGo
- Gokrazy – Go Appliances
-
A "Tiny" APISIX Plugin
Reading through the documentation, you will understand why this plugin is called "tiny," i.e., the SDK uses the TinyGo compiler instead of the official Go compiler. You can read more about why this is the case on the SDK\'s overview page, but the TLDR version is that the Go compiler can only produce Wasm binaries that run in the browser.
-
What's Zig got that C, Rust and Go don't have? [video]
Not only you can fit Go into a kernel, there is at least two products that do so.
TamaGo, used to write the firmware used in USB armory.
https://www.withsecure.com/en/solutions/innovative-security-...
TinyGo, which even has official Arduino and ARM support, and is sponsored by Google
https://tinygo.org/
Ah but that isn't proper Go! Well neither is the C code that is allowed to be used in typical kernel code, almost nothing from ISO C standard library is available, and usually plenty of compiler specific language extensions are used instead.
-
Show HN: A new stdlib for Golang focusing on platform native support
Reminds me of https://tinygo.org/ - a project that brings Golang to embedded devices, browser (wasm) contexts. Do you converge or diverge from that project?
- TinyGo release 0.29 is out
-
Pico with C
You should also consider TinyGo. It can compile Go for the Pico, and is starting to get good device support.
-
Rust 1.71.0
Thankfully some folks completly ignored whatever the rest of the world thinks system programming is all about and created:
- TinyGo (https://tinygo.org/), which is acknowledged by people in the industry[0][1]
- TamaGo unikernel on USB Armory secure key (https://www.withsecure.com/de/solutions/innovative-security-...)
And then there is the question if writing compilers, assemblers, linkers is systems programming or not.
[0]-https://www.cnx-software.com/2019/08/28/tinygo-go-compiler-f...
[1]-https://twitter.com/ArmSoftwareDev/status/131680481331796787...
-
When would you (not) recommend Go over Rust?
Have you seen TinyGo? In the case of embedded system I would probably still chose C over Rust if the system didn't support dynamic memory allocation, and most embedded systems do not.
-
“C is quirky, flawed, and an enormous success” – Dennis Ritchie
>I really hate how for microcontrollers the only two choices are either C++ or Micropython
There's TinyGo as well. https://tinygo.org/
-
WebAssembly System Interface (WASI) with sockets for Go
Gist link fixed, thanks. Compared to TinyGo, Go with GOOS=wasip1 will probably generate larger artifacts (at least, for now). This is because it bundles the entire Go runtime. The benefit is that it fully supports goroutine scheduling and non-blocking I/O. TinyGo (I believe) still uses a custom asyncify pass and does not support non-blocking I/O nor basic WASI networking (e.g. https://github.com/tinygo-org/tinygo/pull/2748 never landed, but GOOS=wasip1 supports it).
What are some alternatives?
rust-raspberrypi-OS-tutorials - :books: Learn to write an embedded OS in Rust :crab:
MicroPython - MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
meta-balena - A collection of Yocto layers used to build balenaOS images
go - The Go programming language
riscv-gnu-toolchain - GNU toolchain for RISC-V, including GCC
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
nerves - Platform infrastructure for embedded Erlang/OTP, Elixir, and LFE projects
micropython-ulab - a numpy-like fast vector module for micropython, circuitpython, and their derivatives
linux-xlnx - The official Linux kernel from Xilinx
awesome-micropython - A curated list of awesome MicroPython libraries, frameworks, software and resources.
gokrazy - turn your Go program(s) into an appliance running on the Raspberry Pi 3, Pi 4, Pi Zero 2 W, or amd64 PCs!
PlatformIO - Your Gateway to Embedded Software Development Excellence :alien: