fairphone-fp3: update firmware packages, mainline config (MR 2957)

This commit is contained in:
Luca Weiss 2021-10-25 18:17:23 +02:00 committed by Oliver Smith
parent b3c01c4b80
commit 3d210e851c
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 15 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# Reference: <https://postmarketos.org/devicepkg> # Reference: <https://postmarketos.org/devicepkg>
pkgname=device-fairphone-fp3 pkgname=device-fairphone-fp3
pkgdesc="Fairphone 3" pkgdesc="Fairphone 3"
pkgver=0.2 pkgver=0.3
pkgrel=0 pkgrel=0
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
@ -16,6 +16,7 @@ depends="
makedepends="devicepkg-dev" makedepends="devicepkg-dev"
source="deviceinfo" source="deviceinfo"
subpackages=" subpackages="
$pkgname-downstream-firmware:downstream_firmware
$pkgname-kernel-downstream:kernel_downstream $pkgname-kernel-downstream:kernel_downstream
$pkgname-nonfree-firmware:nonfree_firmware $pkgname-nonfree-firmware:nonfree_firmware
" "
@ -36,10 +37,19 @@ kernel_downstream() {
nonfree_firmware() { nonfree_firmware() {
pkgdesc="Firmware for WiFi, Audio, etc." pkgdesc="Firmware for WiFi, Audio, etc."
depends="firmware-fairphone-fp3-wcnss" mkdir "$subpkgdir"
}
downstream_firmware() {
pkgdesc="Firmware support packages for downstream kernel"
depends="
firmware-fairphone-fp3-wcnss
wcnss-wlan
"
install_if="$pkgname-kernel-downstream $pkgname-nonfree-firmware"
mkdir "$subpkgdir" mkdir "$subpkgdir"
} }
sha512sums=" sha512sums="
00d37e819f984e15ead280b398e58b19e6302ff6d5486e9b536a62175a620bb434f3a036a15ac3f02a3b835baf352869ad0367e31cd5f549cee86aa62234300d deviceinfo 5bee43115c36455fc9f1a6be2107420ccaf94b0c0bdef136fad2af5d6e4545965958a13ba1bbcbf3ef027e0da3cb5f16224b543ebd451a4ebc23e3b102322396 deviceinfo
" "

View file

@ -8,7 +8,7 @@ deviceinfo_manufacturer="Fairphone"
deviceinfo_codename="fairphone-fp3" deviceinfo_codename="fairphone-fp3"
deviceinfo_year="2019" deviceinfo_year="2019"
deviceinfo_dtb_mainline="qcom/sdm632-fairphone-fp3" deviceinfo_dtb_mainline="qcom/sdm632-fairphone-fp3"
deviceinfo_append_dtb_mainline="false" deviceinfo_append_dtb_mainline="true"
deviceinfo_arch="aarch64" deviceinfo_arch="aarch64"
# Device related # Device related
@ -18,6 +18,7 @@ deviceinfo_external_storage="true"
deviceinfo_screen_width="1080" deviceinfo_screen_width="1080"
deviceinfo_screen_height="2160" deviceinfo_screen_height="2160"
deviceinfo_getty="ttyMSM0;115200" deviceinfo_getty="ttyMSM0;115200"
deviceinfo_gpu_accelerated_mainline="true"
# Bootloader related # Bootloader related
deviceinfo_flash_method="fastboot" deviceinfo_flash_method="fastboot"