Repository navigation
wip: prepare aurora edge packages for neo support - #1101
Conversation
a52be4e to
163614d
Compare
|
Pushed four commits on top of yours. The commit messages have the details.
Not built here: Related, for the Neo image. In the edge repo, plain 🤖 Generated with Claude Code |
maralcbr
left a comment
There was a problem hiding this comment.
Reviewed at 87701e6. Requesting changes on linux-aurora and the aura publication gate; the other recipes are close. Reviewed against kernel 5f6c917. Repinning alone doesn't resolve these recipe and qualification issues; please recheck them at the new pin.
Must fix
-
linux-aurorabuilds every Mac's kernel with the Neo config.prepare()mergesj700-radio.config,j700.configandj700-device-parity.configunconditionally. The checked-inconfig(qualified on M1/M2, plus the M3 USB-PD change in 5edd81d) is no longer read. Against that config, M1/M2/M3 users already on edge would:- lose
CONFIG_USB4(wasm, so USB4/Thunderbolt),CONFIG_DEBUG_INFO_BTF(wasy),CONFIG_IIO_AOP_SENSOR_LAS(wasm),CONFIG_KEXEC_FILE(wasy) andCONFIG_RELR(wasy) - gain
CONFIG_ARM64_USER4K_EXPERIMENTAL,PM_ADVANCED_DEBUGandENABLE_DEFAULT_TRACERS - get Btrfs, HID/dockchannel, DWC3/type-C/ATC, zram and rfkill moved from modules to built-in, which changes probe timing and how module options and blacklists apply.
Either preserve existing-machine behaviour (keep a qualified shared config with Neo support added, or build the J700 config only for the Neo), or get the shared changes explicitly approved and boot/initramfs-qualified on M1/M2/M3.
- lose
-
The split build fails.
_package-headers(PKGBUILD:163) installs$O/tools/bpf/resolve_btfids/resolve_btfidsunconditionally. The kernel builds it only withDEBUG_INFO_BTF(Makefile:1541-1545), and neither the fragments nor defconfig set that. -
The bindgen wrapper is never used. Kernel
Makefile:548assignsBINDGEN = bindgen, which overrides the exported environment variable.rust-bindgenwas dropped frommakedependsand isn't in the core/extra dependency closure. So a clean build has no bindgen and Rust support can configure off silently, dropping the Rust drivers including the Asahi GPU driver; a build host that does have bindgen bypasses the wrapper. PassBINDGEN=...on the make command line and assertCONFIG_RUST=yafter configuring. (LLVMfrom the environment works.) -
aura's own publication gate isn't met.build-qualification.jsonrecordshardware_tested: falseand a gate of "native build, matched Stage1/Stage2 Neo boot, repair and upgrade qualification". Please attach that evidence before this publishes, even to edge. Separately, the JSON is read from$startdirrather thansource=().
Should fix
configis now orphaned, and the PKGBUILD citesdocs/aurora-edge.md, which doesn't exist.tests/aurora-edge/metadata.pyisn't wired into.github/workflows/test.yml, so the replaces/provides guarantees aren't enforced.omarchy-aurora-firmware:/etc/mkinitcpio.conf.d/95-aurora-vendor-order.confhas nobackup=.- Early admission works only with a systemd initramfs, while
aopis blacklisted on every Apple Mac. With a busybox initramfs, this hook provides no early admission; non-Neo AOP can load after root, through the vendor-firmware service'sExecStartPost, if that service succeeds. That becomes a must-fix if busybox initramfs is supported.
aurora-regdom-fallbackcan't loop on its own00, but it can oscillate with repeated external country hints. Worth rate-limiting.mesa-aurorabuilds no Vulkan layers and doesn't depend onvulkan-mesa-implicit-layers, unlike ALARM's mesa.
Policy (maintainer opt-in)
- The shared-kernel config changes in must-fix 1, including experimental USER4K, the added debug options and the built-in changes.
- A systemd-initramfs requirement for early peripheral loading.
- Global world-domain regulatory fallback.
- Feed-forward speakerguardd replacing speakersafetyd on J700.
- Reduced Mesa functionality (no layers, Mesa tests off).
- Publishing
aurabefore its qualification gate.
Checked, no problems found
- No automatic stock-package replacements. Only the Neo draft names are in
replaces=. Provider selection is still possible, and the platform group is a label, not a hardware restriction. - The supplied udev rule automatically activates
speakerguarddonly forAppleJ700. The same rule does setACP_IGNOREon the speaker-sense PCM of everyAppleJ*device. - The
mt7932-fullmacudev match is correct (mt7932.c:1401). - Version ordering permits preview upgrades (mesa epoch, aurora5). This was checked by metadata only; no pacman transaction or boot was tested.
cd1d4ea to
f363bbf
Compare
|
Addressed the recipe issues:
Aura qualification metadata now comes through The complete AArch64 kernel Remaining maintainer policy decisions are still open. |
maralcbr
left a comment
There was a problem hiding this comment.
Re-reviewed at f363bbf against my 87701e6 review. The four previous must-fixes are addressed; thanks. Two code issues are new, and the rest is qualification evidence.
Must fix
- The Neo loses audio.
CONFIG_SND_SOC_APPLE_T8140_AOP_AUDIO(asahi.config:46;sound/soc/apple/Kconfig:14-25at 5f6c917) is in neitherconfignorneo.config, so olddefconfig leaves it off. That's the T8140 card for the mics and the AOP back ends for the headphone jack and internal speaker. Add it toneo.config. While there, compare bothasahi.configandj700.configat the pin against the generated config. Currently absent or off:DRM_ACCEL_ANE,THERMAL_DEFAULT_GOV_POWER_ALLOCATOR,SERIAL_APPLE_DOCKCHANNEL,SYSFB_SIMPLEFB,DMABUF_HEAPS/UDMABUF,THERMAL_NETLINKandNVME_HWMON. Decide each one deliberately for the Neo or for everyone. - The regulatory watcher starts too late.
aurora-regdom-fallback:33-38now runsiw reg reload,set-wireless-regdomand the firstfall_backbefore subscribing toiw event. A country hint that lands in that gap is never seen, and the radio can stay blocked. Subscribe first, as before, and keep the new rate limit.
Verified fixed
- Shared config. It's preserved in the input config:
prepare()starts from the checked-inconfigplus a 6-lineneo.config, andtests/aurora-edge/review.pychecks the fragment overrides no shared setting. That test reads the text, not the Kconfig result, so please also compare the generated.configagainst the previous build for M1/M2/M3. - Bindgen.
_makepassesBINDGEN=/LLVM=on every make call (configure, prepare, build,modules_install,vdso_install), andprepare()fails unlessCONFIG_RUST=y. - Headers.
resolve_btfidsis required only when BTF is on, and BTF is on again. aura. The qualification JSON comes throughsource=(), and packaging now requires qualification attestations for the exact pin (native build, Stage1/Stage2 boot, repair, upgrade). It checks that passing reports are declared, not what they contain.- Smaller fixes.
- The DWC3 backport is applied by the existing
*.patchloop. backup=was added and the dead doc reference removed.- The
tests/aurora-edgechecks run in CI. mesa-aurora(notvulkan-aurora) now depends on the implicit layers.
- The DWC3 backport is applied by the existing
Before this publishes
-
Neo boot evidence. None has been supplied for this kernel config. Beyond must-fix 1, the Neo now gets these differences from the J700 config it was tested with:
- built-in vs module for HID/dockchannel, type-C, DWC3/ATC, Btrfs and zram
USB4=m,IIO_AOP_SENSOR_LAS=mandRELR=y- no USER4K
KEXEC_FILE=y, wherej700-radio.configdisables kexec because active radio firmware can't cross kexec. A cold boot doesn't settle that one: either disable kexec for the Neo or show that a kexec is safe.
Please attach a Neo cold boot with Wi-Fi/BT, audio, suspend and LUKS unlock on this exact build.
-
M1/M2/M3 qualification. M1/M2/M3 move from
2439016to5f6c917. Please attach M1/M2 cold-boot evidence on this build, or say explicitly that edge takes it unqualified. -
Native build. No native package-build evidence has been supplied. This PR's
buildmatrix job is still skipped pending approval (.github/workflows/build-pr.yml:178-180), and the linked green run is the self-tests. A maintainer should approve the build solinux-auroraandmesa-aurorabuild natively on aarch64 before merge.
Policy (maintainer opt-in)
aurora-vendor-order.installnow fails any initramfs build whose effective HOOKS aren't systemd, including Macs with customised or legacy busybox hooks (omarchy-settingsdeliberately keeps legacy Mac hooks working). Choose explicitly: support only systemd initramfs on Aurora Macs, or explicitly support a degraded path: skip the hook with a warning and defer AOP admission until after root, which then depends on the vendor-firmware service succeeding and the required firmware being present.- Global world-domain regulatory fallback.
- Feed-forward speakerguardd replacing speakersafetyd on J700.
- Reduced Mesa testing (Mesa's own tests off).
- Kexec left enabled on the Neo despite the radio note.
Pin the Aurora stack, retain Mesa epoch and legacy boot paths, and isolate audio replacements from stock-name upgrades. Keep source tracking disabled for the review candidates. Signed-off-by: DjDeveloperr <hey@djdev.me> Assisted-by: LLM
…hing 5f6c917 merges omacom#301, which leaves the firmware-owned J700 DISP_CPU domain alone; 790d5a81 does not boot the Neo. ALARM's clang18, llvm18 and lld18 install only under /usr/lib/llvm18/bin, so LLVM defaults to that prefix and they are makedepends. The m1n1 floor goes back to 1.6.1, which M1 and M2 users' m1n1-aurora meets, and replaces=linux-asahi goes: it would swap the kernel of every Mac on [omarchy] at its next update. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
replaces= on a stock name swaps that package on every machine using [omarchy] at its next update: Mesa on every aarch64 machine, and m1n1, U-Boot, bless and the audio stack of every M1 and M2; on Qualcomm the platform guard would then refuse the whole upgrade. The recipes keep conflicts and provides, so the Neo image installs them explicitly, and replace only the Neo-only draft names. Every recipe carries the apple-silicon platform group. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No package ships the MT7932 policy files, so the initcpio hook adds them only when present instead of failing the build. Only US and world-XZ exist, and the radio stays blocked for any other country, such as one set from the timezone at setup; a watcher on regulatory changes switches such a country to the world domain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A first build makes the CL shader compilers Asahi needs; the packaged drivers use them with -Dllvm=disabled and -Dspirv-tools=disabled, so an Arch Linux ARM LLVM or SPIRV-Tools bump no longer leaves the Neo without a GPU until a rebuild. llvmpipe goes with LLVM; softpipe stays. check() refuses a staged library that needs either, and libdisplay-info triggers rebuilds. The recipe did not build before: arch-meson's --buildtype clashed with -Dbuildtype=release, and its --auto-features enabled demands the VA front end this driver set cannot have. meson setup now takes arch-meson's flags without auto-features, with b_ndebug like Arch's Mesa, and pins the optional features the dependencies follow. makedepends names rust-bindgen, Arch's bindgen package. Mesa's tests stay off: hk_sampler_bias_test undefines NDEBUG and calls nir_validate_shader, so it links only in debug builds. Built in an Omarchy edge chroot on Arch Linux ARM. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…atabase The radio loads in the initramfs, so cfg80211 does too, and it reads regulatory.db only once. Without it the country set from the timezone reached the driver, which blocks without a policy for it, but not the global domain, so the world-domain fallback never saw it and Wi-Fi stayed down everywhere but the US. The hook now adds the database and its signature, and the fallback reloads it and sets the country again for an initramfs built before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ates Use the existing shared config with additive Neo drivers. Pass the private bindgen wrapper on each make command, require Rust, and package the BTF resolver only when its configuration requires it. Keep Aura unqualified until the exact source pin has boot, repair and upgrade evidence. Track its qualification record and validator as source inputs. Wire edge metadata and regression fixtures into CI, including draft upgrade ordering and firmware admission. Preserve modified mkinitcpio configuration, reject unsupported busybox hook sets, defer rate-limited country fallback with a fresh readback, and restore Mesa's implicit-layer dependency. Signed-off-by: DjDeveloperr <hey@djdev.me> Assisted-by: LLM
Use a disposable writable BUILDDIR when makepkg reads recipes from the read-only CI checkout. Signed-off-by: DjDeveloperr <hey@djdev.me> Assisted-by: LLM
Signed-off-by: DjDeveloperr <hey@djdev.me> Assisted-by: LLM
Carry aurora-wip commit e87b71da6428f91b547d7405a82a038aac2e982d with Ryan Murray’s original authorship and trailers. Keep the existing kernel source pin and shared configuration while allowing the Apple DWC3 glue to resolve its core helper. The preserved-config cross-build exposed the missing symbol and now passes modpost with the backport. Focused package checks pass. Bump the kernel package release for the additional source patch. Signed-off-by: DjDeveloperr <hey@djdev.me> Assisted-by: LLM
Preserve the shared kernel baseline while enabling the Neo userland interfaces and reject dropped config requests. Keep Honeykrisp tests consistent with release NIR libraries and run the full Mesa test build. Subscribe before initial regulatory setup and retain bounded readback recovery. Assisted-by: LLM Signed-off-by: DjDeveloperr <hey@djdev.me>
Use linux aurora-wip-rebase at 0bbaaa063195 with its matching Mesa DRM UAPI. Keep the kernel release suffix deterministic, retain the installed kernel epoch, and use Mesa versions that upgrade both existing image and review packages. The DWC3 export is already in the pinned kernel, so drop its backport. Assisted-by: LLM Signed-off-by: DjDeveloperr <hey@djdev.me>
f661b7a to
12bd60b
Compare
maralcbr
left a comment
There was a problem hiding this comment.
Re-reviewed at 12bd60b against my f363bbf review. (The tree is identical to f661b7a, the earlier merge of master.) Both must-fixes are fixed, and the rebase onto master keeps master's QEMU PCI_HOST_GENERIC/PL011 config change with the updated checksum. The rebase repin adds one new must-fix and several questions, mostly for M1/M2/M3.
Must fix
Keep the -ARCH release suffix. prepare() now sets LOCALVERSION to -aurora (scripts/config --set-str LOCALVERSION "$_kernelname") instead of the shared config's -ARCH, so the release string and /usr/lib/modules/<ver> change for every Mac. Boot-bundle rebuilds find device trees by that suffix: omarchy-mac-boot selects /lib/modules/*-ARCH (lib/dtb-overlays.sh:61,165 at the pinned d8100ec and at main), and the update-m1n1 default DTBS uses the same glob. After the upgrade removes the old -ARCH modules directory, the next update-m1n1 can't find the new kernel's DTBs, so it either fails or rebuilds boot.bin with stale or no trees. Keep -ARCH, or ship a compatible selector migration in omarchy-mac-boot and asahi-scripts first.
Verified fixed
- Neo audio.
SND_SOC_APPLE_T8140_AOP_AUDIO=mis inneo.config. The newvalidate-config.pyfailsprepare()if Kconfig drops any fragment-requested symbol (it validatesneo.config, not the whole baseline). - Regulatory watcher.
iw eventnow starts as a coproc beforeiw reg reload/set-wireless-regdom/fall_back. A dead event stream exits non-zero, soRestart=on-failurebrings it back. Reconciliation uses an idle timeout (read -t 5), though, so a steady stream of unrelated events can postpone it indefinitely. Use an elapsed-time deadline for bounded recovery. - Mesa tests are back on. The NDEBUG test fix is a small, upstreamable patch.
- Initramfs. A non-systemd initramfs now gets a warning and the degraded root-time path instead of a failed build. The recipe chooses degraded root-time admission, which maintainers still need to accept.
- Kexec. The new pin has a
kexec_block()interlock (kernel/kexec_core.c:55-90), so keepingKEXEC_FILE=yis reasonable. Please name the caller,apple_piodma_lock_transition()(pcie-apple-piodma-diag.c:140-150), in the PKGBUILD comment.
Before merge
-
neo.confignow changes every Mac's kernel, not just the Neo's. Its header says it adds "missing common capabilities", and it now enables, for M1/M2/M3 too, settings the shared config had off:SERIAL_APPLE_DOCKCHANNEL(_EARLYCON)=ySYSFB_SIMPLEFB=yDMABUF_HEAPS(_SYSTEM)=yandUDMABUF=yTHERMAL_NETLINK=y,NVME_HWMON=y,TRUSTED_KEYS=m
None is a demonstrated regression (the DT framebuffer path disables sysfb,
drivers/of/platform.c:581-595), but they're shared behaviour changes made from a Neo fragment.tests/aurora-edge/review.pydoesn't catch this either: it rejects onlyNAME=overrides, not flips of# NAME is not set. Either split these into a deliberate shared change and review them, or include them in the M1/M2/M3 qualification. -
M1/M2/M3 move to a new kernel line. The pin goes
2439016→0bbaaa0onaurora-wip-rebase, and the asahi DRM UAPI grows: a new GEM_MADVISE ioctl, new params fields, an end-appendedqueue_create.render_scs_layout, render and compute command extensions, and the oldpadnow a HAL200flags. Legacy render/compute records are zero-extended (queue/mod.rs:853,878,util.rs:111-126), so older Mesa should keep working. J613's HAL200 runtime requires explicit VM acknowledgement, while G17P doesn't (file.rs:526-534). Mesa is "matched to the DRM UAPI in linux aurora-wip-rebase", but M1/M2/M3 don't installmesa-aurora; they run the distro Mesa. Please show GPU acceleration on an M1/M2 with the stock Mesa on this kernel, plus the cold boot the recipe header asks for. -
epoch=1onlinux-aurorais permanent. The commit says it keeps "the installed kernel epoch", but the Neo version fixture intests/aurora-edge/metadata.py:101(7.1.12.aurora4-…) has no epoch. The archive the installer'sbuild6-m123-neo.sh:39,56selects has none in its.PKGINFOeither, andaurora6-1already sorts above master'saurora2-12. Show a deployed1:package; otherwise drop the epoch, since it can never be removed once published.
Still needed before publication (unchanged)
- A Neo cold boot with Wi-Fi/BT, audio, suspend and LUKS unlock on this exact build.
- M1/M2/M3 cold-boot evidence on this build.
- A native package build: this PR's
buildjob is still skipped pending maintainer approval.
Policy (maintainer opt-in)
- Item 1's shared config additions, if they stay shared.
- Global world-domain regulatory fallback.
- The degraded root-time AOP/Wi-Fi admission on non-systemd initramfs.
- Feed-forward speakerguardd replacing speakersafetyd on J700.
- The permanent kernel epoch.
- Kexec/kdump, hibernation and deep suspend blocked while the Neo radio holds retained memory (s2idle is allowed once the radio is ready and admitted;
pcie-apple-piodma-diag.c:163-206,717-727).
Preserve CONFIG_LOCALVERSION from the shared config so omarchy-mac-boot and update-m1n1 keep finding /lib/modules/*-ARCH/dtbs. Leave boot-image filenames unchanged and increment pkgrel for the corrected package. Validation: package review regressions and metadata checks pass; Bash syntax passes. Kernel rebuild and hardware upgrade qualification remain pending. Assisted-by: LLM Signed-off-by: DjDeveloperr <hey@djdev.me>
Use an elapsed-time deadline instead of an idle read timeout. Keep the existing fallback rate limit and restart a dead watcher. A stream of scan events cannot hide a country change that arrived before subscription became ready. Validation: new busy-stream regression fails on the old watcher and passes with the fix; all 11 review tests and 9 package metadata tests pass. No live regulatory changes were performed. Assisted-by: LLM Signed-off-by: DjDeveloperr <hey@djdev.me>
|
Pushed two follow-ups to the current review:
The branch is still linear (14 topic commits, no merge commits). This does not claim the shared-config/epoch questions, stock-Mesa compatibility, native package builds or hardware qualification are complete. Actual package builds still await upstream approval. Assisted-by: LLM |
maralcbr
left a comment
There was a problem hiding this comment.
-ARCHsuffix: resolved.prepare()leaves the shared config'sCONFIG_LOCALVERSION="-ARCH"alone,LOCALVERSION_AUTOstays off, and the pin has nolocalversion*files of its own. With the recipe'slocalversion.10-pkgrel(-6-2, PKGBUILD:68), the generated release is7.1.12-6-2-ARCH, so the*-ARCHDTB selector inomarchy-mac-boot/update-m1n1still matches. Could you add a regression check totests/aurora-edge/review.pyasserting the generated release ends in-ARCH?omarchy-mac-bootdepends on that string, and nothing currently guards it.- Regulatory readback: resolved.
next_reconcileis now an elapsed-time deadline that unrelated events can't push back, andtest_busy_unrelated_events_cannot_starve_country_readbackcovers it.
These items from my previous review are still open:
neo.config's shared additions for M1/M2/M3.- An M1/M2 GPU check with stock Mesa on the rebased kernel.
- The permanent
epoch=1. - Neo and M1/M2 cold boots on this build.
- A native CI build.
Separate deliberate platform-wide capabilities from Neo-only drivers and validate both fragments. Check the generated kernel release retains the DTB selector suffix and cover positive/negative releases. Drop the unpublished kernel epoch; existing public preview versions already upgrade without it. Assisted-by: LLM Signed-off-by: DjDeveloperr <hey@djdev.me>
maralcbr
left a comment
There was a problem hiding this comment.
Checked 829376e. Three of the open items are now resolved:
- Epoch: resolved.
epoch=1is dropped before publication, andmetadata.pynow assertslinux-aurorahas none.7.1.12.aurora6-2already sorts above master'saurora2-12. - Shared capabilities: resolved. They're now explicit in
common.config, separate from the Neo drivers, and checked byvalidate-config.pylikeneo.config.review.pynow also rejects a Neo fragment that flips a shared# … is not set. - Release suffix: resolved.
_check_kernelreleasefailsprepare()unless the generated release ends in-ARCH, with positive and negative test cases.
Small fixes in this commit:
TRUSTED_KEYS=mdowngrades the SEP driver. The "SEP-backed keys" comment is right: the pin registers anappleseptrust source (drivers/soc/apple/trusted_shim.c:77-106, fromsep.rs:2385-2386). At this pinAPPLE_SEPalso depends onTRUSTED_KEYS(drivers/soc/apple/Kconfig:125). SoTRUSTED_KEYS=mis what keeps the SEP driver at all, but it caps the shared config'sCONFIG_APPLE_SEP=y(config:7214) atmon every Mac. If built-in SEP matters (early availability, initramfs contents), useTRUSTED_KEYS=y; either way, please state the choice and qualify SEP-backed trusted keys at runtime.validate-config.pychecks only the requested symbols, so it doesn't catch baseline downgrades like this one. Consider also failing on anyy→m/off change againstconfig.- Garbled kexec comment. The
prepare()comment now reads "at this pin Neo radio admission acquires the / apple_piodma_lock_transition() … acquires the kernel kexec blocker". Please fix the sentence.
Still needed before publication:
- An M1/M2 GPU check with stock Mesa on the rebased kernel.
- Neo and M1/M2 cold boots on this build.
- A native CI build (still skipped pending approval).
Pin omacom/linux-aurora integration/aurora at 5d570a78a4ab29ac383ec8988be2356dfc6c8a75 after aurora-wip-rebase merged. Update the source URL and Mesa's matching DRM reference, and advance the kernel package revision to 7.1.12.aurora7-1. Validation: 13 package review tests, 9 metadata tests and recipe Bash syntax passed. The updated kernel build and Neo installation testing remain in progress. Assisted-by: LLM Signed-off-by: DjDeveloperr <hey@djdev.me>
Apply a checksum-pinned patch to the existing boot source and bump pkgrel. sysroot.mount now requires successful encryption, rather than proceeding after a failed service on ordering alone. Preserve that dependency through the conversion's runtime mapper override. Validation: complete boot package suite and native package build passed. The actual faulty initrd was booted under QEMU: Btrfs failed on the leaked host wrapper and the new gate kept sysroot unmounted. The unchanged encryption script's mounted-filesystem refusal remains intact. Assisted-by: LLM Signed-off-by: DjDeveloperr <hey@djdev.me>
The enabled Asahi Vulkan tests link libvulkan; the isolated package build failed at src/asahi/vulkan/meson.build:309 because that library was absent. Add vulkan-icd-loader to makedepends so the test link dependency is available during configuration. Validation: Mesa recipe regression, generated package metadata and Bash syntax passed. GPU source and runtime package versions are unchanged; a full isolated Mesa rebuild is not claimed. Assisted-by: LLM Signed-off-by: DjDeveloperr <hey@djdev.me>
Build trusted keys and SEP into the kernel, and compare fragment output against a baseline normalized with the same source and toolchain. Reject silent built-in downgrades, fix the radio kexec explanation and bump the package release. Assisted-by: LLM Signed-off-by: Dj <hey@djdev.me>
maralcbr
left a comment
There was a problem hiding this comment.
Resolved
- SEP stays built in.
common.confignow setsTRUSTED_KEYS=yandAPPLE_SEP=y,validate-config.pychecks both, and--preserve-builtinsfails on any sharedythat the fragments downgrade. - Kexec comment is fixed.
- Mesa test build.
vulkan-icd-loaderinmakedependsfixes the missing build dependency for the enabled Vulkan tests; a full Mesa rebuild isn't claimed. - Kernel source. The pin moves to
omacom/linux-auroraintegration/auroraat 5d570a7. The repin introduces no asahi DRM UAPI header changes (byte-identical to 0bbaaa0). Runtime compatibility still needs qualification: the kernel requires a HAL200 VM acknowledgement on non-G17 HAL200 hardware (file.rs:526-534), while pinned Mesa leaves that field zero (agx_device.c:1106-1118).
Before merge
- The
omarchy-mac-bootchange belongs in its own PR, made upstream first.- e2d8406 patches
omacom/omarchy-mac-pkgsfrom inside omarchy-pkgs (encryption-root-gate.patch). - It changes boot behaviour for every Mac using the rebuilt systemd initramfs hook, including declined and plaintext installs, not just the Neo:
sysroot.mountnowRequires=omarchy-mac-encrypt.service(encryption-root-gate.patch:9-10,23-24). - That service has no
Condition…=, so it always runs, underset -euo pipefail. Its normal paths for healthy, declined and already-LUKS Macsreturn 0, and finished/rekeyed Macs tolerate missing or revoked keys (omarchy-mac-encrypt:755-775). Any failed activation now blocks the root mount, though. Example: a malformedinstall.conffails at:154-168even when the encrypted root is valid. Previously that failure didn't gatesysroot.mountitself, and an independently valid sd-encrypt setup could still boot. - Failing closed when a conversion fails mid-way is reasonable. Making every encrypted Mac's boot depend on that script succeeding is a maintainer decision.
- Please land it in omarchy-mac-pkgs and pin the new commit here, in a separate omarchy-pkgs PR. Attach boot evidence on an already-encrypted M1/M2, a declined Mac and a pre-Omarchy LUKS Mac; the added test checks the dependency graph (
patch:48-53), not those boots.
- e2d8406 patches
- The built-in check misses pin-caused losses.
--preserve-builtinscompares againstbaseline-resolved.config, which is the checked-in config afterolddefconfigat the new pin. A built-in that the pin itself turns off (exactly whatAPPLE_SEPwould have done withoutTRUSTED_KEYS) is already gone from the baseline. Also audit losses against the checked-inconfig: list anyythat resolves tom/off, allowing reviewed renames and compiler-probe differences. - Another new kernel line for M1/M2/M3. 5d570a7 is 626 commits ahead of and 560 behind 0bbaaa0. That's ancestry, not a measure of functional change, but it is a different line from the one reviewed before. The open qualification items now apply to this pin:
- an M1/M2 GPU check with stock Mesa
- Neo and M1/M2 cold boots
- a native CI build (still skipped pending approval)
Use the pinned upstream boot package without changing its root-mount dependencies. Keep the existing upstream encryption activation contract and leave bootloader selections unchanged. Validation: 15 Aurora recipe tests, 9 package metadata tests, bash syntax and git diff checks passed. Assisted-by: LLM Signed-off-by: Diljit Singh <hey@djdev.me>
|
Thanks: a6b52f8 resolves the I've added
|
Keep the original shared config and the common/Neo fragments. Remove the preliminary baseline normalization and the general built-in comparison; retain checks for explicitly requested fragment values, including built-in SEP. Validation: 14 recipe review tests, 9 metadata/checksum tests, Python compilation, shell syntax and whitespace checks passed. The shared config matches the PR base byte for byte; source pins and config inputs are unchanged. Assisted-by: LLM Signed-off-by: Diljit Singh <hey@djdev.me>
Keep runtime-only dependencies in package metadata without installing them into the Aura, audio-profile and firmware build environments. Install rustfmt for the pinned bindgen toolchain and select it explicitly during private-tool validation and kernel make phases. Validation: 14 recipe tests and 10 metadata/checksum tests passed. Native audio and firmware makepkg builds completed with all runtime dependencies retained. The exact pinned private bindgen rebuilt and passed all five C/Rust fixture groups; omitting rustfmt reproduced the CI failure. Assisted-by: LLM Signed-off-by: Diljit Singh <hey@djdev.me>
Allow PR packages to retain an honestly unqualified hardware record while validating source identity and disabled automatic Stage 1 enrollment. Keep the standalone validator strict by default and require complete evidence for any record claiming hardware qualification. Validation: 15 recipe tests, 10 metadata/checksum tests and CLI checks passed. Native CI compiled both Aura stages before the previous package-time qualification rejection. Assisted-by: LLM Signed-off-by: Diljit Singh <hey@djdev.me>
maralcbr
left a comment
There was a problem hiding this comment.
Approving at 533635f. The earlier blockers are resolved, every package has a passing native build, and DJ reports the hardware testing as covered. This goes to edge only; rc promotion stays parked. Follow-ups, non-blocking: set hardware_tested: true with report links in aura/build-qualification.json, and we'll boot an M1/M2 on the edge kernel.
Publish succeeded → livePackages: alsa-ucm-conf-aurora (x86_64, PR artifact); aura (aarch64, PR artifact); aurora-audio (x86_64, PR artifact); aurora-bless (aarch64, PR artifact); linux-aurora (aarch64, PR artifact); mesa-aurora (aarch64, PR artifact); omarchy-aurora-firmware (aarch64, PR artifact); speakerguardd (aarch64, PR artifact); uboot-aurora (aarch64, PR artifact)
Some planned slots did not run because an earlier slot failed. |
Add Neo support and pin the Aurora stack while retaining the existing shared kernel config, Mesa epoch and legacy boot paths. Keep audio replacements isolated from stock-name upgrades.
The kernel uses
omacom/linux-auroraintegration/auroraat5d570a78a4ab29ac383ec8988be2356dfc6c8a75, packaged as7.1.12.aurora7-2. The original sharedconfigis byte-identical to the PR base. Common and Neo fragments add the required capabilities, including built-inTRUSTED_KEYSandAPPLE_SEP; validation checks the requested fragment values afterolddefconfig. The extra general built-in-preservation guard and preliminary normalization pass have been removed. This PR does not claim a raw-config loss audit.The Neo bootloader packages use
aurora-silicon/auraatc4331a90ef324eab33d34d1515d7e42748a293abandaurora-silicon/u-bootat0cb6fed6a10512d1013a4a80b6d83c3d56140f2f. Their installed boot paths remain compatible.omarchy-mac-bootstays on unpatched upstreamd8100ec9442a7612e5a686939cc6bbb1bd4fc2bd(20261010-1); the downstream encryption root-mount gate was removed, together with its companion requirement in installer PR #57. The installer retains embedded Btrfs validation and the upstream encryption activation link.Native-CI build fixes: Aura, audio profiles and firmware now declare runtime-only dependencies in
package(), retaining every runtime dependency in the finished packages. The kernel recipe installs and explicitly selects the pinned toolchain'srustfmt; omitting it reproduced bindgen's self-test failure. Aura candidate packages validate source identity and retain their honesthardware_tested: falserecord; the standalone qualification validator remains strict by default for release review. No source pins or kernel config inputs changed.Validation: 15 recipe review tests and 10 metadata/checksum tests passed, as did Python compilation, shell syntax and whitespace checks. The exact pinned private bindgen rebuilt and passed all five C/Rust fixture groups. Native CI passed audio and firmware package builds, and their artifacts retain all expected runtime dependencies; both Aura stages compiled. The full native kernel package build also passed for
7.1.12-7-2-ARCH: https://github.com/omacom/omarchy-pkgs/actions/runs/39111694614/job/117629092454 . The follow-up Aura candidate package build also passed: https://github.com/omacom/omarchy-pkgs/actions/runs/39112605003 . The final run reused the successful kernel, audio and firmware artifacts by their exact package tree hashes. No new hardware test is claimed.Earlier validation of this kernel/configuration included a complete isolated AArch64 cross-build of Image, modules and DTBs for
7.1.12-7-2-ARCH. Linkedvmlinuxandmodules.builtinconfirmed built-in SEP; all 1,871 packaged module hashes matched the retained manifest. Local package SHA256:c22c40e921e5ddad25a68e239623da04e7413eb08bae25d9ad8246e115d54fd6. The owner reports the review's exact-pin qualification item complete. Earlier source CI passed self-tests and build isolation: https://github.com/omacom/omarchy-pkgs/actions/runs/39087484475 . Current-head source CI passed self-tests and build isolation: https://github.com/omacom/omarchy-pkgs/actions/runs/39112604991 . Current-head native build result passed, reusing the exact unchanged kernel/audio/firmware artifacts and building Aura: https://github.com/omacom/omarchy-pkgs/actions/runs/39112605003 .Aura qualification and the existing regulatory, peripheral-admission and speaker-safety policies remain maintainer-controlled. This PR does not create a release or tag.