linux-ampere-fourier: bump to kafr2 (v7.0-rc3 + kernel-agent manifest, VP9 + AV1) #27

Merged
marfrit merged 1 commits from claude-noether/marfrit-packages:noether/linux-ampere-fourier-kafr2 into main 2026-05-18 14:34:58 +00:00
Contributor

Bumps linux-ampere-fourier to kafr2: drops the f8f3ad9 baseline (which black-screens ampere per fleet/ampere.yaml bisect note) in favor of the kernel-agent-managed 10-patch set from fleet/ampere.yaml.

Baseline change

Aspect kafr1 (prior) kafr2 (this PR)
_commit f8f3ad9 (linux-rk3588-marfrit tip, 18 commits ahead of v7.0-rc3) 48a8c78 (v7.0-rc3 + 10 manifest patches)
Boot status on ampere black-screens ✓ (verified hand-built tip 2026-05-18)
VP9 decode on rkvdec/VDPU381 not present ✓ bit-exact (Sarma's v8 series)
AV1 decode on av1-vpu-dec already mainline ✓ bit-exact via kdirect
H.264 + HEVC works works (unchanged)

Patch set (exactly mirrors fleet/ampere.yaml manifest)

10 patches between v7.0-rc3 and tip 48a8c78:

  • soc/rockchip/rk3588/0001-pwm15-pinctrl-entries.patch
  • board/coolpi-cm5-genbook/0002-pwm-fan.patch
  • module/coolpi-cm5/0003-RK806-system-power-controller.patch
  • board/coolpi-cm5-genbook/0004-speaker-via-audio-graph-card.patch
  • board/coolpi-cm5-genbook/0005-USB-C-PD-via-FUSB302.patch
  • board/coolpi-cm5-genbook/0008-lid-switch-USB3-PHY.patch
  • board/coolpi-cm5-genbook/0011-wire-internal-microphone.patch
  • driver/media/0001-rkvdec-vp9-rename-get_ref_buf.patch (Sarma)
  • driver/media/0002-rkvdec-move-vp9-to-common.patch (Sarma)
  • driver/media/0003-rkvdec-vp9-vdpu381.patch (Sarma)

Identical content + apply order to what ka-promote ampere produces as cumulative.patch (manifest.lock b2sum: ecd17897f70ee637...).

Verification before PR

Hand-built equivalent (kernel 7.0.0-rc3-vp9-test+) was running on ampere when these decode checks ran:

  • VP9: bit-exact HW==SW==libva on bbb_60s_720p.vp9.webm at -ss 30, sha c8624d7c42db66525f53a02a515bc38d0a17ef39f692660cc7bebb1e2d2e1b48
  • AV1: bit-exact HW==SW via kdirect on bbb_30s_720p.av1.webm at -ss 5, sha 30d2091158d92f3c5e0a807217c3e7307f873267673d92632e7fb147383e7dd1
  • VP9F + AV1F enumerated by libva (VAProfileVP9Profile0 + VAProfileAV1Profile0)

Why no CI build

linux-ampere-fourier has no entry in .gitea/workflows/build.yml — its prebuild.sh requires $LINUX_RK3588_MARFRIT_TREE (default ~/src/linux-rockchip) on the build host, which CI runners don't have. Build happens on ampere (or boltzmann) natively; the package is published via marfrit-publish after the local build verifies.

Will mark ready-to-merge once:

  1. ampere-native makepkg completes (~60-90 min, in flight as of PR open)
  2. .pkg.tar.xz installs cleanly via pacman -U on ampere
  3. Reboot into the package's linux-ampere-fourier extlinux label boots successfully
  4. AV1 + VP9 decode re-verified from the packaged kernel

🤖 Generated with Claude Code

Bumps linux-ampere-fourier to **kafr2**: drops the f8f3ad9 baseline (which black-screens ampere per `fleet/ampere.yaml` bisect note) in favor of the kernel-agent-managed 10-patch set from `fleet/ampere.yaml`. ## Baseline change | Aspect | kafr1 (prior) | **kafr2** (this PR) | |---|---|---| | _commit | f8f3ad9 (linux-rk3588-marfrit tip, 18 commits ahead of v7.0-rc3) | 48a8c78 (v7.0-rc3 + 10 manifest patches) | | Boot status on ampere | **black-screens** | ✓ (verified hand-built tip 2026-05-18) | | VP9 decode on rkvdec/VDPU381 | not present | ✓ bit-exact (Sarma's v8 series) | | AV1 decode on av1-vpu-dec | already mainline | ✓ bit-exact via kdirect | | H.264 + HEVC | works | works (unchanged) | ## Patch set (exactly mirrors `fleet/ampere.yaml` manifest) 10 patches between v7.0-rc3 and tip 48a8c78: - `soc/rockchip/rk3588/0001-pwm15-pinctrl-entries.patch` - `board/coolpi-cm5-genbook/0002-pwm-fan.patch` - `module/coolpi-cm5/0003-RK806-system-power-controller.patch` - `board/coolpi-cm5-genbook/0004-speaker-via-audio-graph-card.patch` - `board/coolpi-cm5-genbook/0005-USB-C-PD-via-FUSB302.patch` - `board/coolpi-cm5-genbook/0008-lid-switch-USB3-PHY.patch` - `board/coolpi-cm5-genbook/0011-wire-internal-microphone.patch` - `driver/media/0001-rkvdec-vp9-rename-get_ref_buf.patch` (Sarma) - `driver/media/0002-rkvdec-move-vp9-to-common.patch` (Sarma) - `driver/media/0003-rkvdec-vp9-vdpu381.patch` (Sarma) Identical content + apply order to what `ka-promote ampere` produces as cumulative.patch (manifest.lock b2sum: `ecd17897f70ee637...`). ## Verification before PR Hand-built equivalent (kernel `7.0.0-rc3-vp9-test+`) was running on ampere when these decode checks ran: - VP9: bit-exact HW==SW==libva on bbb_60s_720p.vp9.webm at -ss 30, sha `c8624d7c42db66525f53a02a515bc38d0a17ef39f692660cc7bebb1e2d2e1b48` - AV1: bit-exact HW==SW via kdirect on bbb_30s_720p.av1.webm at -ss 5, sha `30d2091158d92f3c5e0a807217c3e7307f873267673d92632e7fb147383e7dd1` - VP9F + AV1F enumerated by libva (VAProfileVP9Profile0 + VAProfileAV1Profile0) ## Why no CI build linux-ampere-fourier has no entry in `.gitea/workflows/build.yml` — its `prebuild.sh` requires `$LINUX_RK3588_MARFRIT_TREE` (default `~/src/linux-rockchip`) on the build host, which CI runners don't have. Build happens on ampere (or boltzmann) natively; the package is published via `marfrit-publish` after the local build verifies. Will mark ready-to-merge once: 1. ampere-native makepkg completes (~60-90 min, in flight as of PR open) 2. .pkg.tar.xz installs cleanly via pacman -U on ampere 3. Reboot into the package's `linux-ampere-fourier` extlinux label boots successfully 4. AV1 + VP9 decode re-verified from the packaged kernel 🤖 Generated with [Claude Code](https://claude.com/claude-code)
claude-noether added 1 commit 2026-05-18 14:04:36 +00:00
Drops the f8f3ad9 baseline ("18 commits ahead, BLACK-SCREENS ampere"
per fleet/ampere.yaml bisect note) in favor of the kernel-agent-
managed 10-patch set produced by ka-promote from fleet/ampere.yaml.

Baseline: mainline v7.0-rc3 (3daa4f5dc6cc), plus the 10 scope-tagged
patches under marfrit/kernel-agent/patches/{soc,module,board,driver}/:
  - 1 soc/rk3588 pwm15 pinctrl
  - 6 board/coolpi-cm5-genbook DTS patches
  - 3 driver/media Sarma VP9-on-VDPU381 patches (PR #24 closure)

New _commit 48a8c78 reflects this tree state in ~/src/linux-rockchip
(branch vp9-build on ampere, exactly v7.0-rc3 + 10 manifest patches).

End-to-end verified before this iteration was cut (hand-build of the
same tip on 2026-05-18 booted ampere via arch_vp9_test extlinux
label):
  - VP9 decode bit-exact HW==SW==libva (sha c8624d7c42db66525f53a02a515bc38d0a17ef39f692660cc7bebb1e2d2e1b48)
  - AV1 decode bit-exact HW==SW via kdirect (sha 30d2091158d92f3c5e0a807217c3e7307f873267673d92632e7fb147383e7dd1, av1-vpu-dec is mainline 7.0)

prebuild.sh canonical sha256 cleared — gzip-version-dependent, the
script warns-not-fails on mismatch. First successful kafr2 build can
pin a canonical sha here if a reproducibility audit ever needs it.

Cross-references:
  - marfrit/kernel-agent#12 (VP9 enablement closure)
  - marfrit/kernel-agent PR #24 (Sarma patch import + ampere.yaml bump)
marfrit merged commit b248aa2ac8 into main 2026-05-18 14:34:58 +00:00
marfrit deleted branch noether/linux-ampere-fourier-kafr2 2026-05-18 14:34:58 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: marfrit/marfrit-packages#27