hlandau / aspeed-nixpkgs-experiments

Hacked together crap for building images that can boot in qemu's ast2500 machine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is just some hacked together stuff for building a AST2500 BMC SoC image using Nix. No bootloader yet so it only runs in qemu using its ability to boot a kernel directly. This does all sorts of "bad" stuff in terms of how Nixpkgs is used like avoiding copying entire closures and just nuking stuff from the Nix store to minimise image size, which is important given the extreme limitations of size (Talos II has 32 MiB flash, and ideally I'd want to reserve half of that for a golden size, so a budget of 16 MiB for a BMC image).

This was just an experiment for now.

About

Hacked together crap for building images that can boot in qemu's ast2500 machine


Languages

Language:Go 44.4%Language:Nix 42.4%Language:Shell 12.4%Language:Starlark 0.8%