Repository navigation
Conversation
Add a data-only package for the M4 Mac mini (J773g) kernel built from techmore/linux j773g/integration-0443-20261112-v2 (920ed134a628): the Image, J773g DTB, modules archive and resolved configuration. Nix does not compile this kernel; the install phase verifies the three payload digests, the kernel release string, the modules metadata and every configuration value the package reports to linuxPackagesFor. This configuration is built without Rust (# CONFIG_RUST is not set), so the package reports RUST = "n" and does not include the Rust GPU driver. The package is exposed as packages.aarch64-linux.j773g-binary-kernel and is not selected by any existing configuration. Assisted-by: OpenAI Codex Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Sean Dolbec <sdolbec1@gmail.com>
The Fedora parity check asserts that each configuration's initrd carries the generic loadable display, Type-C and audio drivers. It iterated over every nixosConfigurations entry, so any hardware-specific configuration whose kernel builds those drivers in, or which does not ship them, would fail the generic assertions. Name the three installer configurations explicitly: aurora-kde, aurora-gnome and aurora-minimal. Their coverage is unchanged. Assisted-by: OpenAI Codex Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Sean Dolbec <sdolbec1@gmail.com>
Add nixosModules.j773g and an aurora-j773g-kde configuration that boots the M4 Mac mini (J773g) with the packaged integration-0443-v2 binary kernel. The generic configurations do not import this module. The module: - mounts the ESP by its AURORA_EFI label, non-fatal with a five-second device timeout; - clears the initrd module lists (the NVMe, watchdog, btrfs, ext4 and vfat drivers needed to reach root are built in) and makes the initrd apple_wdt modprobe non-fatal; - leaves cpufreq on the firmware-selected policy, since the binary package has no source tree to build cpupower from; - applies the J773g kernel parameters, including disabling the USB4 and TBT3 paths of the Type-C controllers; - disables suspend and hibernate entry points and sets PowerDevil defaults that never suspend, while sleep is not qualified on J773g. The non-fatal ESP mount and modprobe apply only to this configuration; modules/image.nix and modules/firstboot.nix are unchanged. Assisted-by: OpenAI Codex Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Sean Dolbec <sdolbec1@gmail.com>
45721f9 to
de28ee4
Compare
|
I rebased this branch onto
Evaluated on an x86_64 host with Nix 2.18, one attribute at a time:
Not done: GitHub CI on this head, a native build of the checks, and a full Hardware (receipt from 2026-11-14): we built the All three counted boots reached
Does not work:
Not shown:
The firewall and vendor-firmware units fail. The missing ESP label also leaves its fsck/mount and the dependent firstboot, Stage 2 commit, and secure-boot adoption jobs failed. All evidence comes from the boot journals; there are no display photos. Earlier attempts that modified |
The hardware matrix passes every package name through prefetch-sources.py before building it. The J773g binary kernel keeps all of its verified payloads in this repository, so record it as a package with no external archives and cover that selection in the prefetch tests. Assisted-by: OpenAI Codex Signed-off-by: Sean Dolbec <sdolbec1@gmail.com>
|
Fixed the failing j773g-binary-kernel hardware job: the vendored package was missing from prefetch-sources.py's no-archive map. The exact failing prefetch command and 12 focused tests pass locally; evaluate is green. Nix is not installed on this MacBook, so I could not run the subsequent aarch64-linux build locally. |
|
Thanks for the J773g bring-up work and the detailed boot receipt; it is good to see Plasma on DCP on the Mac mini. We can't take this shape into the distribution, though. The project keeps one kernel build for every Mac and does not ship per-board kernels or rely on kernel command-line switches to make a machine work. This PR adds:
Each of those should become a kernel driver default selected by the hardware it applies to (the USB4/TBT block, the NVMe controller, the power domains in the device tree), landed in aurora-silicon/linux so the shared kernel package boots the J773g. The sleep/PowerDevil overrides could stay as a documented testing profile if needed. Happy to help split this into those kernel changes, and we can run rows on our M1 Pro, M2, M4 Pro and A18 Pro. |
|
Closing. With aurora-silicon/linux#2317 the shared kernel boots the J773g (27.2 stub) with none of these parameters: two boots, five minutes each, execmem enforcing, unused clocks and domains disabled. No per-board kernel or required command-line switch is needed. |
Summary
aurora-j773g-kdeconfiguration for the M4 Mac mini (J773g), with J773g-only kernel parameters, ESP handling, disabled sleep entry points, and PowerDevil defaults.920ed134) Image, J773g DTB, modules archive, and resolved configuration with payload-digest, release, module-metadata, and reported-kernel-config checks.aurora-kde,aurora-gnome, andaurora-minimal.The J773g configuration is opt-in and does not change the three generic configurations. Its optional ESP mount and non-fatal
apple_wdtmodprobe are scoped tomodules/j773g.nix;modules/image.nixandmodules/firstboot.nixmatchmain.The shipped binary kernel is built without Rust (
# CONFIG_RUST is not set) and withoutCONFIG_DRM_ASAHI. It has the Apple DCP display path but no Asahi GPU driver or GPU acceleration. This is an experimental bring-up profile, not a hardware-qualified KDE configuration.Testing
da70fb8380278cb1f874d170319a8d71c013a578(tree-equivalent to signed tipde28ee4b8f9cdbc0fbd5b5103370b27d42753f08),checks.aarch64-linux.fedora-parity.failuresevaluates empty. The old head reproduces the fourkde:failures from the redevaluatejob.system.build.toplevel.drvPathevaluates foraurora-kde,aurora-gnome,aurora-minimal, andaurora-j773g-kde.Hardware (receipt from 2026-11-14): we built the
aurora-j773g-kdeclosure natively on aarch64 (a Linux guest on an Apple Silicon Mac mini,sandbox-fallback=false) from the unsigned candidateda70fb83, then booted it on a J773g (M4 Mac mini) as a one-shot GRUB entry from the machine's installed Stage 2. Each boot used the packaged7.3.0-m4atlrx+kernel (Image SHA-2569b2f6aa0…), the profile's initrd and the exact toplevelinit. The device tree in effect came from that Stage 2, not from the packaged DTB. The signed tipde28ee4badds only the sign-off: each signed commit has the same tree as its unsigned counterpart, and nothing in the system graph reads the commit ID (self.revappears only indocs/site.nix). Both tips therefore evaluate to the same toplevel derivation (vxmscaa9…), which two independent evaluations ofda70fb83confirmed. This identity rests on tree equality; the signed tip itself was not evaluated or booted separately.All three counted boots reached
graphical.targetwith a Plasma session (Plasma Login Manager, KWin, plasmashell) on HDMI through DCP, at 1920x1080 at 59 and 120 Hz. The following also worked:apple_wdt(/dev/watchdog)nofailintendsDoes not work:
Not shown:
The firewall and vendor-firmware units fail. The missing ESP label also leaves its fsck/mount and the dependent firstboot, Stage 2 commit, and secure-boot adoption jobs failed. All evidence comes from the boot journals; there are no display photos. Earlier attempts that modified
initor added instrumentation were diagnostics and are not counted.Not run on this head: GitHub CI, a native build of the checks, and a full
nix flake check.Dependencies
None.