Commit graph

2778 commits

Author SHA1 Message Date
Jörg Thalheim
32c2cd9e46
Merge pull request #1902 from govindsi/fix/imx9x_build
FIX: imx93 ATF compile fix with GCC 14+ and cross build fix for imx9x targets
2026-06-09 16:02:44 +00:00
Govind Singh
307a84fc96 compulab: ucm-imx95: fix cross-build of mkimage host tools
imx-mkimage runs on the build machine, but ucm-imx95-boot used target stdenv
and forced clang. Cross-building the SD image from x86_64 then failed building
mkimage_imx8 with "stdio.h not found", blocking flash.bin.

Build mkimage with buildPackages; keep firmware blobs from target pkgs.
2026-06-05 15:47:58 +04:00
Govind Singh
d66213a72e nxp: imx93-evk: fix cross-build of mkimage host tools
When building the imx93 SD image from x86_64, imx93-boot used target pkgs for
the imx-mkimage derivation and its native tools (git, dtc, xxd). mkimage runs on
the build machine, but Nix tried to cross-compile git for aarch64 and failed
with "linker `cc` not found" while building libgitcore, blocking flash.bin and
the SD image.

Build mkimage with buildPackages (host tools) while keeping firmware inputs
(ATF, U-Boot, OP-TEE, etc.) from target pkgs.
2026-06-05 11:45:05 +04:00
Govind Singh
e678820fd5 nxp: imx93-atf: fix GCC header-guard build failure
GCC 14+ treats the mismatched TRDC header guard in imx-atf as a hard error
(-Werror=header-guard), so bl31.bin does not build on our pinned revision.

Fetch the upstream fix (e194a14) as a patch without bumping the ATF revision.
2026-06-05 10:43:06 +04:00
Doron Behar
4ed851c979
Merge pull request #1896 from Malix-Labs/docs-flake-input
treewide: enhance flake inputs
2026-06-01 10:47:46 +00:00
Malix - Alix Brunet
43bd35ee23
treewide: make nixpkgs flake inputs target hydra tarballs 2026-06-01 12:34:58 +02:00
Malix - Alix Brunet
571b99c6aa
docs: flake input nixpkgs harmonize capitalisation 2026-06-01 12:34:56 +02:00
Malix - Alix Brunet
485fe1c88d
docs: flake input follows nixpkgs 2026-06-01 12:34:30 +02:00
Malix - Alix Brunet
b28e08a81f
docs: flake input fallback to default branch 2026-06-01 11:44:03 +02:00
Doron Behar
b76b5639c0
Merge pull request #1723 from Malix-Labs/remove-impure-nixpkgs
enhancement: remove impure `<nixpkgs>`
2026-05-29 14:43:32 +00:00
Malix - Alix Brunet
d84f0810be enhancement: remove impure <nixpkgs>
Co-Authored-By: Jamie Magee <jamie.magee@gmail.com>
Co-Authored-By: Doron Behar <doron.behar@gmail.com>
2026-05-29 14:40:49 +03:00
Jörg Thalheim
ef4efb8476
Merge pull request #1820 from mexisme/microsoft-surface/update-kernel-6.19.8
microsoft/surface: Update to Kernel 6.19.8
2026-05-26 20:12:53 +00:00
Doron Behar
c97bc4d15b
Merge pull request #1863 from JamieMagee/raspberry-pi/readme
raspberry-pi: add README
2026-05-20 06:26:11 +00:00
Jamie Magee
8b100f75f3 raspberry-pi: add README 2026-05-19 20:15:14 -07:00
Jörg Thalheim
8792fab9d4
Merge pull request #1855 from nappairam/rock3c
Init Raxda Rock3C
2026-05-18 10:17:37 +00:00
Sandro
8ea1d787af
Merge pull request #1875 from NixOS/settings-infinite-recursion
raspberry-pi/common: fix infinite recursion when building options.json
2026-05-17 22:49:04 +00:00
Daniel Schaefer
88e6bd5c2d
Merge pull request #1845 from druth0/rex
google/rex: Add support for rex Chromebooks.
2026-05-17 16:12:20 +00:00
David Ruth
6cfa598d53 google/rex: Add support for rex Chromebooks.
These Chromebooks are laptops with ssds based on meteor-lake platforms.
2026-05-17 10:19:10 +08:00
Jörg Thalheim
379c1f274f
Merge pull request #1876 from znmz/new-wiki-links
chore: update old wiki links (nixos.wiki -> wiki.nixos.org)
2026-05-16 15:27:52 +00:00
Jörg Thalheim
b9130a10f4
Merge pull request #1879 from FrameworkComputer/framework-audio
framework: audio tuning is for classic chassis only
2026-05-16 15:27:39 +00:00
Jörg Thalheim
4b13247f04
Merge pull request #1878 from FrameworkComputer/framework-drop-bluetooth-workaround
framework: 6.11 remove bluetooth workaround
2026-05-16 15:27:14 +00:00
Daniel Schaefer
65a5c8f9c1
Merge pull request #1844 from druth0/redrix
google/brya: Add support for brya Chromebooks.
2026-05-16 09:41:01 +00:00
Daniel Schaefer
b16dff6d15 framework: audio tuning is for classic chassis only
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-05-16 17:39:38 +08:00
David Ruth
3ee4d6d8a1 google/brya: Add support for brya Chromebooks.
These Chromebooks are laptops with ssds based on alder-lake platforms.
2026-05-16 17:27:49 +08:00
Daniel Schaefer
8db5dd4f10 framework: 6.11 remove bluetooth workaround
6.11 is EOL, see: https://kernel.org/

The workaround, is no longer needed, see:
ff5c08e826

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-05-16 17:20:40 +08:00
znmz
0a47268607 chore: update old wiki links (nixos.wiki -> wiki.nixos.org) 2026-05-15 12:43:28 +03:00
Sandro Jäckel
50a9758cc0
raspberry-pi/common: fix infinite recursion when building options.json 2026-05-14 23:59:22 +02:00
mexisme
17e61aa283
Merge branch 'master' into microsoft-surface/update-kernel-6.19.8 2026-05-12 21:30:09 +01: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
mexisme
959cd47661 microsoft/surface: Update to Kernel 6.19.8 -- linux-surface patches for dirty-frag vulnerability 2026-05-10 23:51:32 +01:00
mexisme
03fb14a4e4 microsoft/surface: Update to Kernel 6.19.8 -- linux-surface patches 2026-05-10 23:50:55 +01:00
mexisme
e0d66b4b92 microsoft/surface: Update to Kernel 6.19.8 -- kernel version 2026-05-10 23:27:19 +01: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
Mariappan Ramasamy
dfe5922604 radxa/rock-3c: init
Add hardware support module for Radxa Rock 3C SBC (Rockchip RK3566).
- Introduces rockchip/rk3566 platform module exposing
  hardware.rockchip.rk3566.enable.
- New radxa/rock-3c module enables radxa, rk3566, and defaults
  platformFirmware to pkgs.ubootRock3C.
2026-05-07 16:35:55 +08: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