device-fairphone-fp2: add gpu flag and sim fix (MR 3158)

GPU has been supported for a while in the mainline-ish kernel, so let
pmbootstrap show UIs like Phosh.

And msm-modem-uim-selection will setup the modem well enough so at least
the primary SIM should work out of the box.

[ci:skip-build] already built successfully in CI
This commit is contained in:
Luca Weiss 2022-05-25 21:31:10 +02:00 committed by Clayton Craft
parent 84b83ddf83
commit 9a18e34f33
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
2 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-fairphone-fp2
pkgdesc="Fairphone 2"
pkgver=4
pkgver=5
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@ -64,7 +64,7 @@ downstream_firmware() {
mainline_firmware() {
pkgdesc="Firmware support packages for mainline kernel"
depends="msm-modem firmware-qcom-adreno-a330"
depends="msm-modem msm-modem-uim-selection firmware-qcom-adreno-a330"
install_if="$pkgname-kernel-mainline $pkgname-nonfree-firmware"
mkdir "$subpkgdir"
@ -87,7 +87,7 @@ phosh() {
}
sha512sums="
9c069d0f1076498df7d5d8f1a861b9d53c6b49e69575466c269df70130c51a9f45b1f9371f8e5182e11ed2d408af6c6bd3a9a353a3650efc93a47242f12c2bde deviceinfo
d18aba816d5f825cb221010c1f7cb762a0cf5d184da4ee00ba073312e719eaf086db04eadbdcde731e6314bb81ca06ca8971c066c6d8f47718f6e62c95661cb1 deviceinfo
55360b1ba4ddadea341c9edb13c32ba5f19aabf75ab28602f30cfb79b9df8834f115ef979c70569f23ec1293b1fcd408baf320d87803293ce7106bdc73a26c9f FP2.conf
b834461c6866bb0c473dd089dd5da641dd42a00f610aad6503117aa50fe6e200db9ad0a264bb609f12350d59faee1f772907bacd75439f702ea7d52f6f85e2b1 hifi
cef2fd633cddbcf4ac9b4d2fa6bf3a1e3e8d810a2ea8050767fe649d289db753662821d5e41e2c8d20fb9c765c1babcb6a4d95e4c9345f5ea32d1b1d2b1e5126 phoc.ini

View file

@ -20,6 +20,7 @@ deviceinfo_screen_height="1920"
deviceinfo_getty_downstream="ttyHSL0;115200"
deviceinfo_getty_mainline="ttyMSM0;115200"
deviceinfo_mesa_driver_mainline="msm"
deviceinfo_gpu_accelerated="true"
# Bootloader related
deviceinfo_flash_method="fastboot"