Commit graph

2747 commits

Author SHA1 Message Date
Jamie Magee
8b100f75f3 raspberry-pi: add README 2026-05-19 20:15:14 -07:00
Doron Behar
9bd7c80d43
Merge pull request #1824 from Gigahawk/rpi4-always-apply-overlay
raspberry/pi/4: disable compat checks when merging overlays
2026-05-12 13:37:22 +00:00
Doron Behar
0a1d15fc50
Merge pull request #1862 from JamieMagee/raspberry-pi/3-import-common
raspberry-pi/3: import common profile
2026-05-12 13:26:04 +00:00
Doron Behar
c0573b3113
Merge pull request #1861 from JamieMagee/raspberry-pi/wire-configtxt
raspberry-pi: wire config.txt module into common profile
2026-05-12 13:25:37 +00:00
Jasper Chan
e315416e7b raspberry/pi/4: disable compat checks when merging overlays 2026-05-11 12:07:46 -07:00
Doron Behar
3bcaa367d4
Merge pull request #1860 from JamieMagee/raspberry-pi/fix-localversion-modDirVersion
raspberry-pi: fix empty LOCALVERSION breaking modDirVersion
2026-05-07 08:49:21 +00:00
Jamie Magee
7bd5ab3ee5 raspberry-pi/3: import common profile
The Pi 3 profile didn't import ../common/default.nix, so it skipped
the shared boot.initrd.availableKernelModules (usb-storage, usbhid,
vc4). Every other board profile imports common/. Bring Pi 3 in line.
2026-05-05 14:04:57 -07:00
Jamie Magee
105c702c2e raspberry-pi: wire config.txt module into common profile
PR #1788 added hardware.raspberry-pi.configtxt and a defaults file,
but nothing imported them, so the options had no effect. Import both
from common/default.nix. Board profiles that already import common/
(2, 4, 5) now apply the pi-gen-equivalent defaults.
2026-05-05 14:04:51 -07:00
Jamie Magee
ae243122dd raspberry-pi: restore postConfigure sed for LOCALVERSION
freeform "" can't emit an empty string through nixpkgs mkValue; it renders as the literal "", so CONFIG_LOCALVERSION ends up two chars and modDirVersion becomes 6.12.75"". Bring back the sed from before #1841.

Fixes #1859.
2026-05-05 13:34:59 -07:00
Doron Behar
df7783100b
Merge pull request #1841 from JamieMagee/raspberry-pi/structuredExtraConfig-only
raspberry-pi: add structuredExtraConfig for vendor kernel
2026-05-04 17:58:44 +00:00
Doron Behar
f1b7ff92cd
Merge pull request #1856 from doronbehar/nxp-no-import-nixpkgs
nxp*: remove dead code
2026-05-04 17:12:59 +00:00
Doron Behar
ece5a2c7bd nxp*: remove dead code 2026-05-04 19:58:43 +03:00
Doron Behar
9fd075073d
Merge pull request #1857 from doronbehar/purism-librem-5r4-uboot
.#purism-librem-5r4-uboot: promote from a private package
2026-05-04 16:55:48 +00:00
Jamie Magee
88cd2fa6e9 raspberry-pi: match RPi vendor defconfigs in kernel config
Override the nixpkgs common-config.nix values that conflict with the RPi
vendor defconfigs. Without these the kernel config silently differs from
the vendor defconfig.

mkForce is used only on options where nixpkgs common-config sets a
conflicting value at normal priority.

