95be39ef80
Reference the 3 patches imported in the previous commit under the scope-tagged patch list. Apply order is strict (0001 → 0002 → 0003). Verified 2026-05-18 via the arch_vp9_test extlinux boot on ampere: - VP9F enumerates on rkvdec /dev/video2 - kdirect decode bit-exact vs libavcodec SW reference at -ss 30 - libva decode (firefox/chromium-style consumer) also bit-exact - vainfo lists VAProfileVP9Profile0 (iter38 multi-device probe auto-picks) - All three paths agree on sha c8624d7c42db66525f53a02a515bc38d0a17ef39f692660cc7bebb1e2d2e1b48 Removes VP9 from the "explicitly not included" comment block — issue #12 closes with this change. Also: AV1 stays out-of-scope per issue #6 ask 3 (kernel side fine via the existing av1-vpu-dec node; backend just needs the 4th-fd generalization tracked in libva-v4l2-request-fourier#2). The next linux-ampere-fourier package rebuild from this manifest will pick up VP9 automatically; ampere's running 7.0.0-rc3-vp9-test+ kernel already has these patches via the operator's manual build session today.
120 lines
6.2 KiB
YAML
120 lines
6.2 KiB
YAML
# kernel-agent manifest for ampere (CoolPi GenBook / Rockchip RK3588)
|
|
#
|
|
# Status: bootstrap. ka-promote / ka-build / ka-install CLI not yet
|
|
# implemented; the canonical patch set + baseline below is the input
|
|
# for the manual flow that produces linux-ampere-fourier (same shape
|
|
# as fresnel's bootstrap reference build).
|
|
#
|
|
# Asks #2 (VP9 enablement on RK3588 rkvdec) and #3 (AV1 dec integration)
|
|
# from kernel-agent issue #6 are NOT addressed in this manifest —
|
|
# tracked separately for a follow-up sprint.
|
|
|
|
host: ampere
|
|
arch: arm64
|
|
soc: rockchip/rk3588
|
|
module: coolpi-cm5
|
|
board: coolpi-cm5-genbook
|
|
distro: archlinux-arm
|
|
|
|
baseline:
|
|
tree: torvalds/linux
|
|
url: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
|
|
ref: v7.0-rc3
|
|
upstream_compat: linux-7.0-rc3
|
|
|
|
# 2026-05-16 bisect note: the linux-rk3588-marfrit branch tip @ f8f3ad9
|
|
# (18 commits ahead of v7.0-rc3) BLACK-SCREENS ampere — connector
|
|
# reports connected/enabled/dpms On + SDDM starts + backlight on, but
|
|
# panel shows no pixels. Decomposing the suspend/resume patch (0010
|
|
# family) into 5 atomic sub-commits and reverting all 5 did NOT recover
|
|
# display (test-arch-plus-pcie3 branch). The 6 patches listed below
|
|
# applied on top of v7.0-rc3 directly DO boot with working display
|
|
# (ampere-minimal-devices branch @ 7c241f2). Regression source is in
|
|
# one of the remaining 12 commits in f8f3ad9 — top suspect:
|
|
# 55d1b3dcc05e "clk: rockchip: rk3588: Drop CLK_SET_RATE_PARENT from
|
|
# DCLK_VOP2_SRC" (touches display controller clock parent rate). Other
|
|
# excluded commits: Shawn Lin pcie3 phy series, Cristian Ciocaltea
|
|
# clk/dts/dw-dp fixes, Sebastian Reichel hdmirx Rock 5 ITX, Pedro Alves
|
|
# btrtl, and the suspend/resume patch 0010 family. Bisect campaign
|
|
# separately.
|
|
#
|
|
# Branch ampere-minimal-devices on git.reauktion.de/marfrit/linux-rk3588-marfrit
|
|
# is the verified-working tip if you want a ready-to-fetch ref instead
|
|
# of patches-on-mainline.
|
|
|
|
# Scope-tagged patch includes. Resolve to patches/<scope>/<file>.patch.
|
|
# Apply order matters: pwm15 pinctrl (soc) must precede the genbook
|
|
# pwm-fan node consumer.
|
|
includes:
|
|
- soc/rockchip/rk3588/0001-arm64-dts-rockchip-rk3588-Add-pwm15-pinctrl-entries.patch
|
|
- board/coolpi-cm5-genbook/0002-arm64-dts-rockchip-rk3588-coolpi-cm5-genbook-Add-pwm-fan.patch
|
|
- module/coolpi-cm5/0003-arm64-dts-rockchip-rk3588-coolpi-cm5-Fix-power-off-by-enabling-RK806-as-system-power-controller.patch
|
|
- board/coolpi-cm5-genbook/0004-arm64-dts-rockchip-rk3588-coolpi-cm5-genbook-Enable-speaker-output-via-audio-graph-card.patch
|
|
- board/coolpi-cm5-genbook/0005-arm64-dts-rockchip-rk3588-coolpi-cm5-genbook-Enable-USB-C-PD-charging-via-FUSB302.patch
|
|
- board/coolpi-cm5-genbook/0008-arm64-dts-rockchip-rk3588-coolpi-cm5-genbook-Add-lid-switch-and-USB3-PHY-lane-config.patch
|
|
- board/coolpi-cm5-genbook/0011-arm64-dts-rockchip-rk3588-coolpi-cm5-genbook-wire-internal-microphone.patch
|
|
# VP9 enablement for RK3588 rkvdec (issue #12, closed 2026-05-18).
|
|
# Cherry-picked from D.V.A.B. Sarma's add-rkvdec-vdpu381-vp9-v8 branch
|
|
# at github.com/dvab-sarma/android_kernel_rk_opi. Bit-exact HW==SW==libva
|
|
# verified at -ss 30 on bbb_60s_720p.vp9.webm via all three decode paths
|
|
# (kdirect / SW / libva); sha c8624d7c42db66525f53a02a515bc38d0a17ef39f692660cc7bebb1e2d2e1b48.
|
|
# Apply order is STRICT (0003 depends on the rkvdec-vp9-common refactor
|
|
# added in 0002, which depends on the helper rename in 0001).
|
|
# See patches/driver/media/README.md for provenance + removal criteria.
|
|
- driver/media/0001-rkvdec-vp9-rename-get_ref_buf-to-get_ref_buf_vp9.patch
|
|
- driver/media/0002-rkvdec-move-vp9-functions-to-common-file.patch
|
|
- driver/media/0003-rkvdec-add-vp9-support-for-vdpu381-variant.patch
|
|
|
|
# Explicitly NOT included this round (tracked for later sprints):
|
|
# - AV1 decoder integration (issue #6 ask 3). Kernel side is fine
|
|
# (/dev/video4 advertises AV1F). Backend libva-v4l2-request-fourier
|
|
# needs iter39 for a third fd. Backend work, not kernel.
|
|
# - misc_patches/genbook/kernel/0006 (arm64 Kconfig: do not select
|
|
# HAVE_GCC_PLUGINS). Local-only build-config; not for upstream and
|
|
# possibly redundant with the linux-rk3588-marfrit branch already.
|
|
# - misc_patches/genbook/kernel/0009 (Bluetooth btrtl RTL_SEC_PROJ
|
|
# non-fatal). Different subsystem; promote under driver/bluetooth/
|
|
# when a campaign demands.
|
|
# - misc_patches/genbook/kernel/0010 (multi-driver suspend/wakeup fix).
|
|
# Promote under soc/rockchip/rk3588/ or split per affected driver
|
|
# once the RockHard campaign decides the upstream-targeting shape.
|
|
|
|
config:
|
|
source: /proc/config.gz on running ampere kernel (7.0.0-rc3-ARCH+, hand-managed before this bootstrap)
|
|
strategy: snapshot, fold to baseline, accept-new with rationale on diff
|
|
|
|
package:
|
|
name: linux-ampere-fourier
|
|
versioning: "${baseline_ref}.kafr${pkgrel}" # 7.0.rc3.kafr1 etc.
|
|
install_mode: alongside
|
|
conflicts: []
|
|
provides: []
|
|
kernel_suffix: -ampere-fourier # /boot/firmware/Image-7.0.0-rc3-ampere-fourier
|
|
bootloader: extlinux
|
|
bootloader_path: /boot/firmware/extlinux/extlinux.conf # vfat partition on mmcblk0p1
|
|
boot_path: /boot/firmware/ # vfat, 1.5G, ~1G free
|
|
# ampere boots from a separate FAT partition (mmcblk0p1), unlike fresnel which
|
|
# uses the root partition's /boot/. The extlinux-add hook needs to write to
|
|
# /boot/firmware/extlinux/extlinux.conf, not /boot/extlinux/.
|
|
|
|
verify:
|
|
bar1_ssh_heartbeat: required
|
|
bar2_pkg_version: required
|
|
bar3_dtb_match:
|
|
- power-off via 'shutdown -h' actually powers down (RK806 system-power-controller wired)
|
|
- pwm15 pinctrl exposes group3-pwm15-m0..m3 entries
|
|
- audio: speakers driven via ES8316 graph (not just headphone)
|
|
bar4_per_patch_probe: opt-in
|
|
bar5_burn_in: skip # laptop, runtime not constant
|
|
|
|
build_host:
|
|
primary: ampere # self-host, 8 cores RK3588, 32 GB RAM, native arch
|
|
secondary: boltzmann # also RK3588 32 GB, kbuild-aarch64 container surrogate
|
|
fallback: fermi # hertz LXD, ALARM aarch64
|
|
# No distcc for kernel-agent builds — native make on the assigned host only.
|
|
# ampere is self-hosting today because boltzmann was busy with userspace
|
|
# builds when the bootstrap ran; either host can take the work.
|
|
|
|
backup:
|
|
pre_install: hertz:/sparfuxdata/kernel-agent-backups/ampere/${replaced_version}/
|