Commit Graph
5 Commits
Author SHA1 Message Date
Joshua Warren 7f2014bb98 omarchy-ane-dkms: ship omarchy-ane-smoke and its runner
omarchy-ane-smoke (joshuaswarren/omarchy-ane#50) runs the add program 20
times on the ANE and checks each output against the exact fp16 sum. It
runs omarchy-ane-run from its own directory with the program in
/usr/share/omarchy-ane/fixtures.

- build(): make tools/ane-run. It links libane statically and needs only
  libc and libm at run time. libdrm is a makedepend for drm.h.
- check(): add tools/test_ane_smoke.py (stub runner, fake root, no device).
- package(): install omarchy-ane-smoke, tools/ane-run as omarchy-ane-run,
  and fixtures/h14-anec/add/program-0.anec.
2026-10-01 20:04:22 -05:00
Joshua Warren 8e5c2d2a8b omarchy-ane-dkms: ANE on by default on T6021
omarchy-ane removed omarchy-ane-m2-enable and the modprobe gate
packaging/modprobe/ane_t6021.conf, and added 90-omarchy-ane-firmware.hook,
which fetches the T6021 firmware after each install and upgrade
(omarchy-ane receipts/2026-10-01-t6021-default-on).

- package(): install the firmware hook; drop omarchy-ane-m2-enable, the gate
  file and its backup=() entry. On upgrade pacman deletes an unchanged gate
  file; a changed one becomes ane_t6021.conf.pacsave, which modprobe does not
  read (it reads only *.conf).
- post_remove: remove both firmware files that omarchy-ane-firmware-fetch
  writes (T602x and T8112). Drop the ane-t6021 opt-in edit: no overlay reads
  that key now.
- The overlay comment names /usr/share/omarchy-platform/dtb-overlays.
2026-10-01 18:49:47 -05:00
Joshua Warren a2b5c4000f omarchy-ane-dkms: use the published v0.3.0 release archive 2026-09-30 19:19:31 -05:00
Joshua Warren d00ac79e91 omarchy-ane-dkms: take the v0.3.0 archive from omarchy-ane main d6babeb 2026-09-30 18:51:20 -05:00
Joshua Warren 4d29b46a6c Add omarchy-ane-dkms, the Apple Neural Engine driver
The package builds ane.ko and ane_t6021.ko with DKMS from a
joshuaswarren/omarchy-ane release. It installs the device-tree
overlays, the readiness check, the M2 opt-in tools and their pacman
hooks. aarch64 and edge only.

ane_t6021 stays blocked by /etc/modprobe.d/ane_t6021.conf until the
user opts in. Removal takes out the firmware and the opt-in line that
omarchy-ane-m2-enable wrote.

The watch follows published GitHub releases after 24 hours, on the
reviewed lane.
2026-09-30 17:02:16 -05:00