8e080015d7
Newer Qualcomm SoCs (e.g. SDM845. MSM8953) seem to use a different method to talk to the modem. There are no longer separate rpmsg/SMD channels for QMI messags, instead the modem is also available through QRTR. On these newer SoCs, installing msm-modem-mainline is pointless, because the created /dev/modem device will not actually allow communicating with the modem. However, you still need the part from the base package (msm-modem), which installs+enables rmtfs. To avoid confusion, rename the msm-modem-mainline subpackage to msm-modem-rpmsg. Install only "msm-modem" on SDM845 because that likely does not allow communication with the modem through RPMSG anyway.
22 lines
577 B
Text
22 lines
577 B
Text
# Maintainer: Caleb Connolly (kalube) <caleb@connolly.tech>
|
|
pkgname=soc-qcom-sdm845
|
|
pkgdesc="Common package for Qualcomm SDM845 devices"
|
|
pkgver=1
|
|
pkgrel=1
|
|
url="https://postmarketos.org"
|
|
license="BSD-3-Clause"
|
|
arch="aarch64"
|
|
options="!check !archcheck !tracedeps"
|
|
depends="mesa-dri-gallium"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir"
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Modem, WiFi and GPU Firmware"
|
|
depends="pd-mapper pd-mapper-openrc tqftpserv tqftpserv-openrc msm-modem"
|
|
install="$subpkgname.post-install"
|
|
mkdir "$subpkgdir"
|
|
}
|