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.
39 lines
904 B
Text
39 lines
904 B
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-oneplus-oneplus3
|
|
pkgdesc="OnePlus 3"
|
|
pkgver=1
|
|
pkgrel=3
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
depends="
|
|
postmarketos-base
|
|
linux-postmarketos-qcom-msm8996
|
|
mkbootimg
|
|
mesa-dri-gallium
|
|
reboot-mode
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="OnePlus 3 nonfree firmware (GPU, modem, sound, camera, sensors)"
|
|
depends="
|
|
linux-firmware-ath10k
|
|
linux-firmware-qca
|
|
firmware-oneplus-oneplus3-op3
|
|
msm-modem-rpmsg
|
|
"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
sha512sums="10a1d2ba145d71dc9d97dd471fe5e0a738a23783d9773e2fa1d1b91c5190c3fb535c0babd1ce3c397908769a55be0819b9f8d6a5167eaf11b76ac6e5511ed70f deviceinfo"
|