device-samsung-klte: enable modem functionality (MR 2324)

This commit is contained in:
Alexey Minnekhanov 2021-07-07 11:48:49 +03:00
parent 02a76c1f1b
commit e83df11200
No known key found for this signature in database
GPG key ID: EBF5ECFFFEE34DED
2 changed files with 12 additions and 5 deletions

View file

@ -1,7 +1,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-klte
pkgdesc="Samsung Galaxy S5 (G900F)"
pkgver=0.5
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@ -33,7 +33,14 @@ package() {
nonfree_firmware() {
pkgdesc="GPU, Wi-Fi, Bluetooth firmware"
depends="firmware-adreno firmware-samsung-klte-bt firmware-samsung-klte-wifi"
depends="
firmware-adreno
firmware-samsung-klte-bt
firmware-samsung-klte-wifi
firmware-samsung-klte-modem
msm-modem-rpmsg
"
mkdir "$subpkgdir"
# This config makes sense only if non-free firmware is installed
install -Dm644 "$srcdir"/bt-module-deps.conf \
@ -42,5 +49,5 @@ nonfree_firmware() {
sha512sums="
6cef5f8ae1785ac16e6fe84bfc861ac50cdfb94db35d764f44a25c960e123cb82f6e56f45362a5340c62a3d5ac225f2689afd4f6964cb88305a0892ba44214f0 bt-module-deps.conf
960a429cce47bf53f578fef6a52066cab2f35649284c925fc18de8c7f31f4215fd315a96b216b6194afcbd94a14c758490d9da3e26f0a47c37811b47450f664e deviceinfo
6296b7a3be89ed90ab4317a087460bbee17ad75b335a8ad900aa25769808c5aba76ba170ac46086f57ec64fab281ac5bf73ccf00cbcfb283dc251da9f59bb746 deviceinfo
"

View file

@ -8,7 +8,7 @@ deviceinfo_codename="samsung-klte"
deviceinfo_year="2014"
deviceinfo_dtb="qcom-msm8974-samsung-klte"
deviceinfo_append_dtb="true"
deviceinfo_modules_initfs="pm8941_pwrkey rmi_i2c"
deviceinfo_modules_initfs="pm8941_pwrkey rmi_core rmi_i2c"
deviceinfo_arch="armv7"
# Device related
@ -21,7 +21,7 @@ deviceinfo_getty="ttyMSM0;115200"
# Bootloader related
deviceinfo_flash_method="heimdall-bootimg"
deviceinfo_kernel_cmdline="console=ttyMSM0,115200,n8 PMOS_NO_OUTPUT_REDIRECT msm.vram=192m msm.allow_vram_carveout=1"
deviceinfo_kernel_cmdline="console=ttyMSM0,115200,n8 msm.vram=192m msm.allow_vram_carveout=1 PMOS_NO_OUTPUT_REDIRECT"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_append_seandroidenforce="true"