Ref: https://github.com/raspberrypi/linux/tree/rpi-6.12.y/arch/arm64/configs
2026-05-04 08:50:24 -07:00
Jamie Magee
554e00a592 raspberry-pi: replace postConfigure sed hack with structuredExtraConfig
Set CONFIG_LOCALVERSION via structuredExtraConfig instead of patching
.config and auto.conf with sed after configure. The vendor defconfigs
set -v7, -v8, -v8-16k which breaks modDirVersion.
2026-05-04 08:49:55 -07:00
Doron Behar
a5e3b25c4a .#purism-librem-5r4-uboot: promote from a private package
Co-Authored-By: Malix - Alix Brunet <alixbrunetcontact@gmail.com>
2026-05-04 18:39:23 +03:00
Doron Behar
10c5286181
Merge pull request #1840 from JamieMagee/raspberry-pi/dtb-fixup
raspberry-pi: fix DTB name mapping for U-Boot
2026-05-04 12:09:10 +00:00
Doron Behar
61034489c2
Merge pull request #1822 from peat-psuwit/for-upstream/linux_rpi-6.12.75
raspberry-pi/common/kernel: 6.12.47-stable_20250916 -> 6.12.75-1+rpt1
2026-05-04 11:40:28 +00:00
Ratchanan Srirattanamet
e879889fe2 raspberry-pi/common/kernel: 6.12.47-stable_20250916 -> 6.12.75-1+rpt1
As mentioned in Nixpkgs PR [^1], Raspberry Pi folks stop tagging both
raspberrypi/linux and raspberrypi/firmware GitHub repo. So, I switched
my reference point to Raspberry Pi OS, which publishes their packaging
for Linux kernel in RPi-Distro/linux-packaging.

The version is set to Debian packaging's version, and the commit comes
from the changelog entry for that version.

The old code structure is somewhat kept in case Raspberry Pi ever tags
their raspberrypi/linux repo again.

[^1]: https://github.com/NixOS/nixpkgs/pull/493115
2026-05-04 15:50:53 +07:00
Jamie Magee
57fd23db81 raspberry-pi: fix DTB name mapping for U-Boot
- Gate on rpiVersion instead of architecture; skip for Pi 4+ where
  vendor and upstream DTB names already match
- Fix bcm2835-rpi-zero.dtb: was copied from bcm2708-rpi-b-plus (wrong
  board), now uses bcm2708-rpi-zero
- Drop bcm2711-rpi-4-b -> bcm2838-rpi-4-b copy; nothing uses bcm2838-*

Ref: https://github.com/u-boot/u-boot/blob/master/board/raspberrypi/rpi/rpi.c
2026-05-03 12:53:10 -07:00
Doron Behar
eeb02f6e29
Merge pull request #1798 from m00wl/nuc7i3bnb
Add support for Intel NUC 7i3BNB
2026-05-03 08:14:06 +00:00
Doron Behar
4296967ed5
Merge pull request #1834 from JamieMagee/dependabot-nix
Add `tests` directory to Dependabot nix configuration
2026-05-03 08:00:11 +00:00
Doron Behar
1a9b2d1633
Merge pull request #1773 from fkokosinski/rpi5
raspberry-pi/5: set generic-extlinux-compatible by default
2026-05-03 07:55:26 +00:00
Doron Behar
367d09140b
Merge pull request #1847 from doronbehar/ignore-nixfmt-commit
.git-blame-ignore-revs: ignore nixfmt commit
2026-05-03 07:52:14 +00:00
Doron Behar
7c1204314f
Merge pull request #1839 from JamieMagee/raspberry-pi/replace-overrideDerivation
raspberry-pi: replace deprecated lib.overrideDerivation with .overrideAttrs
2026-05-03 07:43:21 +00:00
Doron Behar
55b4b43081 .git-blame-ignore-revs: ignore nixfmt commit 2026-04-29 09:20:23 +03:00
Jamie Magee
d7514338e2 raspberry-pi: replace lib.overrideDerivation with .overrideAttrs
lib.overrideDerivation is deprecated and strips passthru attributes
(.configfile, .moduleBuildDependencies, etc.) from the kernel
derivation, which breaks downstream users expecting a standard
buildLinux output.

