testing/device-oneplus-oneplus3t: add oneplus3t with s6e3fa5 panel (MR 3330)

Add support for multiple panels using kernel variants
This commit is contained in:
Martin Lillepuu 2022-07-31 23:50:04 +03:00 committed by Caleb Connolly
parent c534e4010c
commit 9de9244812
No known key found for this signature in database
GPG key ID: 0583312B195F64B6
2 changed files with 24 additions and 7 deletions

View file

@ -1,16 +1,18 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-oneplus-oneplus3t
pkgdesc="OnePlus 3T"
pkgver=1
pkgrel=9
pkgver=1.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-kernel-s6e3fa3:kernel_s6e3fa3
$pkgname-kernel-s6e3fa5:kernel_s6e3fa5
"
depends="
postmarketos-base
linux-postmarketos-qcom-msm8996
mkbootimg
soc-qcom-msm8996
reboot-mode
@ -36,6 +38,19 @@ nonfree_firmware() {
"
mkdir "$subpkgdir"
}
kernel_s6e3fa3() {
pkgdesc="Samsung S6E3FA3 Panel. To find out which panel your device uses run cat /proc/cmdline in TWRP terminal"
depends="linux-postmarketos-qcom-msm8996"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_s6e3fa5() {
pkgdesc="Samsung S6E3FA5 Panel. To find out which panel your device uses run cat /proc/cmdline in TWRP terminal"
depends="linux-postmarketos-qcom-msm8996"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
sha512sums="
facdd94cdeebcabfcaa3aa06ecd7f0b3d573352afd1673c60e4598bbd1aa2889c04ccd5b319efdc5638acbb051a8871ff20fe4b22db087d05a9d266cc86d406f deviceinfo
cb5d3f287303d509dfa3db9c54a94b1cd49bfc7c113dc16e1caa3889bb78c97bcbe9f6aefab3191853150a5806846ee8ced497c0aed9d2a70faf257068b9cc4b deviceinfo
"

View file

@ -7,8 +7,10 @@ deviceinfo_manufacturer="OnePlus"
deviceinfo_codename="oneplus-oneplus3t"
deviceinfo_year="2016"
deviceinfo_append_dtb="true"
deviceinfo_dtb="qcom/msm8996pro-oneplus3t"
deviceinfo_modules_initfs="panel_samsung_s6e3fa3 msm"
deviceinfo_dtb_s6e3fa3="qcom/msm8996pro-oneplus3t-s6e3fa3"
deviceinfo_dtb_s6e3fa5="qcom/msm8996pro-oneplus3t-s6e3fa5"
deviceinfo_modules_initfs_s6e3fa3="panel_samsung_s6e3fa3 msm"
deviceinfo_modules_initfs_s6e3fa5="panel_samsung_s6e3fa5 msm"
deviceinfo_arch="aarch64"
# Device related