Jörg Thalheim
f4c4c2c0c9
Merge pull request #1768 from concatime/feature/add-missing-modules-of-rpi5
...
Add netboot support for Raspberry Pi 5
2026-03-31 05:04:29 +00:00
Jörg Thalheim
504b7c9083
Merge pull request #1783 from k0ral/koral/raspberry-poe-fan
...
feat(raspberry-pi): Temperature thresholds for fan speed of PoE HAT can now be configured
2026-03-31 04:52:00 +00:00
Jamie Magee
b4766ffecf
config-txt: fix null removal, file option as types.path
...
null was not in the settings type, so mkForce null to remove a default
was a type error. Added nullOr to atom and filter nulls in recurse.
Changed file from types.str to types.path with pkgs.writeText — this
is how services.mysql.configFile and similar options work. Moved the
generated file into the option default (with defaultText) rather than
setting it in the config block.
2026-03-09 21:22:51 -07:00
Jamie Magee
a688dfcbb5
raspberry-pi: add config.txt generation module
...
Two new files in raspberry-pi/common/:
config-txt.nix lets you declare config.txt contents through
hardware.raspberry-pi.configtxt.settings (RFC 42 style — plain
values, null to remove, no enable/value wrappers).
config-txt-defaults.nix has the same defaults as Raspberry Pi OS:
vc4-kms-v3d, audio on, arm_boost, CM4 otg_mode, CM5 dwc2, etc.
All mkDefault so they are easy to override.
Not wired into board profiles yet — that comes with the RPi 5
sub-module work. Based on nvmd/nixos-raspberrypi.
2026-03-08 23:18:35 -07:00
koral
cbbc29c7f3
feat(raspberry-pi): Temperature thresholds for fan speed of PoE HAT can now be configured
2026-03-07 10:13:36 +01:00
Issam E. Maghni
34360c4c63
raspberry-pi/5: add macb module if netboot
...
This module is required to have Ethernet in initial RAM disk.
2026-02-28 14:01:28 -05:00
Issam E. Maghni
011660e3f7
raspberry-pi/5: add modules for RP1 controller
2026-02-28 14:01:28 -05:00
Issam E. Maghni
722ef6b5be
raspberry-pi/5: add pcie-brcmstb module
2026-02-28 14:01:28 -05:00
Issam E. Maghni
d736553cca
raspberry-pi/5: filter Device Tree blobs
2026-02-28 14:01:28 -05:00
Issam E. Maghni
076b2a5116
raspberry-pi: add vc4 to common modules
...
Raspberry Pi 2 and 3 will now have it too.
2026-02-28 14:01:28 -05:00
Issam E. Maghni
9ad075ca00
raspberry-pi: add usbhid to common modules
...
Raspberry Pi 2 will now have it too.
2026-02-28 14:01:28 -05:00
Issam E. Maghni
114dfa1989
raspberry-pi: add usb-storage to common modules
...
Raspberry Pi 2 will now have it too.
2026-02-28 14:01:28 -05:00
Issam E. Maghni
25b82e0755
chore: format raspberry-pi/ with nixfmt --strict
2026-02-28 14:01:28 -05:00
Cryolitia PukNgae
c8f766fd11
raspberry-pi: move kernel and firmware from nixpkgs
...
As part of the gradual phasing out of linux_rpi in nixpkgs
Link: https://github.com/NixOS/nixpkgs/pull/477665
Signed-off-by: Cryolitia PukNgae <Cryolitia@gmail.com>
2026-01-18 23:19:14 +08:00
Issam E. Maghni
fc4c7c6ec7
meta: rename module to pcie-brcmstb
...
https://github.com/torvalds/linux/blob/v6.17/drivers/pci/controller/Makefile#L37
2025-11-06 15:05:04 -05:00
Issam E. Maghni
744975050f
meta: rename module to usb-storage
...
https://github.com/torvalds/linux/blob/v6.17/drivers/usb/storage/Kconfig#L23-L24
> To compile this driver as a module, choose M here: the
> module will be called usb-storage.
2025-11-06 15:05:04 -05:00
Jörg Thalheim
3e24540eb9
Merge pull request #1663 from concatime/feat/add-only-wireless-firmwares
...
raspberry-pi/4: add only wireless firmwares
2025-11-06 11:04:51 +00:00
Issam E. Maghni
ec135126c1
raspberry-pi/4: add genet module to initrd if netboot
...
This module is required to have Ethernet in initial RAM disk.
It solves the issue encountered in this thread:
https://discourse.nixos.org/t/netboot-into-nfs-root-instead-of-the-fat-netboot-ramdisk/8556/2
2025-11-05 19:31:43 -05:00
Issam E. Maghni
2a3a409ac5
raspberry-pi/4: add only wireless firmwares
2025-11-04 15:28:35 -05:00
Sandro
9ed85f8afe
Merge pull request #1633 from NixOS/pi4-rendering
...
raspberrypi/4: fix many option rendering
2025-10-10 14:30:35 +00:00
Sandro Jäckel
eb9e8e10ac
raspberrypi/4: fix many option rendering
2025-10-10 15:50:52 +02:00
Sandro Jäckel
d0955d227d
raspberry-pi/3: load usbhid and usb_storage
2025-10-07 22:08:20 +02:00
Jörg Thalheim
003318603f
Merge branch 'master' into tc358743-4-lane
2025-09-03 20:40:56 +02:00
Jörg Thalheim
ea1e368e75
Merge pull request #1559 from moduon/rpi-tmp-crb
...
fix(raspberry-pi-4): enable building kernel
2025-09-01 18:01:20 +00:00
Jörg Thalheim
6b7941884f
Merge pull request #1562 from hatch01/fix-tc358743
...
fix: tc358743 dt overlay
2025-09-01 18:00:28 +00:00
Jasper Chan
c4af46bb6a
raspberry-pi/4: support enabling/disabling media-controller api on tc358743
2025-08-13 21:48:22 -07:00
Jairo Llopis
79649965c5
fix(raspberry-pi-4): enable building kernel
...
Fixes https://github.com/NixOS/nixos-hardware/issues/858
2025-08-11 08:12:40 +02:00
eymeric
680761f019
fix: tc358743 dt overlay
2025-08-08 22:41:18 +02:00
Jasper Chan
6015af43f3
raspberry-pi/4: support 4lane csi
2025-07-08 12:26:38 -07:00
Andre
51e51e6014
chore: format repo using treefmt-nix and nixfmt-rfc-style
2025-06-04 12:35:54 -04:00
Chris McDonough
50c1d00e9d
add optional config that makes lgpio and pigpio work
2025-05-28 20:32:58 -04:00
Karolis Stasaitis
8f44cbb48c
raspberry-pi-4: poe-hat: add PWM polarity value
2025-02-24 08:09:17 +00:00
Jörg Thalheim
75a920536c
rpi2: switch to extlinux bootloader
2025-01-07 08:16:49 +00:00
Felix Buehler
90ecc4a20c
raspberry-pi.4.leds.{eth,pwr}: fix target rename
2025-01-07 07:10:09 +00:00
Felix Buehler
c422baea26
raspberry-pi.4.leds: enable overlays-dtmerge
2025-01-07 07:10:09 +00:00
javigomezo
f6abeb027b
raspberry-pi-4: fix devicetree filter
2024-12-21 12:51:24 +01:00
javigomezo
5e6a546334
raspberry-pi-4: add tv-hat overlay
2024-12-21 12:23:01 +01:00
Ali Rizvi
14c333162b
treewide: remove uses of lib.mdDoc
2024-07-30 09:47:52 +00:00
Jörg Thalheim
a59f00f5ac
raspberry-pi/3: remove ttyAMA0 from console list
2024-06-29 17:24:25 +00:00
pinage404
43ea86cc8c
remove probably not necessary library
...
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-06-29 17:24:25 +00:00
pinage404
d11eeae766
Raspberry Pi 3: init
2024-06-29 17:24:25 +00:00
Brieuc Dubois
f17f79c796
rpi4: bluetooth fix
2024-06-12 15:40:09 +00:00
Jörg Thalheim
8a4adfe48b
raspberry-pi/5: don't use overlay
2024-05-06 07:04:32 +00:00
leo60228
1d11c10800
raspberry-pi/5: add kernel version assertion
2024-05-06 07:04:32 +00:00
leo60228
7a7f2ea0f2
raspberry-pi/5: add nvme module
...
Co-authored-by: Sergey Kazenyuk <kazenyuk@pm.me>
2024-05-06 07:04:32 +00:00
leo60228
67b979143d
raspberry-pi/5: add xserver configuration
2024-05-06 07:04:32 +00:00
leo60228
c4fa85b9df
raspberry-pi/5: init
2024-05-06 07:04:32 +00:00
Felix Buehler
89e6821370
add and use mkDisableOption
2023-11-18 15:44:54 +01:00
Felix Buehler
a742fe3a04
raspberry-pi/4: add led disable overlay
2023-11-14 20:48:59 +01:00
Felix Buehler
9d09a7452c
raspberry-pi/4: format
2023-11-14 20:47:59 +01:00