.overrideAttrs preserves passthru and matches every other custom
kernel in this repo.
2026-04-24 14:43:21 -07:00
Daniel Schaefer
2096f3f411
Merge pull request #1836 from nekronos/framework13-import-ultra-series-3
framework: import ultra series 3 in flake
2026-04-23 22:38:56 +00:00
Vegard Strand Lende
dcc512b7fe framework: import ultra series 3 in flake 2026-04-23 11:12:31 +02:00
Jamie Magee
56ea606134 Add tests directory to Dependabot nix configuration
Co-authored-by: Copilot <copilot@github.com>
2026-04-22 09:04:45 -07:00
Jörg Thalheim
72674a6b55
Merge pull request #1825 from JamieMagee/dependabot-nix
Add Dependabot for nix flake updates
2026-04-22 04:06:35 +00:00
Jörg Thalheim
ba0deeb605
Merge pull request #1831 from FrameworkComputer/framework13-intel-core-ultra-series-3
framework: Add Laptop 13 Intel Core Ultra Series 3
2026-04-22 04:05:45 +00:00
Daniel Schaefer
132bbca15c framework: ultra3: Allow unl0kr in initrd
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-04-22 06:29:32 +08:00
Daniel Schaefer
0e2bafe2b5 framework: ultra 3: 6.17 minimum kernel
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-04-22 06:29:32 +08:00
Daniel Schaefer
bacd3ee7a9 framework: Add Laptop 13 Intel Core Ultra Series 3
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-04-22 06:29:32 +08:00
Filip Kokosiński
8adb8e570b raspberry-pi/5: set generic-extlinux-compatible by default
This allows the generic ubootRaspberryPiAarch64 package from nixpkgs to
be used with Raspberry Pi 5.

Signed-off-by: Filip Kokosiński <filip.kokosinski@gmail.com>
2026-04-15 21:13:12 +02:00
Jamie Magee
cbf2dc32fa Add Dependabot for nix flake updates
See https://github.blog/changelog/2026-04-07-dependabot-version-updates-now-support-the-nix-ecosystem/
2026-04-10 09:45:56 -07:00
Florian
c775c2772b
Merge pull request #1817 from k0ral/fix/int-tostring
fix(raspberry-pi): Explicitly convert integers to strings
2026-04-06 15:41:53 +00:00
Daniel Schaefer
bd363ef3d7
Merge pull request #1796 from gcugnet/fix/framework-12th-gen-blacklist-mkif
framework/12th-gen-intel: fix blacklistedKernelModules using lib.mkIf
2026-04-06 14:48:09 +00:00
Guillaume Cugnet
1b0b84259f
framework/12th-gen-intel: fix blacklistedKernelModules using lib.mkIf
lib.mkIf returns an attrset, not a string, so it cannot be used
as a list element. Replace with lib.optional.

Fixes: error: expected a string but found a set: { _type = "if"; ... }
2026-04-04 10:39:26 +02:00
Jörg Thalheim
80afbd13ee
Merge pull request #1775 from mexisme/microsoft-surface/update-kernel-6.18.13
Some checks failed
Test / nixfmt (push) Has been cancelled
Test / tests (push) Has been cancelled
microsoft/surface: Update to kernel 6.18.13
2026-04-03 08:07:27 +00:00
mexisme
62550a8541 Merge master into microsoft-surface/update-kernel-6.18.13 2026-04-03 08:52:54 +01:00
koral
4593bb129d fix(raspberry-pi): Explicitly convert integers to strings 2026-04-01 20:47:00 +02:00
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
4bf5422a66
Merge pull request #1772 from philip-maus/latitude-7430-caps-lock-led
dell/latitude/7430: Enable Caps Lock LED
2026-03-31 05:02:48 +00:00
Jörg Thalheim
9001f8d383
Merge pull request #1774 from fkrestan/dell-latitude-e7440
Add Dell Latitude E7440
2026-03-31 05:02:35 +00:00
Jörg Thalheim
4d7e4d9aef
Merge pull request #1777 from florianvazelle/hydra
Add hydra jobs & flake packages for Raspberry Pi kernels
2026-03-31 04:52:36 +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
Jörg Thalheim
8a2c27614b
Merge pull request #1779 from WaffleLapkin/disable-user-service
don't set removed option `asusd.enableUserService`
2026-03-31 04:50:39 +00:00
Jörg Thalheim
47869aa5e0
Merge pull request #1784 from Crazzygamerr/acer-predator-helios
Add configuration for Acer Predator Helios 300 (PH315-51)
2026-03-31 04:50:19 +00:00