Commit Graph
12 Commits
Author SHA1 Message Date
Jamie Magee 7e9d8b97c5 raspberry-pi: warn before switching to firmware device trees 2026-11-23 14:14:58 -08:00
Jamie Magee 5c1804b403 raspberry-pi: explain config.txt default overrides 2026-11-23 14:14:58 -08:00
Jamie Magee 428be44435 raspberry-pi: avoid USB setup and serial-console pins in overlay examples 2026-11-22 14:46:16 -08:00
Jamie Magee 54987e6989 raspberry-pi: remove generic PoE HAT documentation 2026-11-20 13:47:33 -08:00
Doron Behar fb63a8c3c8 raspberry-pi/README.md: adhere to the 1 line per sentence rule used in Nixpkgs 2026-11-18 11:00:34 +02:00
Jamie Magee e2035d2e51 raspberry-pi: migrate audio to firmware configuration 2026-11-16 12:18:18 -08:00
Cryolitia PukNgae 11cefffd51 raspberry-pi/1: Add Raspberry Pi 1 support
The Raspberry Pi SD installer remains in nixpkgs, but its
sd-image-raspberrypi.nix configuration still selects
linuxKernel.packages.linux_rpi1. Commit b1c58b82b98f ("linux-rpi*: remove")
removed that kernel from nixpkgs, leaving the installer unable to
evaluate. Move the Pi 1 image configuration to nixos-hardware alongside
the vendor kernel.

The shared vendor kernel builder accepts rpiVersion = 1, but there is no
corresponding board profile. Add an ARMv6 profile with 32-bit U-Boot and
the shared firmware installer. Use the legacy boot and initrd settings
without the graphics defaults for newer boards. Provide SD-image and
installer modules adapted from the nixpkgs image, and exclude the
profile from checks without ARMv6 coverage.

The image has been cross-compiled but has not been tested on a board, as
no Pi 1 hardware was available.

Link: https://github.com/NixOS/nixpkgs/blob/b1c58b82b98ff287751c78ee2b96dc5c4384e3b3/nixos/modules/installer/sd-card/sd-image-raspberrypi.nix#L20
Link: https://github.com/NixOS/nixpkgs/commit/b1c58b82b98ff287751c78ee2b96dc5c4384e3b3
Signed-off-by: Cryolitia PukNgae <cryolitia@mercallure.com>
2026-10-19 16:01:58 +08:00
Jamie Magee 02545c60be raspberry-pi: remove DWC2 module 2026-09-01 16:17:21 -07:00
Jamie Magee 7fcbbc78c2 raspberry-pi: migrate PoE HATs to config.txt overlays 2026-08-30 01:41:17 +03:00
Jamie Magee 7aefd9ab01 raspberry-pi/common: add ordered config.txt device tree overlays 2026-08-07 10:28:35 +03:00
Jamie Magee f54c3bcb65 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.
2026-07-09 23:03:00 -07:00
Jamie Magee 8b100f75f3 raspberry-pi: add README 2026-05-19 20:15:14 -07:00