google-sargo: add adsp pd firmware (MR 4203)

The ADSP needs this firmware, otherwise audio bringup will fail. It
wasn't added with initial ADSP support, so add it now.

Also remove execute permissions from the installed firmware.
This commit is contained in:
Richard Acayan
2023-07-28 13:56:11 +02:00
committed by Pablo Correa Gómez
parent 2b7b2ed090
commit 301baea0ae
+11 -7
View File
@@ -1,7 +1,7 @@
# Maintainer: Richard Acayan <mailingradian@gmail.com>
pkgname=firmware-google-sargo
pkgver=220505.008
pkgrel=2
pkgrel=3
pkgdesc="Proprietary firmware blobs from the Google Pixel 3a factory image"
url="https://github.com/TheMuppets/proprietary_vendor_google_sargo"
arch="aarch64"
@@ -18,18 +18,22 @@ build() {
}
package() {
install -Dm755 "$builddir"/a615_zap.mbn \
install -Dm644 "$builddir"/a615_zap.mbn \
"$pkgdir"/lib/firmware/qcom/sdm670/sargo/a615_zap.mbn
install -Dm755 "$builddir"/ipa_fws.mbn \
install -Dm644 "$builddir"/ipa_fws.mbn \
"$pkgdir"/lib/firmware/qcom/sdm670/sargo/ipa_fws.mbn
install -Dm755 "$builddir"/proprietary/vendor/firmware/adsp.mbn \
install -Dm644 "$builddir"/proprietary/vendor/firmware/adsp.mbn \
"$pkgdir"/lib/firmware/qcom/sdm670/sargo/adsp.mbn
install -Dm755 "$builddir"/proprietary/vendor/firmware/modemuw.jsn \
install -Dm644 "$builddir"/proprietary/vendor/firmware/adspr.jsn \
"$pkgdir"/lib/firmware/qcom/sdm670/sargo/adspr.jsn
install -Dm644 "$builddir"/proprietary/vendor/firmware/adspua.jsn \
"$pkgdir"/lib/firmware/qcom/sdm670/sargo/adspua.jsn
install -Dm644 "$builddir"/proprietary/vendor/firmware/modemuw.jsn \
"$pkgdir"/lib/firmware/postmarketos/modemuw.jsn
install -Dm755 "$builddir"/proprietary/vendor/firmware/venus.mbn \
install -Dm644 "$builddir"/proprietary/vendor/firmware/venus.mbn \
"$pkgdir"/lib/firmware/qcom/sdm670/sargo/venus.mbn
install -Dm755 "$builddir"/proprietary/vendor/firmware/wlanmdsp.mbn \
install -Dm644 "$builddir"/proprietary/vendor/firmware/wlanmdsp.mbn \
"$pkgdir"/lib/firmware/postmarketos/wlanmdsp.mbn
}