aports: add soc-fairphone-fp6-audio (topology, amp config, UCM)

Files copied byte-identical from the tested dev phone; installed to the
exact deployed paths (the spaced tplg/UCM filenames come from the machine
driver's card name). Wired into the image via extra_packages.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Jorijn van der Graaf 2026-08-08 20:48:28 +02:00
commit 719a10a997
7 changed files with 141 additions and 3 deletions

View file

@ -0,0 +1,38 @@
# Audio userspace files for the Fairphone 6 that no upstream package ships
# yet: the AudioReach topology (built from Catcrafts/audioreach-topology
# branch fp6), the AW88261 amp config blob, and the UCM profile. Files are
# byte-identical to the ones deployed and tested on the development FP6.
# The tplg/UCM target filenames contain spaces, hence the safe source names.
maintainer="Jorijn van der Graaf <jorijnvdgraaf@catcrafts.net>"
pkgname=soc-fairphone-fp6-audio
pkgver=1
pkgrel=0
pkgdesc="Fairphone 6 audio topology, amp firmware and UCM profile"
url="https://forgejo.catcrafts.net/Catcrafts/audioreach-topology"
arch="noarch"
license="BSD-3-Clause"
options="!check"
source="
fp6-tplg.bin
aw88261_acf.bin
ucm-milos-fp6.conf
HiFi.conf
"
package() {
install -Dm644 "$srcdir"/fp6-tplg.bin \
"$pkgdir/usr/lib/firmware/qcom/milos/Fairphone (Gen. 6)-tplg.bin"
install -Dm644 "$srcdir"/aw88261_acf.bin \
"$pkgdir"/usr/lib/firmware/qcom/milos/fairphone/fp6/aw88261_acf.bin
install -Dm644 "$srcdir"/ucm-milos-fp6.conf \
"$pkgdir/usr/share/alsa/ucm2/conf.d/milos/Fairphone (Gen. 6).conf"
install -Dm644 "$srcdir"/HiFi.conf \
"$pkgdir"/usr/share/alsa/ucm2/Fairphone/fp6/HiFi.conf
}
sha512sums="
51071c574b9f5899c78ba9fe1b6f3bbda2195e6d274014a05869ae56ed0ff18e15678bd7d78cd68846900d3c579556328e229842152cffd943186d43344ed33c fp6-tplg.bin
a84b0595ae71b0bb594034a9f5fd77b984c9086cd917f32524c4b5172bc72a426e5d188d18dbccdb587f66d60fa15cad441fffcd48a3a1ce66335199b61e0350 aw88261_acf.bin
3bb268f9fcb8d1c0b42741b67da42b6361bab259e7211d9930919995ebe7dcf67826e6d4f00ff5e4fe5b52067fe90d00212158c3b4879d1bee481e87f0623206 ucm-milos-fp6.conf
2a189c3141fedc43f8eb19f4df1e43487223d524e27da3f948556d224cca1f493f6815ada191953fb79a19d5c5abadb21de7b3ece7b74b0929338c216e21e84a HiFi.conf
"