raspberry-pi/common: add firmware-partition install module

Adds hardware.raspberry-pi.firmware to stage the Pi's pre-Linux boot files (GPU boot code, DTBs, overlays, config.txt, optionally U-Boot) onto the firmware partition. Boards still boot via generic-extlinux-compatible; this only supplies the files it needs, through populateCmd for image builders or an opt-in activation script.

DTB/overlay copy adapted from nvmd/nixos-raspberrypi.
This commit is contained in:
Jamie Magee committed 2026-07-09 23:03:00 -07:00
1 parent 968980fba2
commit f54c3bcb65
3 files changed
+230 -4

No files matched your search

+1
View File
@@ -2,6 +2,7 @@
imports = [
./config-txt.nix
./config-txt-defaults.nix
./firmware.nix
];
boot.initrd.availableKernelModules = [