From c72ed66a27d0107a024c3825cc22d987081beaac Mon Sep 17 00:00:00 2001 From: Minecrell Date: Tue, 19 Oct 2021 10:28:29 +0200 Subject: [PATCH] : use separate firmware packages (MR 2619) Rule A: Devices without secure boot need: 1. GPU firmware (firmware-qcom-adreno-a300) 2. msm-firmware-loader (for modem) 3. firmware-qcom-msm8916-wcnss: more recent wcnss firmware 4. device-specific -wcnss-nv firmware 5. firmware-qcom-msm8916-venus: some packaged venus firmware --- device/community/device-bq-paella/APKBUILD | 9 +++++---- device/community/device-lenovo-a6000/APKBUILD | 8 +++++--- device/community/device-lenovo-a6010/APKBUILD | 8 +++++--- device/community/device-xiaomi-wt88047/APKBUILD | 10 ++++++---- device/testing/device-lg-m216/APKBUILD | 8 +++++--- 5 files changed, 26 insertions(+), 17 deletions(-) diff --git a/device/community/device-bq-paella/APKBUILD b/device/community/device-bq-paella/APKBUILD index 06fce9bd9..e4691abed 100644 --- a/device/community/device-bq-paella/APKBUILD +++ b/device/community/device-bq-paella/APKBUILD @@ -3,7 +3,7 @@ # Co-Maintainer: Minecrell pkgname=device-bq-paella pkgdesc="BQ Aquaris X5" -pkgver=4 +pkgver=5 pkgrel=0 url="https://postmarketos.org" license="MIT" @@ -39,9 +39,10 @@ kernel_mainline_modem() { } nonfree_firmware() { - pkgdesc="GPU/WiFi/BT/Video(/Modem) firmware" - depends="linux-firmware-qcom msm-firmware-loader - firmware-qcom-msm8916-wcnss firmware-bq-picmt-wcnss-nv" + pkgdesc="GPU/WiFi/BT/Modem/Video firmware" + depends="firmware-qcom-adreno-a300 msm-firmware-loader + firmware-qcom-msm8916-wcnss firmware-bq-picmt-wcnss-nv + firmware-qcom-msm8916-venus" mkdir "$subpkgdir" } diff --git a/device/community/device-lenovo-a6000/APKBUILD b/device/community/device-lenovo-a6000/APKBUILD index 7d3386c2b..c70bd7224 100644 --- a/device/community/device-lenovo-a6000/APKBUILD +++ b/device/community/device-lenovo-a6000/APKBUILD @@ -3,7 +3,7 @@ # Co-Maintainer: Minecrell pkgname=device-lenovo-a6000 pkgdesc="Lenovo A6000" -pkgver=3 +pkgver=4 pkgrel=0 url="https://postmarketos.org" license="MIT" @@ -40,8 +40,10 @@ kernel_mainline_modem() { } nonfree_firmware() { - pkgdesc="GPU/WiFi/BT/Video(/Modem) firmware" - depends="linux-firmware-qcom msm-firmware-loader firmware-qcom-msm8916-wcnss firmware-lenovo-a6000-wcnss-nv" + pkgdesc="GPU/WiFi/BT/Modem/Video firmware" + depends="firmware-qcom-adreno-a300 msm-firmware-loader + firmware-qcom-msm8916-wcnss firmware-lenovo-a6000-wcnss-nv + firmware-qcom-msm8916-venus" mkdir "$subpkgdir" } diff --git a/device/community/device-lenovo-a6010/APKBUILD b/device/community/device-lenovo-a6010/APKBUILD index a9fef1ac7..9179dbf6c 100644 --- a/device/community/device-lenovo-a6010/APKBUILD +++ b/device/community/device-lenovo-a6010/APKBUILD @@ -3,7 +3,7 @@ # Co-Maintainer: Minecrell pkgname=device-lenovo-a6010 pkgdesc="Lenovo A6010" -pkgver=3 +pkgver=4 pkgrel=0 url="https://postmarketos.org" license="MIT" @@ -40,8 +40,10 @@ kernel_mainline_modem() { } nonfree_firmware() { - pkgdesc="GPU/WiFi/BT/Video(/Modem) firmware" - depends="linux-firmware-qcom msm-firmware-loader firmware-qcom-msm8916-wcnss firmware-lenovo-a6010-wcnss-nv" + pkgdesc="GPU/WiFi/BT/Modem/Video firmware" + depends="firmware-qcom-adreno-a300 msm-firmware-loader + firmware-qcom-msm8916-wcnss firmware-lenovo-a6010-wcnss-nv + firmware-qcom-msm8916-venus" mkdir "$subpkgdir" } diff --git a/device/community/device-xiaomi-wt88047/APKBUILD b/device/community/device-xiaomi-wt88047/APKBUILD index b3b21931d..a7213ac7d 100644 --- a/device/community/device-xiaomi-wt88047/APKBUILD +++ b/device/community/device-xiaomi-wt88047/APKBUILD @@ -2,8 +2,8 @@ # Maintainer: Minecrell pkgname=device-xiaomi-wt88047 pkgdesc="Xiaomi Redmi 2" -pkgver=5 -pkgrel=1 +pkgver=6 +pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" @@ -40,8 +40,10 @@ kernel_mainline_modem() { } nonfree_firmware() { - pkgdesc="GPU/WiFi/BT/Video(/Modem) firmware" - depends="linux-firmware-qcom msm-firmware-loader firmware-qcom-msm8916-wcnss firmware-xiaomi-wt88047-wcnss-nv" + pkgdesc="GPU/WiFi/BT/Modem/Video firmware" + depends="firmware-qcom-adreno-a300 msm-firmware-loader + firmware-qcom-msm8916-wcnss firmware-xiaomi-wt88047-wcnss-nv + firmware-qcom-msm8916-venus" mkdir "$subpkgdir" } diff --git a/device/testing/device-lg-m216/APKBUILD b/device/testing/device-lg-m216/APKBUILD index c45786e5a..2de8d65d7 100644 --- a/device/testing/device-lg-m216/APKBUILD +++ b/device/testing/device-lg-m216/APKBUILD @@ -1,7 +1,7 @@ # Reference: pkgname=device-lg-m216 pkgdesc="LG K10 (m216)" -pkgver=4 +pkgver=5 pkgrel=0 url="https://postmarketos.org" license="MIT" @@ -37,8 +37,10 @@ kernel_mainline_modem() { } nonfree_firmware() { - pkgdesc="GPU/WiFi/BT/Video(/Modem) firmware" - depends="linux-firmware-qcom msm-firmware-loader firmware-qcom-msm8916-wcnss firmware-lg-m216-wcnss-nv" + pkgdesc="GPU/WiFi/BT/Modem/Video firmware" + depends="firmware-qcom-adreno-a300 msm-firmware-loader + firmware-qcom-msm8916-wcnss firmware-lg-m216-wcnss-nv + firmware-qcom-msm8916-venus" mkdir "$subpkgdir" }